:root {
  --slate: #2d3a47;
  --slate-dark: #1e2b38;
  --rust: #c94e0a;
  --rust-dark: #a33e08;
  --ink: #1a2534;
  --muted: #5a6a7c;
  --line: #dce1e8;
  --paper: #ffffff;
  --soft: #f3f5f8;
  --warm: #f7f3ee;
  --night: #131d2b;
  --shadow: 0 20px 50px rgba(19, 29, 43, 0.14);
  --shadow-soft: 0 10px 28px rgba(19, 29, 43, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #f6f7f9;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}

body.nav-open { overflow: hidden; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── HEADER ──────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
  padding: 13px clamp(18px, 3.4vw, 48px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(220, 225, 232, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(120px, 14vw, 180px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.site-nav a {
  padding: 10px 9px;
  color: #2e3c4a;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--rust);
  background: rgba(201, 78, 10, 0.08);
  outline: none;
}

.site-nav .nav-cta {
  margin-left: 6px;
  padding-left: 14px;
  padding-right: 14px;
  color: #fff;
  background: var(--rust);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(201, 78, 10, 0.22);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: #fff;
  background: var(--rust-dark);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

/* ─── HERO ────────────────────────────────────────── */

.hero { background: linear-gradient(180deg, #fff 0%, #f3f5f8 100%); }

.hero-media {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--night);
}

.hero-media > img {
  width: 100%;
  height: clamp(420px, 38vw, 540px);
  object-fit: cover;
  object-position: center 30%;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 20, 30, 0.92) 0%, rgba(13, 20, 30, 0.68) 44%, rgba(13, 20, 30, 0.18) 82%),
    linear-gradient(0deg, rgba(201, 78, 10, 0.28), rgba(201, 78, 10, 0));
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: clamp(28px, 5vw, 80px);
  color: #fff;
}

/* ─── SHARED TYPOGRAPHY ───────────────────────────── */

.eyebrow,
.section-kicker,
.card-label {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-copy .eyebrow { color: rgba(255, 255, 255, 0.82); }

h1, h2, h3 { overflow-wrap: break-word; }

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
}

.hero h1 span { display: block; }

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ─── BUTTONS ─────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  color: #fff;
  background: var(--rust);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--rust-dark);
  outline: none;
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

/* ─── QUICK STRIP ─────────────────────────────────── */

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1180px;
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 clamp(20px, 4vw, 0px);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-strip a,
.quick-strip div {
  min-height: 92px;
  padding: 22px 24px;
  background: #fff;
  border-right: 1px solid var(--line);
}

.quick-strip a:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.quick-strip div:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-right: 0;
}

.quick-strip a:hover { background: #fdf5f2; }

.quick-strip strong {
  display: block;
  color: var(--rust);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quick-strip span {
  display: block;
  margin-top: 7px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
}

/* ─── SECTION SHELL ───────────────────────────────── */

.section {
  padding: clamp(62px, 8vw, 104px) clamp(20px, 4vw, 56px);
}

.section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── ABOUT / ÜBER UNS ────────────────────────────── */

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #fff;
}

.about-section > * {
  max-width: none;
  margin: 0;
}

.about-image {
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
}

.about-image img {
  width: 100%;
  height: clamp(280px, 28vw, 450px);
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.about-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.06;
  max-inline-size: 32ch;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.08rem;
  max-inline-size: 60ch;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-tags span {
  padding: 9px 13px;
  color: var(--slate);
  background: rgba(45, 58, 71, 0.07);
  border: 1px solid rgba(45, 58, 71, 0.16);
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.88rem;
}

/* ─── SERVICES / LEISTUNGEN ───────────────────────── */

.services-band {
  background: linear-gradient(180deg, #141d2b 0%, #1a2638 100%);
  color: #fff;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.06;
  max-inline-size: 38ch;
}

.services-band .eyebrow { color: rgba(255, 140, 80, 0.9); }
.services-band .section-kicker { color: rgba(255, 140, 80, 0.9); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(220, 225, 232, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--soft);
}

.service-card div {
  padding: 24px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  max-inline-size: 46ch;
}

.service-card .card-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(201, 78, 10, 0.09);
  font-size: 0.7rem;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--rust);
  font-weight: 900;
  font-size: 0.92rem;
}

.text-link::after {
  content: "→";
  margin-left: 7px;
}

/* ─── REFERENZEN ──────────────────────────────────── */

.ref-section { background: var(--soft); }

.ref-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.ref-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.2vw, 3.4rem);
  font-weight: 900;
  line-height: 1.06;
  max-inline-size: 28ch;
}

.ref-copy > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 1.06rem;
  max-inline-size: 52ch;
}

.ref-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.ref-list li {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
}

.ref-list li:last-child { border-bottom: 1px solid var(--line); }

.ref-image img {
  width: 100%;
  height: clamp(280px, 27vw, 440px);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  filter: saturate(1.05) contrast(1.02);
}

/* ─── KONTAKT ─────────────────────────────────────── */

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  background: var(--warm);
}

.contact-section > * {
  max-width: none;
  margin: 0;
}

.contact-card,
.map-wrap {
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contact-card {
  padding: clamp(28px, 4vw, 44px);
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  max-inline-size: 24ch;
}

.contact-card > p {
  margin: 0;
  color: var(--muted);
  max-inline-size: 52ch;
}

address {
  margin: 22px 0 20px;
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
}

address strong { color: var(--ink); }

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: block;
  padding: 13px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--slate);
  font-weight: 800;
  font-size: 0.94rem;
  transition: background 0.18s ease;
}

