/* ==========================================================================
   wolfgangzotter.at — Design System
   Look & Feel angelehnt an "Wexim" (Poppins light + Roboto, Parallax-Vollbild-
   Sektionen, Pill-Buttons) — eigener, schlanker Code ohne Template-Abhängig-
   keiten. Farben kommen aus dem Logo "WoZo's Room", siehe Tokens unten.
   ========================================================================== */

/* --------------------------------------------------------------- 1. Tokens
   Palette 1:1 aus dem Logo "WoZo's Room":
   Hauptverlauf  #143e62 → #114e49 → #176d32  (Tiefblau → Petrol → Grün)
   Zweitverlauf  #ea580c → #b17000            (Orange → Amber)          */
:root {
  --brand:      #114e49;   /* Petrol — dominante Logofarbe */
  --brand-2:    #176d32;   /* Grün — Ende des Logoverlaufs */
  --brand-3:    #143e62;   /* Tiefblau — Anfang des Logoverlaufs */
  --grad:       linear-gradient(120deg, #143e62 0%, #114e49 52%, #176d32 100%);
  --grad-soft:  linear-gradient(120deg, rgba(20,62,98,.12), rgba(23,109,50,.14));

  --accent:     #ea580c;   /* Orange — für Flächen/Icons, NICHT für kleinen Text auf Weiß */
  --accent-2:   #b17000;   /* Amber */
  --accent-ink: #c2410c;   /* Orange für Text auf hellem Grund (5.2:1) */
  --accent-lt:  #fb923c;   /* Orange für Text auf dunklem Grund */

  --ink:        #12211f;
  --body:       #2b3330;
  --muted:      #63706c;
  --line:       #e2eae7;
  --light:      #f3f7f5;
  --dark:       #071c1c;
  --dark-2:     #0a2a24;

  --container:  1180px;
  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 18px 50px -22px rgba(9, 40, 38, .30);
  --shadow-lg:  0 34px 80px -30px rgba(9, 40, 38, .42);

  --ff-head:    'Poppins', system-ui, sans-serif;
  --ff-body:    'Roboto', system-ui, sans-serif;

  --nav-h:      86px;
}

/* ----------------------------------------------------------- 2. Reset/Base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  color: var(--ink);
  margin: 0 0 .6em;
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); font-weight: 200; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.85rem); font-weight: 200; }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.25rem; font-weight: 500; }
h5 { font-size: 1.05rem; font-weight: 500; }
h6 { font-size: .95rem; font-weight: 500; }
strong, b { font-weight: 600; }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--brand-2); }

img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--brand-3);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: #fff; color: var(--ink); padding: 12px 20px;
  border-radius: 0 0 10px 10px; font-family: var(--ff-head); font-size: .9rem;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* ------------------------------------------------------------ 3. Utilities */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: 24px;
}
.container-wide { max-width: 1400px; }

