/* Google Fonts – Barlow Condensed (Display) + Inter (Body) */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #162126;
  --slate: #2d3940;
  --muted: #657178;
  --paper: #ffffff;
  --soft: #f3f0ea;
  --stone: #d9d3c8;
  --line: rgba(22, 33, 38, 0.13);
  --roof: #9f3026;
  --roof-dark: #75211a;
  --copper: #b87442;
  --focus: #f0b44d;
  --sand: #d9c8ae;
  --shadow: 0 24px 60px rgba(22, 33, 38, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 10px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ── HEADER ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(22, 33, 38, 0.09);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  transition: box-shadow 280ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 28px rgba(22, 33, 38, 0.13);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  transition: min-height 260ms ease;
}

.site-header.is-scrolled .header-inner {
  min-height: 60px;
}

/* ── BRAND ───────────────────────────────────────── */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.05;
  transition: opacity 180ms;
}

.brand:hover {
  opacity: 0.82;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 7px;
  color: var(--roof);
  transition: background 200ms, color 200ms;
}

.brand:hover .brand-icon {
  background: var(--ink);
  color: var(--sand);
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ── NAV ─────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a {
  padding: 7px 12px;
  border-radius: 6px;
  color: var(--slate);
  text-decoration: none;
  transition: color 180ms, background 180ms;
}

.nav a:hover {
  color: var(--roof);
  background: rgba(159, 48, 38, 0.07);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms, border-color 180ms;
}

.nav-toggle:hover {
  background: var(--soft);
}

.nav-toggle svg,
.icon svg,
.brand-icon svg {
  display: block;
}

/* ── BUTTONS ─────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--roof);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 200ms ease,
    box-shadow 200ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--roof-dark);
  box-shadow: 0 8px 24px rgba(159, 48, 38, 0.28);
}

.button:active {
  transform: translateY(0);
}

.button.secondary {
  background: var(--ink);
}

.button.secondary:hover {
  background: var(--slate);
  box-shadow: 0 8px 22px rgba(22, 33, 38, 0.26);
}

.button.outline {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
}

.button.outline:hover {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.button.light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button.light:hover {
  border-color: var(--roof);
  color: var(--roof);
  box-shadow: none;
  transform: translateY(-1px);
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(22, 33, 38, 0.94), rgba(22, 33, 38, 0.8)),
    repeating-linear-gradient(135deg, #243037 0 18px, #303d44 18px 36px);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(159, 48, 38, 0.16), transparent 55%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8vw -24vw auto;
  width: 52vw;
  height: 52vw;
  background: radial-gradient(ellipse, rgba(159, 48, 38, 0.26) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 52px;
  align-items: center;
  min-height: 700px;
  padding: 78px 0 86px;
}

/* ── TYPOGRAPHY ──────────────────────────────────── */
.eyebrow {
  margin: 0 0 13px;
  color: var(--copper);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.dark .eyebrow {
  color: #e5b07c;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
  font-family: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
}

h1 {
  max-width: 860px;
  font-size: clamp(2.7rem, 6.5vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.hero-note {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.97rem;
}

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

/* ── TRUST STRIP ─────────────────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-strip span {
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 600;
}

/* ── HERO CARD ───────────────────────────────────── */
.hero-card {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(4px);
}

/* ── IMAGE PLACEHOLDER / STOCK PHOTO ────────────── */
.image-placeholder {
  display: grid;
  place-items: center;
  min-height: 285px;
  padding: 28px;
  border: 1px solid rgba(22, 33, 38, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(159, 48, 38, 0.15), rgba(184, 116, 66, 0.1)),
    repeating-linear-gradient(135deg, rgba(22, 33, 38, 0.07) 0 12px, transparent 12px 24px);
  color: var(--slate);
  font-weight: 700;
  text-align: center;
}

.hero .image-placeholder {
  min-height: 340px;
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.stock-photo {
  overflow: hidden;
  min-height: 285px;
  border: 1px solid rgba(22, 33, 38, 0.1);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: 0 16px 38px rgba(22, 33, 38, 0.08);
}

.stock-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.stock-photo:hover img {
  transform: scale(1.03);
}

.stock-photo figcaption {
  padding: 8px 14px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0.68;
}

.hero .stock-photo {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.hero .stock-photo img {
  min-height: 340px;
}

.hero .stock-photo figcaption {
  color: rgba(255, 255, 255, 0.48);
}

/* ── SECTIONS ────────────────────────────────────── */
.section {
  padding: 92px 0;
}

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

.section.dark {
  background: var(--ink);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.section-head p,
.copy p {
  max-width: 740px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.65;
}

.dark .section-head p,
.dark .copy p,
.dark .muted {
  color: rgba(255, 255, 255, 0.72);
}

/* ── GRID ────────────────────────────────────────── */
.grid {
  display: grid;
  gap: 20px;
}

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

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

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

.split {
  display: grid;
  gap: 56px;
  align-items: center;
}

/* ── CARD ────────────────────────────────────────── */
.card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(22, 33, 38, 0.055);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-left-color 240ms ease,
    box-shadow 240ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    border-left-color: var(--roof);
    box-shadow: 0 20px 48px rgba(22, 33, 38, 0.11);
  }

  .card:hover .icon {
    background: var(--roof);
    color: #fff;
  }
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: rgba(159, 48, 38, 0.1);
  color: var(--roof);
  transition: background 220ms, color 220ms;
}

.card p,
.copy li,
.faq-panel {
  color: var(--muted);
  line-height: 1.65;
}

/* ── SERVICE DETAIL ──────────────────────────────── */
.service-detail {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.service-detail:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-detail h3 {
  margin-bottom: 10px;
}

/* ── LISTS ───────────────────────────────────────── */
.check-list {
  display: grid;
  gap: 11px;
  padding: 0;
  list-style: none;
  margin: 16px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-size: 0.97rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 14px;
  height: 3px;
  transform: rotate(-35deg);
  background: var(--roof);
  border-radius: 2px;
}

/* ── STEPS ───────────────────────────────────────── */
.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-left: 74px;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 26px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 7px;
  background: var(--roof);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

/* ── CHIPS ───────────────────────────────────────── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.chip {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 200ms, background 200ms, color 200ms;
}

.chip:hover {
  border-color: var(--roof);
  background: rgba(159, 48, 38, 0.06);
  color: var(--roof);
}

/* ── FAQ ─────────────────────────────────────────── */
.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: box-shadow 240ms ease, border-color 240ms ease;
}

.faq-item:hover {
  box-shadow: 0 6px 22px rgba(22, 33, 38, 0.08);
}

.faq-item[open] {
  border-color: rgba(159, 48, 38, 0.28);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.01rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: color 200ms;
}

.faq-item[open] .faq-question {
  color: var(--roof);
}

.faq-question svg {
  flex: 0 0 auto;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item[open] .faq-question svg {
  transform: rotate(45deg);
}

/* smooth accordion via max-height */
.faq-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  color: var(--muted);
  line-height: 1.7;
  transition: max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 420ms ease;
}

.faq-item[open] .faq-panel {
  max-height: 500px;
  padding-bottom: 22px;
}

/* ── CONTACT ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: start;
}

.contact-box {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
}

.contact-box a {
  color: var(--sand);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms;
}

.contact-box a:hover {
  color: #fff;
}

/* Route placeholder – elegant, DSGVO-konform */
.route-placeholder {
  display: grid;
  place-items: center;
  gap: 12px;
  margin-top: 20px;
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(159, 48, 38, 0.18) 0%, transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 10px, transparent 10px 20px);
  color: rgba(255,255,255,0.78);
  text-align: center;
  font-size: 0.9rem;
}

.route-placeholder svg {
  opacity: 0.6;
}

/* ── FORM ────────────────────────────────────────── */
.form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1.5px solid rgba(22, 33, 38, 0.2);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 180ms, box-shadow 180ms;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--roof);
  box-shadow: 0 0 0 3px rgba(159, 48, 38, 0.12);
}

input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

textarea {
  min-height: 138px;
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.form-status {
  min-height: 24px;
  font-weight: 700;
}

/* ── FOOTER ──────────────────────────────────────── */
.site-footer {
  padding: 58px 0 90px;
  background: #111920;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 34px;
}

.site-footer strong {
  display: block;
  margin-bottom: 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sand);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 180ms;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  font-size: 0.93rem;
}

/* ── MOBILE CONTACT ──────────────────────────────── */
.mobile-contact {
  display: none;
}

/* ── REVEAL (GSAP initial state) ─────────────────── */
.reveal {
  will-change: transform, opacity;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1060px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: grid;
    gap: 0;
    max-height: calc(100vh - 72px);
    overflow: auto;
    padding: 10px 20px 24px;
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms cubic-bezier(0.25, 1, 0.5, 1), opacity 180ms ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(22, 33, 38, 0.08);
    font-size: 1rem;
  }

  .nav .button {
    margin-top: 14px;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 54px 0 64px;
  }

  .section {
    padding: 66px 0;
  }

  .section-head {
    display: block;
  }

  .form-row,
  .footer-grid,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .mobile-contact {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 130;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(22, 33, 38, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 36px rgba(22, 33, 38, 0.18),
      0 0 0 1px rgba(22, 33, 38, 0.05);
    backdrop-filter: blur(12px);
  }

  .mobile-contact .button {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.94rem;
  }
}

@media (max-width: 440px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(2.3rem, 13vw, 3.4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}