.contact-links a:hover { background: var(--slate-dark); }

.map-wrap {
  min-height: 440px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(19, 29, 43, 0.08);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  filter: saturate(1.05) contrast(1.02);
}

/* ─── FOOTER ──────────────────────────────────────── */

.site-footer {
  padding: 48px clamp(20px, 4vw, 56px);
  background: #111923;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr) minmax(0, 0.75fr);
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-inner img {
  width: 180px;
  padding: 8px;
  background: #fff;
  border-radius: 4px;
}

.footer-inner p {
  margin: 14px 0 0;
  font-size: 0.94rem;
}

.footer-inner nav {
  display: grid;
  align-content: start;
  gap: 8px;
  font-size: 0.94rem;
}

.footer-inner a:hover,
.footer-inner a:focus-visible {
  color: #fff;
  outline: none;
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.88rem;
}

/* ─── LEGAL PAGES ─────────────────────────────────── */

.legal-main {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 4vw, 56px);
  background: var(--soft);
}

.legal-article {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.legal-article h1 {
  margin: 0 0 24px;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.06;
}

.legal-article h2 {
  margin: 38px 0 10px;
  font-size: 1.15rem;
  font-weight: 900;
}

.legal-article p,
.legal-article li {
  color: var(--muted);
}

.legal-article a {
  color: var(--rust);
  font-weight: 800;
}

.legal-back {
  margin-top: 38px;
}

/* ─── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 1100px) {
  .site-header { min-height: 72px; }

  .menu-button {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    white-space: normal;
  }

  .site-nav.is-open {
    display: grid;
    gap: 2px;
  }

  .site-nav a { padding: 13px 12px; }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .quick-strip,
  .services-grid,
  .ref-inner,
  .contact-section,
  .about-section,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .about-section { background: #fff; }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-strip {
    margin-top: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .quick-strip a,
  .quick-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .quick-strip div:last-child { border-bottom: 0; }
  .quick-strip a:first-child { border-radius: 0; }
}

@media (max-width: 720px) {
  .site-header { padding: 12px 16px; }

  .brand img { width: min(150px, 50vw); }

  .hero-media > img { height: 480px; }

  .hero-media::after {
    background: linear-gradient(0deg, rgba(13, 20, 30, 0.88), rgba(13, 20, 30, 0.24));
  }

  .hero-copy {
    justify-content: flex-end;
    padding: 24px 18px 36px;
  }

  .hero h1 { font-size: clamp(2rem, 9vw, 2.4rem); }

  .hero-copy p:not(.eyebrow) {
    font-size: 0.97rem;
    max-inline-size: 34ch;
  }

  .about-copy h2,
  .ref-copy h2,
  .contact-card h2,
  .section-heading h2 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .services-grid { grid-template-columns: 1fr; }

  .service-card img { height: 200px; }

  .ref-section { padding-bottom: 48px; }

  .button { width: 100%; justify-content: center; }

  .hero-actions .button.ghost { display: none; }
}