section { padding: clamp(70px, 9vw, 125px) 0; position: relative; }
.sec-tight { padding-block: clamp(56px, 6vw, 80px); }
.bg-light { background: var(--light); }
.bg-dark  { background: var(--dark); color: rgba(255,255,255,.72); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5 { color: #fff; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead { font-size: 1.075rem; line-height: 1.85; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.narrow { max-width: 720px; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-head);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--accent-lt); }

.title { margin-bottom: 1.4rem; }
.title h2 strong { font-weight: 600; }

/* Grids */
.grid { display: grid; gap: 30px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.split {
  display: grid; gap: clamp(32px, 5vw, 70px);
  grid-template-columns: 1fr 1fr; align-items: center;
}

/* -------------------------------------------------------------- 4. Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-head); font-size: .84rem; font-weight: 500;
  letter-spacing: .05em;
  padding: 15px 34px; border-radius: 50px;
  border: 2px solid transparent; cursor: pointer;
  transition: all .35s cubic-bezier(.25,.8,.25,1);
  white-space: nowrap;
}
.btn i { font-size: 1rem; line-height: 1; }

.btn-grad {
  color: #fff;
  background-image: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 50%, var(--brand) 100%);
  background-size: 220% auto;
  box-shadow: 0 14px 34px -14px rgba(17,78,73,.55);
}
.btn-grad:hover { background-position: right center; color: #fff; transform: translateY(-2px); }

.btn-line { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-line:hover { background: #fff; border-color: #fff; color: var(--ink); transform: translateY(-2px); }

.btn-dark { border-color: var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 11px 24px; font-size: .78rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head); font-weight: 500; font-size: .88rem;
  letter-spacing: .03em;
}
.link-arrow i { transition: transform .3s ease; }
.link-arrow:hover i { transform: translateX(5px); }

/* --------------------------------------------------------------- 5. Navbar */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s ease, height .4s ease, box-shadow .4s ease;
}
.nav .container {
  display: flex; align-items: center; gap: 20px; width: 100%;
}

/* Logo "WoZo's Room". Das Original ist dunkles Petrol/Grün und wäre über dem
   dunklen Hero unsichtbar — dort wird es per Filter zur weißen Silhouette,
   in der hellen Sticky-Nav zeigt es seine Originalfarben. */
.logo {
  display: flex; align-items: center; gap: 14px;
  margin-right: auto; line-height: 1.1; color: #fff;
}
/* 56px: darunter wird der Schriftzug "WoZo's Room" im Logo unleserlich. */
.logo img {
  height: 56px; width: auto; flex: 0 0 auto;
  filter: brightness(0) invert(1);
  transition: height .4s ease, filter .4s ease;
}
.logo-name {
  font-family: var(--ff-head); font-weight: 600;
  font-size: .95rem; letter-spacing: .14em; text-transform: uppercase;
  display: flex; flex-direction: column;
  padding-left: 14px; border-left: 1px solid rgba(255,255,255,.22);
  transition: border-color .4s ease;
}
.logo-name small {
  font-size: .53rem; letter-spacing: .28em; font-weight: 400;
  color: rgba(255,255,255,.55); margin-top: 4px;
}
.logo:hover { color: #fff; }

.nav.is-stuck .logo { color: var(--ink); }
.nav.is-stuck .logo img { height: 48px; filter: none; }
.nav.is-stuck .logo-name { border-left-color: var(--line); }
.nav.is-stuck .logo-name small { color: var(--muted); }

@media (max-width: 1199px) { .logo-name { display: none; } }

/* Der CTA-Button ist überall per :not(.nav-cta) ausgenommen — sonst gewinnen
   diese Selektoren gegen .btn-grad und die Buttonschrift wird grau. */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.nav-cta) {
  font-family: var(--ff-head); font-size: .82rem; font-weight: 400;
  letter-spacing: .04em; color: rgba(255,255,255,.82);
  padding: 10px 14px; border-radius: 40px; position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--grad); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-links a:not(.nav-cta):hover,
.nav-links a:not(.nav-cta).active { color: #fff; }
.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { transform: scaleX(1); }

.nav-cta { margin-left: 10px; }

/* scrolled state */
.nav.is-stuck {
  height: 72px; background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px -20px rgba(9,40,38,.35);
}
.nav.is-stuck .nav-links a:not(.nav-cta) { color: #54605c; }
.nav.is-stuck .nav-links a:not(.nav-cta):hover,
.nav.is-stuck .nav-links a:not(.nav-cta).active { color: var(--ink); }
.nav.is-stuck .nav-cta { color: #fff; }

.burger {
  display: none; width: 46px; height: 46px;
  background: none; border: 0; cursor: pointer;
  align-items: center; justify-content: center; color: #fff;
  font-size: 1.6rem; padding: 0;
}
.nav.is-stuck .burger { color: var(--ink); }

/* -------------------------------------------------------- 6. Hero/Parallax */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px;
  background: var(--dark); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -10%;
  background:
    radial-gradient(58% 58% at 12% 22%, rgba(20,62,98,.72), transparent 62%),
    radial-gradient(52% 52% at 88% 14%, rgba(17,78,73,.78), transparent 62%),
    radial-gradient(58% 58% at 72% 92%, rgba(23,109,50,.55), transparent 62%),
    radial-gradient(34% 34% at 92% 66%, rgba(234,88,12,.26), transparent 68%),
    linear-gradient(158deg, var(--dark) 0%, var(--dark-2) 58%, #05171a 100%);
  will-change: transform;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(70% 60% at 50% 45%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 20%, transparent 85%);
}
.hero-orb {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
  animation: float 16s ease-in-out infinite;
}
.hero-orb.o1 { width: 340px; height: 340px; left: 6%;  top: 18%; background: var(--brand-3); }
.hero-orb.o2 { width: 300px; height: 300px; right: 8%; top: 24%; background: var(--brand-2); animation-delay: -5s; }
.hero-orb.o3 { width: 240px; height: 240px; left: 55%; bottom: 6%; background: var(--accent); opacity: .28; animation-delay: -9s; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(30px, -38px, 0) scale(1.12); }
}

.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 900px; will-change: transform; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 strong { font-weight: 600; }
.hero p {
  color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.5vw, 1.16rem);
  max-width: 660px; line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4rem; }

/* Rotator ("morph"-Effekt wie im Template) */
.rotator {
  display: inline-grid; vertical-align: bottom;
  min-width: 8ch;
}
.rotator span {
  grid-area: 1 / 1;
  opacity: 0; transform: translateY(.4em);
  transition: opacity .5s ease, transform .5s ease;
  background: linear-gradient(90deg, #fb923c, #fcd34d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 600; white-space: nowrap;
}
.rotator span.on { opacity: 1; transform: none; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 3.2rem;
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.13);
}
.hero-meta span {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head); font-size: .78rem; letter-spacing: .06em;
  color: rgba(255,255,255,.62); text-transform: uppercase;
}
.hero-meta i { color: var(--accent-lt); font-size: .95rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.55); font-size: 1.5rem;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue:hover { color: #fff; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* Parallax-Utility für dunkle Zwischensektionen */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
@media (max-width: 991px), (hover: none) {
  .parallax { background-attachment: scroll; }
}

/* ------------------------------------------------------------- 7. Über/Bio */
.portrait {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portrait img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
/* Nur ein leichter Farbstich — das Foto bringt seinen eigenen dunklen
   Stadion-Hintergrund mit, ein multiply-Overlay würde es zumatschen. */
.portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(20,62,98,.10), rgba(23,109,50,.16));
  mix-blend-mode: soft-light;
}
.portrait-wrap { position: relative; }
.portrait-wrap::before {
  content: ''; position: absolute; inset: 22px -22px -22px 22px;
  border-radius: var(--radius); background: var(--grad); opacity: .12; z-index: -1;
}
.portrait-badge {
  position: absolute; right: -14px; bottom: -18px; z-index: 3;
  background: #fff; border-radius: var(--radius-sm);
  padding: 16px 22px; box-shadow: var(--shadow);
  font-family: var(--ff-head); line-height: 1.35;
}
.portrait-badge strong { display: block; font-size: 1.5rem; font-weight: 600; }
.portrait-badge span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.feature {
  padding: 34px 30px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  height: 100%;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature .num {
  display: block; font-family: var(--ff-head); font-size: 2.1rem; font-weight: 600;
  margin-bottom: .7rem; line-height: 1;
}
.feature h5 { margin-bottom: .8rem; }
.feature p { font-size: .95rem; color: #54605c; margin: 0; }
.feature ul { margin-top: .9rem; font-size: .88rem; color: #54605c; }
.feature ul li { padding-left: 20px; position: relative; margin-bottom: .3rem; }
.feature ul li::before {
  content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0;
  color: var(--accent-ink); font-size: .7rem; top: 1px;
}

/* ------------------------------------------------------------- 8. Counters */
.counters {
  padding-block: clamp(44px, 4.5vw, 62px);
  background:
    linear-gradient(rgba(7,28,28,.88), rgba(6,22,26,.92)),
    radial-gradient(60% 90% at 18% 30%, #143e62, transparent 60%),
    radial-gradient(60% 90% at 82% 70%, #176d32, transparent 60%),
    var(--dark);
}
.counter { text-align: center; }
.counter .n {
  font-family: var(--ff-head); font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 200; color: #fff; line-height: 1; display: block;
}
.counter .n em { font-style: normal; font-weight: 600; }
.counter .l {
  display: block; margin-top: .9rem;
  font-family: var(--ff-head); font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
/* Präzisierung unter dem Label — bewusst gemischte Schreibung und enge
   Laufweite, eine Aufzählung in Versalien mit .18em wäre unlesbar. */
.counter .sub {
  display: block; margin-top: .5rem;
  font-size: .72rem; font-weight: 300; letter-spacing: .01em;
  text-transform: none; line-height: 1.55;
  color: rgba(255,255,255,.58);
}

/* ------------------------------------------------------------ 9. Werdegang */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ''; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2), transparent);
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -34px; top: 7px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 0 0 5px rgba(17,78,73,.14);
}
.tl-item.is-now::before { background: var(--grad); border-color: transparent; }
.tl-year {
  font-family: var(--ff-head); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brand);
  display: block; margin-bottom: .2rem;
}
.tl-item h5 { margin-bottom: .2rem; }
.tl-item p { font-size: .93rem; color: #54605c; margin: 0; }

/* Icon-Kopfzeile: Symbol steht VOR der Überschrift, nicht darüber —
   spart Höhe und führt das Auge direkt auf den Titel. */
.card-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 1rem;
}
.card-head .ico { flex: 0 0 auto; margin-bottom: 0; }
.card-head h3, .card-head h5 { margin: 0; }

.factbox {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 28px 28px; height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.factbox:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.factbox .ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand); font-size: 1.2rem;
}
.factbox li {
  font-size: .92rem; color: #54605c; padding-left: 19px; position: relative; margin-bottom: .35rem;
}
.factbox li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-2);
}

/* --------------------------------------------------------- 10. Leidenschaft */
.passion {
  background:
    linear-gradient(rgba(6,24,25,.90), rgba(5,20,24,.94)),
    radial-gradient(70% 80% at 15% 20%, #143e62, transparent 60%),
    radial-gradient(70% 80% at 85% 80%, #176d32, transparent 60%),
    var(--dark);
}
.passion-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: var(--radius); padding: 28px 30px 34px; height: 100%;
  backdrop-filter: blur(8px);
  transition: transform .4s ease, background .4s ease, border-color .4s ease;
}
.passion-card:hover {
  transform: translateY(-7px);
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22);
}
.passion-card .ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: 1.4rem;
  box-shadow: 0 14px 30px -14px rgba(17,78,73,.60);
}
.passion-card h3 { font-weight: 300; color: #fff; font-size: clamp(1.2rem, 2vw, 1.45rem); }
.passion-card h3 strong { font-weight: 600; }
.passion-card .kicker {
  font-family: var(--ff-head); font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent-lt); display: block; margin-bottom: .25rem;
}
.passion-card p { color: rgba(255,255,255,.68); font-size: .96rem; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 1.4rem; }
.chip {
  font-family: var(--ff-head); font-size: .74rem; letter-spacing: .04em;
  padding: 7px 15px; border-radius: 40px;
  border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.82);
}

/* -------------------------------------------------------------- 11. Service */
.service {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 32px 34px; height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
}
.service::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform .45s ease;
}
.service:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service:hover::before { transform: scaleX(1); }
.service .ico {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand); font-size: 1.35rem;
}
.service p { font-size: .95rem; color: #54605c; }

.app-cta {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--grad); color: #fff; padding: clamp(34px, 5vw, 52px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 26px;
  justify-content: space-between; margin-top: 42px;
  box-shadow: 0 26px 60px -28px rgba(17,78,73,.62);
}
.app-cta::after {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.app-cta > * { position: relative; z-index: 1; }
.app-cta h3 { color: #fff; margin-bottom: .35rem; font-weight: 300; }
.app-cta h3 strong { font-weight: 600; }
.app-cta p { color: rgba(255,255,255,.85); margin: 0; font-size: .97rem; }
.app-cta .btn-line { border-color: #fff; }

/* ------------------------------------------------------------- 12. Projekte */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px;
}
.filters button {
  font-family: var(--ff-head); font-size: .8rem; font-weight: 500; letter-spacing: .04em;
  padding: 11px 24px; border-radius: 40px; cursor: pointer;
  border: 1px solid var(--line); background: #fff; color: #54605c;
  transition: all .3s ease;
}
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button.active {
  background: var(--grad); border-color: transparent; color: #fff;
  box-shadow: 0 12px 28px -14px rgba(17,78,73,.60);
}

.proj {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; height: 100%;
  transition: transform .4s cubic-bezier(.25,.8,.25,1), box-shadow .4s ease, opacity .35s ease;
}
.proj:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.proj.is-hidden { display: none; }

.proj-head {
  position: relative; aspect-ratio: 16/9; display: grid; place-items: center;
  background: var(--grad); overflow: hidden;
}
.proj-head::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 30px 30px;
}
.proj-head .mark {
  position: relative; z-index: 1;
  font-family: var(--ff-head); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  letter-spacing: .12em; color: #fff; text-align: center; padding: 0 18px;
  text-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.proj[data-theme="atus"]  .proj-head { background: linear-gradient(120deg, #c8102e, #7e0b1d); }
.proj[data-theme="bhv"]   .proj-head { background: linear-gradient(120deg, #b99b5e, #6d5730); }
.proj[data-theme="wozo"]  .proj-head { background: linear-gradient(120deg, #143e62, #176d32); }
.proj[data-theme="app"]   .proj-head { background: linear-gradient(120deg, #0e7490, #143e62); }
.proj[data-theme="ub"]    .proj-head { background: linear-gradient(120deg, #f7971e, #d13c1f); }
.proj[data-theme="hdm"]   .proj-head { background: linear-gradient(120deg, #1f2937, #4b5563); }
.proj[data-theme="shop"]  .proj-head { background: linear-gradient(120deg, #0f766e, #115e59); }
.proj[data-theme="holz"]  .proj-head { background: linear-gradient(120deg, #4d7c2f, #2f4f1d); }

.proj-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.proj-cat {
  font-family: var(--ff-head); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: .6rem;
}
.proj h5 { margin-bottom: .5rem; }
.proj p { font-size: .91rem; color: #54605c; flex: 1; margin-bottom: 1.1rem; }
.proj .url {
  font-family: var(--ff-head); font-size: .82rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .45rem;
}

.partner-note {
  background: var(--light); border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 26px; margin-bottom: 38px; font-size: .95rem; color: #54605c;
}
.partner-note strong { color: var(--ink); }

/* -------------------------------------------------------------- 13. Kontakt */
.contact-card {
  background: #fff; border-radius: var(--radius); padding: clamp(30px, 4vw, 46px);
  box-shadow: var(--shadow-lg); height: 100%;
}
.contact-row {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.contact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-row .ico {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center; background: var(--grad-soft);
  color: var(--brand); font-size: 1.15rem;
}
.contact-row span {
  display: block; font-family: var(--ff-head); font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.contact-row a, .contact-row p {
  font-family: var(--ff-head); font-size: 1.02rem; color: var(--ink); margin: 0;
}
.contact-row a:hover { color: var(--brand); }

/* --------------------------------------------------------------- 14. Footer */
.footer { background: #080c18; color: rgba(255,255,255,.6); padding: 78px 0 0; }
.footer h6 {
  color: #fff; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 1.4rem; font-weight: 600;
}
.footer a { color: rgba(255,255,255,.6); font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer li { margin-bottom: .55rem; }
.footer .logo { color: #fff; margin-bottom: 1.4rem; }
.footer .logo img { height: 62px; }
.footer .logo-name { display: flex; border-left-color: rgba(255,255,255,.2); }
.footer p { font-size: .93rem; line-height: 1.8; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
}
.footer-bottom {
  margin-top: 60px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between;
  font-size: .84rem;
}

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font-size: 1.15rem;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px -12px rgba(17,78,73,.65);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .35s ease;
}
.to-top.on { opacity: 1; visibility: visible; transform: none; }

/* ------------------------------------------------------------- 15. Reveal
   Nur wenn JS läuft ausblenden — ohne JS bleibt der Inhalt sichtbar. */
.js .reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .8s cubic-bezier(.25,.8,.25,1), transform .8s cubic-bezier(.25,.8,.25,1);
}
.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }
.reveal[data-d="4"] { transition-delay: .4s; }

/* ============================================================= 16. Parallax
   Kopfbereich der Unterseiten und Zwischenbaender mit Hintergrundbild.
   background-attachment:fixed erzeugt den Parallax-Effekt; auf Touch-
   Geraeten (iOS ignoriert fixed) wird weiter unten auf scroll gestellt. */
.page-hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: clamp(340px, 52vh, 520px);
  padding: calc(var(--nav-h) + 70px) 0 clamp(40px, 5vw, 66px);
  background: var(--dark) center/cover no-repeat fixed;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,22,22,.80) 0%, rgba(6,22,22,.62) 45%, rgba(6,22,22,.90) 100%),
    linear-gradient(100deg, rgba(20,62,98,.55), rgba(23,109,50,.35));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 0 0 .5rem; max-width: 16ch; }
.page-hero h1 strong { font-weight: 600; }
.page-hero p {
  color: rgba(255,255,255,.78); max-width: 620px; margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

/* Brotkrumen */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin-bottom: 1.1rem;
  font-family: var(--ff-head); font-size: .78rem; letter-spacing: .04em;
  color: rgba(255,255,255,.62);
}
/* Padding statt reiner Textzeile — sonst ist das Tippziel nur 22px hoch. */
.crumb a { color: rgba(255,255,255,.82); display: inline-block; padding: 9px 3px; }
.crumb a:hover { color: #fff; }
.crumb i { font-size: .7rem; opacity: .5; }

/* Zwischenband mitten auf der Seite */
.band {
  position: relative; color: rgba(255,255,255,.78);
  padding: clamp(80px, 11vw, 150px) 0;
  background: var(--dark) center/cover no-repeat fixed;
}
.band::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(6,22,22,.86), rgba(5,18,22,.90)),
    linear-gradient(110deg, rgba(20,62,98,.42), rgba(23,109,50,.30));
}
.band .container { position: relative; z-index: 1; }
.band h2, .band h3 { color: #fff; }
.band h2 strong { font-weight: 600; }

.bg-kirche  { background-image: url('../img/bg-kirche.jpg'); }
.bg-brunnen { background-image: url('../img/bg-brunnen.jpg'); }
.bg-turm    { background-image: url('../img/bg-turm.jpg'); }

/* ============================================================== 17. Kacheln
   Gleiche Logik wie auf apps.wolfgangzotter.at: je Kachel eine eigene
   Akzentfarbe in --accent, grosse Wortmarke, Anheben beim Hover.
   Hier auf hellem Grund. */
.tiles {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(266px, 1fr));
}
.tile {
  --accent: var(--brand);
  position: relative; display: flex; flex-direction: column; gap: 13px;
  padding: 24px 24px 22px; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a.tile { color: inherit; }
a.tile:hover, a.tile:focus-visible {
  transform: translateY(-4px); outline: none;
  border-color: var(--accent); box-shadow: 0 14px 38px -16px var(--accent);
}
a.tile:active { transform: translateY(-1px); }

.tile .t-mark {
  font-family: var(--ff-head); font-size: 2.05rem; font-weight: 600;
  letter-spacing: -.04em; line-height: 1; color: var(--ink);
}
.tile .t-mark span { color: var(--accent); }
/* Icon-Variante der Wortmarke — fuer Inhaltsbereiche lesbarer als Kuerzel */
.tile .t-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.25rem; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.tile .t-name {
  font-family: var(--ff-head); font-size: .95rem; font-weight: 600;
  letter-spacing: .12em; margin-top: -4px;
}
.tile .t-tag {
  font-family: var(--ff-head); font-size: .64rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  margin-top: -8px;
}
.tile p { flex: 1; margin: 0; font-size: .92rem; line-height: 1.65; color: #54605c; }
.tile .t-go {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--ff-head); font-size: .82rem; font-weight: 600;
  color: var(--muted); transition: color .18s ease;
}
a.tile:hover .t-go, a.tile:focus-visible .t-go { color: var(--accent); }
.tile .t-badge {
  position: absolute; top: 18px; right: 18px;
  padding: 5px 11px; border-radius: 40px;
  font-family: var(--ff-head); font-size: .58rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); background: var(--light); border: 1px solid var(--line);
}

/* =========================================================== 17b. Consent
   Einwilligungshinweis für Google Analytics. Wird von consent.js erzeugt
   und nur eingeblendet, solange noch keine Entscheidung gefallen ist. */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(7,28,28,.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -18px 50px -24px rgba(0,0,0,.8);
  animation: consent-up .35s cubic-bezier(.25,.8,.25,1);
}
@keyframes consent-up { from { transform: translateY(100%); } to { transform: none; } }

.consent-inner {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding: 20px 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px;
}
.consent-text { flex: 1 1 380px; }
.consent-text strong {
  display: block; font-family: var(--ff-head); font-size: 1rem;
  font-weight: 600; color: #fff; margin-bottom: .3rem;
}
.consent-text p {
  margin: 0; font-size: .89rem; line-height: 1.65;
  color: rgba(255,255,255,.72);
}
.consent-text a { color: var(--accent-lt); text-decoration: underline; }
.consent-text a:hover { color: #fff; }

.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
/* Ablehnen bewusst gleich prominent wie Zustimmen — eine versteckte
   Ablehnung waere keine freiwillige Einwilligung. */
.consent-no {
  border-color: rgba(255,255,255,.45); color: #fff; background: none;
}
.consent-no:hover { background: #fff; border-color: #fff; color: var(--ink); }

@media (max-width: 620px) {
  .consent-inner { padding: 18px 20px; }
  .consent-actions { width: 100%; margin-left: 0; }
  .consent-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================ 18. Textseiten
   Impressum, Datenschutz und die Fliesstext-Abschnitte der Unterseiten. */
.prose { max-width: 760px; }
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 300;
  margin: 2.6rem 0 .9rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.05rem; font-weight: 600; margin: 1.7rem 0 .5rem; }
.prose p, .prose li { font-size: .97rem; line-height: 1.85; }
.prose ul { margin: 0 0 1.1rem; }
.prose ul li { position: relative; padding-left: 20px; margin-bottom: .35rem; }
.prose ul li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2);
}
.prose .meta { font-size: .86rem; color: var(--muted); }
.prose address { font-style: normal; line-height: 1.9; }

/* Datenblock (Impressum/Kontakt) */
.datalist { display: grid; gap: 0; margin: 0 0 1.4rem; }
.datalist div {
  display: grid; grid-template-columns: 190px 1fr; gap: 16px;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.datalist dt, .datalist .k {
  font-family: var(--ff-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding-top: 3px;
}
.datalist dd, .datalist .v { margin: 0; font-size: .97rem; }

/* --------------------------------------------------------- 19. Responsive */
@media (max-width: 991px) {
  /* iOS ignoriert background-attachment:fixed und zoomt das Bild kaputt */
  .page-hero, .band { background-attachment: scroll; }
}
@media (hover: none) {
  .page-hero, .band { background-attachment: scroll; }
}
@media (max-width: 600px) {
  .datalist div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  :root { --nav-h: 72px; }

  .burger { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    padding: 14px 24px 26px; box-shadow: 0 24px 50px -24px rgba(9,40,38,.4);
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .4s ease, opacity .3s ease, padding .3s ease;
  }
  .nav-links.open { max-height: 82vh; opacity: 1; overflow-y: auto; }
  .nav-links a:not(.nav-cta) {
    color: #444 !important; padding: 14px 4px;
    border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .nav-links a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 16px 0 0; justify-content: center; color: #fff; }

  .g-3, .g-2, .split { grid-template-columns: 1fr; }
  /* width:100% ist nötig: margin-inline:auto schaltet das Grid-Stretching ab,
     sonst würde die Spalte auf Shrink-to-fit (= 0) zusammenfallen. */
  .portrait-wrap { width: 100%; max-width: 460px; margin-inline: auto; }
  .portrait-wrap::before { inset: 16px -16px -16px 16px; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  /* Zähler bleiben 2×2 — vier gestapelte Riesenzahlen wären zu viel Scrollweg. */
  .g-4 { grid-template-columns: repeat(2, 1fr); gap: 34px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .app-cta { flex-direction: column; align-items: flex-start; }
  .portrait-badge { right: 10px; bottom: -14px; padding: 12px 18px; }
  .timeline { padding-left: 28px; }
  .tl-item::before { left: -28px; width: 16px; height: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
