/* ==========================================================================
   PARAÍSO … natürlich geplant
   Garten- und Landschaftsarchitektur · Dipl.-Ing. (FH) Beate Dietrich-Wolf

   Gestaltungsidee: ein Planungsbüro, das mit der Natur arbeitet.
   Warmes Papier als Grund, das Tannengrün der Visitenkarte als Hauptfarbe,
   Blattgrün für Lebendiges, Magenta – die Knospe im Logo – nur als Akzent.
   Überschriften in Fraunces (weich, gut lesbar), Fließtext in Inter,
   die Wortmarke in EB Garamond wie auf der Karte.
   ========================================================================== */

:root {
  /* Grund */
  --paper:      #F7F5EF;
  --paper-2:    #EEF2E6;
  --paper-3:    #E4EAD9;
  --white:      #FFFFFF;

  /* Schrift */
  --ink:        #17261C;
  --ink-2:      #47574C;
  --ink-3:      #6E7C72;

  /* Marke */
  --tanne:      #3A7350;
  --tanne-dark: #245239;
  --moos:       #16301F;
  --moos-2:     #1E3E2A;
  --blatt:      #7FB35A;
  --blatt-hell: #BFD9A3;
  --blatt-pale: #E6F0DA;
  --magenta:    #D2377D;
  --magenta-2:  #B32664;

  --line:       rgba(23, 38, 28, .12);
  --line-2:     rgba(23, 38, 28, .07);

  /* Schrift */
  --f-head: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-logo: "EB Garamond", "Cormorant Garamond", Garamond, Georgia, serif;

  /* Maße */
  --wrap:   1220px;
  --narrow: 780px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --r-sm:   10px;
  --r:      20px;
  --r-lg:   28px;
  --shadow: 0 20px 50px -24px rgba(23, 38, 28, .35);
  --shadow-sm: 0 10px 30px -18px rgba(23, 38, 28, .35);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --------------------------------------------------------------------------
   Grundlagen
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.012em;
  margin: 0 0 .6em;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-family: var(--f-body); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
a { color: var(--tanne); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--tanne-dark); }
strong, b { font-weight: 700; }
em { font-style: italic; }

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 60ch;
}
.small { font-size: .9rem; }
.muted { color: var(--ink-3); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: var(--narrow); }

.band { padding-block: clamp(4.5rem, 9vw, 8rem); }
.band--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.band--moos { background: var(--moos); color: #DCE8D3; }
.band--moos h2, .band--moos h3 { color: #F3F7EC; }
.band--paper2 { background: var(--paper-2); }

/* Abschnitts-Kopf */
.sec-head { max-width: 62ch; margin-bottom: clamp(2.2rem, 5vw, 3.6rem); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .kicker { justify-content: center; }
.sec-head .lead { margin-bottom: 0; }
.sec-head--center .lead { margin-inline: auto; }

/* Kicker – mit den drei Punkten aus dem Logo */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tanne);
}
.kicker::before {
  content: "";
  width: 22px; height: 5px;
  background:
    radial-gradient(circle at 2.5px 2.5px, var(--magenta) 2.4px, transparent 2.8px) 0 0 / 8px 5px repeat-x;
  flex: none;
}
.band--moos .kicker { color: var(--blatt-hell); }

/* Sprunglink */
.skip {
  position: absolute; left: 1rem; top: -4rem;
  padding: .7rem 1rem; border-radius: 8px;
  background: var(--moos); color: #fff; z-index: 200;
  transition: top .2s;
}
.skip:focus { top: 1rem; }

/* Sichtbare Fokusringe */
:focus-visible { outline: 3px solid var(--blatt); outline-offset: 3px; border-radius: 4px; }

/* Screenreader-Text */
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --------------------------------------------------------------------------
   Wortmarke – als Text nachgebaut, das Blatt als eingebettete Grafik
   -------------------------------------------------------------------------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .05em;
  text-decoration: none;
  color: var(--tanne);
  line-height: 1;
  --logo-size: 1.9rem;
}
.logo__word {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--f-logo);
  font-weight: 600;
  font-size: var(--logo-size);
  letter-spacing: .06em;
  color: var(--tanne);
  white-space: nowrap;
}
.logo__cap { font-size: 1.28em; line-height: .8; }
.logo__sc  { font-size: 1em; line-height: .8; }
.logo__leaf {
  width: .42em; height: 1.02em;
  margin: 0 .02em 0 .05em;
  align-self: flex-end;
  transform: translateY(.02em);
  flex: none;
}
.logo__tag {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin-left: 1.55em;
  font-family: var(--f-body);
  font-size: calc(var(--logo-size) * .34);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blatt);
  transform: translateY(-.15em);
}
.logo__tag::before {
  content: "";
  width: 17px; height: 4px; flex: none;
  background: radial-gradient(circle at 2px 2px, var(--magenta) 1.9px, transparent 2.3px) 0 0 / 6.5px 4px repeat-x;
}
.logo--light .logo__word { color: #F3F7EC; }
.logo--light .logo__tag { color: var(--blatt-hell); }
.logo--xl { --logo-size: clamp(2.6rem, 6vw, 4.4rem); }

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */
.head-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1.1rem;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.head-bar.is-stuck {
  padding-block: .65rem;
  background: rgba(247, 245, 239, .88);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.head-bar__in {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.head-bar .logo { --logo-size: 1.75rem; }
.head-bar.is-stuck .logo { --logo-size: 1.5rem; }

.nav { display: flex; align-items: center; gap: .2rem; }
.nav a {
  padding: .55rem .85rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--tanne-dark); background: rgba(58, 115, 80, .08); }
.nav a.is-active { color: var(--tanne-dark); }
.nav a.btn { margin-left: .6rem; color: #fff; background: var(--tanne); }
.nav a.btn:hover { background: var(--tanne-dark); color: #fff; }

.burger {
  display: none;
  width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: flex; }
  .nav {
    position: absolute; top: calc(100% + .5rem); right: var(--gutter); left: var(--gutter);
    flex-direction: column; align-items: stretch;
    padding: .8rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav .btn { margin: .4rem 0 0; justify-content: center; }
  /* Unterseiten: kleines Menü ohne Klappmechanik */
  .nav--static {
    position: static; opacity: 1; transform: none; pointer-events: auto;
    flex-direction: row; padding: 0; border: 0; box-shadow: none; background: none;
  }
  .nav--static a { padding: .55rem .7rem; font-size: .95rem; }
}

/* --------------------------------------------------------------------------
   Knöpfe
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid var(--tanne);
  background: var(--tanne);
  color: #fff;
  font-family: var(--f-body);
  font-weight: 700; font-size: .98rem; line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--tanne-dark); border-color: var(--tanne-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: none; }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--tanne-dark); border-color: rgba(58, 115, 80, .45); }
.btn--ghost:hover { background: rgba(58, 115, 80, .08); color: var(--tanne-dark); box-shadow: none; }
.btn--light { background: #F3F7EC; border-color: #F3F7EC; color: var(--moos); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--moos); }
.btn--ghost-light { background: transparent; color: #F3F7EC; border-color: rgba(243, 247, 236, .45); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: none; }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }
.btn--sm { padding: .6rem 1rem; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --------------------------------------------------------------------------
   Aufmacher
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(7rem, 15vw, 10rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
/* Der Pflanzplan als leises Hintergrundmotiv */
.hero::before {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: min(70%, 900px);
  background: url("../img/plan-textur.png") no-repeat left top / 100% auto;
  opacity: .16;
  -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent 95%), linear-gradient(180deg, #000 40%, transparent 100%);
          mask-image: linear-gradient(90deg, #000 20%, transparent 95%), linear-gradient(180deg, #000 40%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero__text { max-width: 640px; }
.hero h1 { margin-bottom: .5em; }
.hero h1 .h1-accent { color: var(--tanne); font-style: italic; font-weight: 500; }
.hero .lead { margin-bottom: 2rem; }
.hero__note {
  display: flex; align-items: center; gap: .8rem;
  margin-top: 2.2rem;
  font-size: .9rem; color: var(--ink-3);
}
.hero__note b { color: var(--ink-2); font-weight: 600; }

.hero__media { position: relative; }
.hero__frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  background: var(--paper-3);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.2s var(--ease); }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(22, 48, 31, .55));
}
/* zweite, versetzte Rahmenlinie wie ein Passepartout */
.hero__media::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1.5px solid var(--blatt-hell); border-radius: calc(var(--r-lg) + 6px);
  z-index: -1;
}
.hero__caption {
  position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  display: flex; flex-direction: column; gap: .2rem;
  color: #fff;
}
.hero__caption b { font-family: var(--f-head); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; }
.hero__caption span { font-size: .85rem; opacity: .85; }
.hero__badge {
  position: absolute; top: 1.1rem; right: 1.1rem;
  padding: .45rem .8rem;
  background: rgba(247, 245, 239, .92);
  color: var(--tanne-dark);
  border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { margin-top: 1rem; max-width: 520px; }
  .hero__frame { aspect-ratio: 4 / 4.6; }
  .hero::before { width: 100%; opacity: .12; }
}

/* Fakten-Streifen unter dem Aufmacher */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts > div {
  padding: 1.4rem 1.2rem;
  border-left: 1px solid var(--line);
}
.facts > div:first-child { border-left: 0; padding-left: 0; }
.facts b {
  display: block;
  font-family: var(--f-head); font-weight: 700; font-size: 2rem; line-height: 1;
  color: var(--tanne-dark);
  font-variant-numeric: tabular-nums;
  margin-bottom: .35rem;
}
.facts > div > span { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 800px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* --------------------------------------------------------------------------
   Leistungen
   -------------------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.svc {
  position: relative;
  display: flex; flex-direction: column;
  padding: 2rem 1.8rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc__no {
  font-family: var(--f-head); font-weight: 500; font-style: italic;
  font-size: 1rem; color: var(--magenta);
  letter-spacing: .04em;
  margin-bottom: 1.2rem;
}
.svc__icon {
  width: 56px; height: 56px; margin-bottom: 1.3rem;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--blatt-pale);
  color: var(--tanne-dark);
}
.svc__icon svg { width: 28px; height: 28px; }
.svc h3 { margin-bottom: .25rem; }
.svc__sub { color: var(--tanne); font-weight: 600; font-size: .95rem; margin-bottom: 1rem; }
.svc p { color: var(--ink-2); font-size: 1rem; flex: 1; }
.svc__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-2); }
.tag {
  padding: .35rem .7rem;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--tanne-dark);
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
}
.tag--m { background: rgba(210, 55, 125, .1); color: var(--magenta-2); }
@media (max-width: 960px) { .services { grid-template-columns: 1fr; } }

/* Ablauf */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  counter-reset: schritt;
}
.step {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 0;
  counter-increment: schritt;
  border-top: 2px solid var(--line);
}
.step::before {
  content: counter(schritt, decimal-leading-zero);
  position: absolute; top: -2px; left: 0;
  height: 2px; width: 46px;
  background: var(--tanne);
  color: transparent; font-size: 0;
}
.step b { display: block; font-family: var(--f-head); font-size: 1.25rem; font-weight: 600; margin: .4rem 0 .35rem; }
.step small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--magenta); }
.step p { font-size: .93rem; color: var(--ink-2); margin: 0; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Monitoring-Block */
.monitor {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--moos);
  color: #DCE8D3;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.monitor::after {
  content: ""; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(127, 179, 90, .22), transparent 60%);
  pointer-events: none;
}
.monitor h3 { color: #F3F7EC; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.monitor p { color: #C6D6BC; }
.monitor .kicker { color: var(--blatt-hell); }
.counters { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.counter {
  padding: 1.2rem 1.2rem 1.1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
}
.counter b {
  display: flex; align-items: baseline; gap: .25rem;
  font-family: var(--f-head); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1;
  color: #fff; font-variant-numeric: tabular-nums;
}
.counter b small { font-size: .95rem; font-weight: 600; color: var(--blatt-hell); font-family: var(--f-body); }
.counter > span { display: block; margin-top: .45rem; font-size: .9rem; color: #C6D6BC; }
@media (max-width: 900px) { .monitor { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Referenzen
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 1rem;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--paper-3);
  cursor: zoom-in;
  border: 0; padding: 0; text-align: left;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile__cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.6rem 1.2rem 1.1rem;
  background: linear-gradient(180deg, transparent, rgba(22, 48, 31, .78));
  color: #fff;
  display: flex; flex-direction: column; gap: .1rem;
  transform: translateY(6px); opacity: .92;
  transition: transform .4s var(--ease), opacity .4s;
}
.tile:hover .tile__cap { transform: none; opacity: 1; }
.tile__cap b { font-family: var(--f-head); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.tile__cap span { font-size: .82rem; opacity: .85; }
.tile__plan { background: #fff; }
.tile__plan img { object-fit: cover; object-position: center top; }
.tile__plan .tile__cap { background: linear-gradient(180deg, transparent, rgba(22, 48, 31, .85)); }
.tile__pin {
  position: absolute; top: .9rem; left: .9rem;
  padding: .35rem .7rem;
  background: rgba(247, 245, 239, .93); color: var(--tanne-dark);
  border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.tile__pin--m { background: var(--magenta); color: #fff; }

.t-1 { grid-column: span 7; grid-row: span 2; }
.t-2 { grid-column: span 5; grid-row: span 3; }
.t-3 { grid-column: span 7; grid-row: span 2; }
.t-4 { grid-column: span 5; grid-row: span 3; }
.t-5 { grid-column: span 4; grid-row: span 2; }
.t-6 { grid-column: span 3; grid-row: span 2; }

@media (max-width: 960px) {
  .gallery { grid-auto-rows: 170px; }
  .t-1, .t-3 { grid-column: span 12; grid-row: span 2; }
  .t-2, .t-4 { grid-column: span 6; grid-row: span 3; }
  .t-5, .t-6 { grid-column: span 6; grid-row: span 2; }
}
@media (max-width: 560px) {
  .gallery { grid-auto-rows: 150px; }
  .t-1, .t-3 { grid-row: span 2; }
  .t-2, .t-4 { grid-column: span 12; grid-row: span 3; }
  .t-5, .t-6 { grid-column: span 12; grid-row: span 3; }
}

/* Weitere Referenzen als ruhige Liste */
.reflist {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem;
}
.reflist ul { list-style: none; margin: 0; padding: 0; }
.reflist li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.reflist li b { font-weight: 600; }
.reflist li > span:first-child { color: var(--ink-2); }
.reflist li > span:last-child { color: var(--ink-3); font-size: .88rem; white-space: nowrap; }
.reflist h4 { margin: 0 0 .3rem; color: var(--tanne); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 760px) { .reflist { grid-template-columns: 1fr; } .reflist > div + div { margin-top: 2rem; } }

/* Pflanzpläne zum Download */
.downloads { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.dl {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 1.2rem; align-items: center;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.dl:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.dl__thumb { width: 96px; height: 96px; border-radius: var(--r-sm); overflow: hidden; background: #fff; border: 1px solid var(--line-2); }
.dl__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.dl b { display: block; font-family: var(--f-head); font-size: 1.15rem; font-weight: 600; }
.dl span { display: block; font-size: .85rem; color: var(--ink-3); }
.dl__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; background: var(--blatt-pale); color: var(--tanne-dark); }
.dl__ico svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .downloads { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox {
  border: 0; padding: 0; margin: auto;
  width: min(96vw, 1500px); max-width: none; max-height: none;
  background: transparent;
}
.lightbox::backdrop { background: rgba(10, 20, 14, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__body { position: relative; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lightbox__img {
  max-width: 100%; max-height: 82vh;
  border-radius: var(--r-sm);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  background: #fff;
  transition: opacity .3s;
}
.lightbox.is-loading .lightbox__img { opacity: .35; }
.lightbox__body::before {
  content: ""; position: absolute; left: 50%; top: 40%; z-index: 1;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--blatt); border-radius: 999px;
  animation: dreh .9s linear infinite;
  opacity: 0; transition: opacity .2s;
}
.lightbox.is-loading .lightbox__body::before { opacity: 1; }
@keyframes dreh { to { transform: rotate(360deg); } }
.lightbox__cap { color: #DCE8D3; text-align: center; font-size: .95rem; }
.lightbox__cap b { color: #fff; font-family: var(--f-head); font-size: 1.15rem; display: block; }
.lightbox__x, .lightbox__prev, .lightbox__next {
  position: fixed; z-index: 2;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
}
.lightbox__x:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255, 255, 255, .22); }
.lightbox__x { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox svg { width: 20px; height: 20px; }
.lightbox__hint { color: #9FB894; font-size: .8rem; }

/* --------------------------------------------------------------------------
   Haltung
   -------------------------------------------------------------------------- */
.quote {
  position: relative;
  max-width: 24ch;
  margin: 0 0 clamp(2.5rem, 5vw, 4rem);
  font-family: var(--f-head); font-weight: 500; font-style: italic;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem); line-height: 1.12; letter-spacing: -.01em;
  color: #F3F7EC;
}
.quote::before {
  content: "„"; position: absolute; left: -.55em; top: -.05em;
  color: var(--blatt); font-style: normal;
}
.quote cite { display: block; margin-top: 1rem; font-family: var(--f-body); font-style: normal; font-size: .95rem; color: var(--blatt-hell); }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.principle {
  padding: 1.8rem 1.6rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
}
.principle__no { font-family: var(--f-head); font-style: italic; color: var(--magenta); font-size: 1rem; margin-bottom: 1rem; display: block; }
.principle h3 { font-size: 1.35rem; color: #F3F7EC; margin-bottom: .5rem; }
.principle p { color: #C6D6BC; font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr; } }

/* Ein Naturgarten in Zahlen */
.plantlist {
  margin-top: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.plantlist h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.plantlist p { color: #C6D6BC; }
.plantlist ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.5rem; }
.plantlist li {
  display: grid; grid-template-columns: 4ch 1fr; gap: .8rem; align-items: baseline;
  padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .95rem; color: #DCE8D3;
}
.plantlist li b { font-family: var(--f-head); font-weight: 700; font-size: 1.3rem; color: #fff; text-align: right; font-variant-numeric: tabular-nums; }
.plantlist li i { display: block; font-style: italic; color: #9FB894; font-size: .8rem; }
@media (max-width: 900px) { .plantlist { grid-template-columns: 1fr; } .plantlist ul { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Über
   -------------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.about__media { position: sticky; top: 6rem; }
.about__frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--paper-3); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__cap { margin-top: .8rem; font-size: .85rem; color: var(--ink-3); }
.about__name {
  margin-top: 1.4rem; padding: 1.2rem 1.4rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
}
.about__name b { display: block; font-family: var(--f-head); font-size: 1.3rem; font-weight: 600; }
.about__name span { display: block; color: var(--ink-2); font-size: .92rem; }
.about__text p { color: var(--ink-2); }
.about__text .lead { color: var(--ink); }
.namebox {
  margin: 1.8rem 0 2.2rem; padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--magenta);
  background: var(--paper-2); border-radius: 0 var(--r) var(--r) 0;
}
.namebox b { font-family: var(--f-logo); font-size: 1.55rem; letter-spacing: .06em; color: var(--tanne); font-weight: 600; }
.namebox p { margin: .3rem 0 0; font-size: .98rem; }

/* Lebenslauf */
.timeline { list-style: none; margin: 2.5rem 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5.4rem; top: .4rem; bottom: .4rem; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1.6rem; padding: .7rem 0; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: calc(5.4rem - 4px); top: 1.25rem;
  width: 9px; height: 9px; border-radius: 999px; background: var(--blatt); outline: 3px solid var(--paper);
}
.timeline li.is-hi::before { background: var(--magenta); }
.timeline time { font-family: var(--f-head); font-weight: 700; color: var(--tanne-dark); font-variant-numeric: tabular-nums; text-align: right; padding-top: .1rem; }
.timeline b { display: block; font-weight: 600; }
.timeline span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 960px) { .about { grid-template-columns: 1fr; } .about__media { position: static; } }
@media (max-width: 480px) {
  .timeline::before { left: 3.6rem; }
  .timeline li { grid-template-columns: 3rem 1fr; gap: 1.2rem; }
  .timeline li::before { left: calc(3.6rem - 4px); }
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact__info dl { margin: 1.5rem 0 0; display: grid; gap: 1.1rem; }
.contact__info dt { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tanne); margin-bottom: .2rem; }
.contact__info dd { margin: 0; font-size: 1.05rem; }
.contact__info dd a { font-weight: 600; text-decoration: none; }
.contact__info dd a:hover { text-decoration: underline; }
.contact__info address { font-style: normal; }
.contact__hint {
  margin-top: 2rem; padding: 1.2rem 1.4rem;
  background: var(--blatt-pale); border-radius: var(--r);
  font-size: .95rem; color: var(--tanne-dark);
}

.form {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field label i { font-style: normal; color: var(--magenta); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--tanne); background: #fff;
  box-shadow: 0 0 0 4px rgba(58, 115, 80, .14);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2347574C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .88rem; color: var(--ink-2); }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--tanne); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }
.form__foot small { color: var(--ink-3); }
.trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.note { padding: 1rem 1.2rem; border-radius: 12px; font-size: .95rem; margin-top: 1rem; }
.note--ok { background: var(--blatt-pale); color: var(--tanne-dark); }
.note--err { background: rgba(210, 55, 125, .1); color: var(--magenta-2); }
.form__done { text-align: center; padding: 2rem 1rem; }
.form__done svg { width: 56px; height: 56px; margin: 0 auto 1rem; color: var(--tanne); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Fußzeile
   -------------------------------------------------------------------------- */
.foot { background: var(--moos); color: #C6D6BC; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot h4 { color: #F3F7EC; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .9rem; }
.foot p { font-size: .95rem; margin: 0 0 .6rem; }
.foot a { color: #DCE8D3; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.foot__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem;
  margin-top: 3rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem; color: #9FB894;
}
.foot__bar button { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }
.foot__bar a { color: #C6D6BC; }
@media (max-width: 800px) { .foot__grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* --------------------------------------------------------------------------
   Cookie-Hinweis
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150;
  max-width: 440px; margin-left: auto;
  padding: 1.3rem 1.4rem;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow);
  transform: translateY(20px); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease), opacity .4s;
}
.cookie.is-in { transform: none; opacity: 1; pointer-events: auto; }
.cookie h4 { margin: 0 0 .4rem; }
.cookie p { font-size: .9rem; color: var(--ink-2); margin-bottom: .9rem; }
.cookie__row { display: flex; flex-wrap: wrap; gap: .5rem; }

/* --------------------------------------------------------------------------
   Rechtliches
   -------------------------------------------------------------------------- */
.legal { padding: clamp(7rem, 14vw, 9rem) 0 clamp(4rem, 8vw, 6rem); }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2.4rem; }
.legal p, .legal li, .legal dd { color: var(--ink-2); }
.legal address { font-style: normal; line-height: 1.6; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.6rem; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; }
.legal ul { padding-left: 1.2rem; }
.legal code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--paper-2); padding: .1em .35em; border-radius: 4px; }
.legal__back { display: flex; width: max-content; align-items: center; gap: .5rem; margin-bottom: 2rem; font-weight: 600; text-decoration: none; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .1rem 0; } .legal dd { margin-bottom: .7rem; } }

/* Lücken, die vor dem Livegang gefüllt werden müssen */
.todo {
  padding: .05em .4em;
  border: 1.5px dashed var(--magenta);
  border-radius: 6px;
  color: var(--magenta-2);
  background: rgba(210, 55, 125, .06);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Einblendungen
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Trennlinie mit den drei Punkten */
.dots-rule { display: flex; align-items: center; gap: 1rem; margin: clamp(2rem, 5vw, 3.5rem) 0; color: var(--magenta); }
.dots-rule::before, .dots-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dots-rule span { width: 26px; height: 6px; background: radial-gradient(circle at 3px 3px, currentColor 2.8px, transparent 3.2px) 0 0 / 10px 6px repeat-x; }

/* Druck */
@media print {
  .head-bar, .cookie, .burger, .btn, .lightbox { display: none !important; }
  body { background: #fff; color: #000; }
  .band--moos, .monitor, .foot { background: #fff !important; color: #000 !important; }
}

/* ==========================================================================
   Ergänzungen Oktober 2026
   Größere Wortmarke, Hero-Video, Leistungsplaner, Projektgalerie
   ========================================================================== */

/* -------------------------------------------------------- Wortmarke groß */
/* Beate wollte das Logo oben links deutlich präsenter. */
/* Zwei Klassen, damit die aeltere Regel `.head-bar .logo` nicht gewinnt. */
.head-bar .logo--kopf { --logo-size: 4.4rem; }
.head-bar.is-stuck .logo--kopf { --logo-size: 2.5rem; }
@media (max-width: 1250px) { .head-bar .logo--kopf { --logo-size: 3.4rem; } }
@media (max-width: 1000px) { .head-bar .logo--kopf { --logo-size: 2.8rem; } }
@media (max-width: 700px) {
  .head-bar .logo--kopf { --logo-size: 2.3rem; }
  .head-bar.is-stuck .logo--kopf { --logo-size: 1.9rem; }
}

/* Die Marke im Kopf traegt kraeftiger: etwas mehr Gewicht, die Unterzeile
   groesser und naeher an der Wortmarke, das Blatt ein Stueck praesenter. */
.head-bar .logo--kopf .logo__word { font-weight: 600; letter-spacing: .055em; }
.head-bar .logo--kopf .logo__leaf { width: .46em; height: 1.08em; margin: 0 .03em 0 .06em; }
.head-bar .logo--kopf .logo__tag {
  margin-left: 1.5em;
  font-size: calc(var(--logo-size) * .255);
  letter-spacing: .2em;
  font-weight: 700;
  transform: translateY(-.1em);
}
@media (max-width: 700px) {
  .head-bar .logo--kopf .logo__tag { letter-spacing: .14em; }
}

/* Etwas mehr Luft um die groessere Marke */
.head-bar { padding-block: 1rem; }
.head-bar.is-stuck { padding-block: .7rem; }
.logo__word { transition: font-size .3s var(--ease); }

/* Damit die große Marke immer lesbar bleibt, bekommt die Leiste von Anfang
   an einen leichten Verlauf statt erst beim Scrollen. */
.head-bar:not(.is-stuck) {
  background: linear-gradient(180deg, rgba(247,245,239,.97) 35%, rgba(247,245,239,0));
}

/* Über dem Video steht die Leiste hell auf dunklem Grund. */
body.hat-video .head-bar:not(.is-stuck) {
  background: linear-gradient(180deg, rgba(10,22,14,.6), rgba(10,22,14,0));
}
body.hat-video .head-bar:not(.is-stuck) .logo__word { color: #F3F7EC; }
body.hat-video .head-bar:not(.is-stuck) .logo__tag { color: var(--blatt-hell); }
body.hat-video .head-bar:not(.is-stuck) .nav a:not(.btn) { color: #E4EDDD; }
body.hat-video .head-bar:not(.is-stuck) .nav a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.14); }
body.hat-video .head-bar:not(.is-stuck) .burger { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.32); }
body.hat-video .head-bar:not(.is-stuck) .burger span { background: #fff; }

/* ------------------------------------------------------------ Hero-Video */
.hero--video {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex; align-items: center;
  padding-top: clamp(8rem, 16vw, 12rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  color: #F3F7EC;
}
.hero--video::before { display: none; }
.hero__film { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: var(--moos); }
.hero__film video { width: 100%; height: 100%; object-fit: cover; }
.hero__schleier {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,22,14,.9) 0%, rgba(10,22,14,.74) 46%, rgba(10,22,14,.42) 82%),
    linear-gradient(0deg, rgba(10,22,14,.6), transparent 42%),
    linear-gradient(180deg, rgba(10,22,14,.5), transparent 28%);
}
/* Sobald der Text ueber die ganze Breite laeuft, braucht es einen
   senkrechten Schleier – der seitliche laesst rechts zu viel Himmel durch. */
@media (max-width: 900px) {
  .hero__schleier {
    background:
      linear-gradient(180deg, rgba(10,22,14,.8) 0%, rgba(10,22,14,.72) 45%, rgba(10,22,14,.85) 100%);
  }
}
.hero--video .wrap { position: relative; z-index: 1; }
.hero--video .hero__grid { grid-template-columns: minmax(0, 1fr); }
.hero--video .hero__text { max-width: 740px; }
.hero--video h1 { color: #FFFFFF; text-shadow: 0 2px 24px rgba(8,18,12,.5); }
.hero--video .lead, .hero--video .kicker { text-shadow: 0 1px 12px rgba(8,18,12,.45); }
.hero--video h1 .h1-accent { color: var(--blatt-hell); }
.hero--video .kicker { color: var(--blatt-hell); }
.hero--video .lead { color: #DCE8D3; }
.hero--video .hero__note { color: #BCCDB4; }
.hero--video .hero__note b { color: #E4EDDD; }
.hero--video .btn--ghost { color: #F3F7EC; border-color: rgba(243,247,236,.5); }
.hero--video .btn--ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ------------------------------------------------- Leistung hervorgehoben */
.svc--stark {
  border-color: var(--tanne);
  box-shadow: 0 0 0 1px var(--tanne), var(--shadow);
  background: linear-gradient(180deg, var(--blatt-pale), var(--white) 58%);
}
.svc__fahne {
  position: absolute; top: 1.1rem; right: 1.1rem;
  padding: .28rem .7rem; border-radius: 999px;
  background: var(--magenta); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.svc__weiter {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.2rem; padding: 0; border: 0; background: none;
  color: var(--tanne-dark); font: inherit; font-weight: 700; font-size: .95rem;
  cursor: pointer; text-align: left;
}
.svc__weiter svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.svc__weiter:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------ Leistungsplaner */
.planer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.planer__schritte {
  display: flex; list-style: none; margin: 0; padding: 0;
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.planer__schritte li {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem .6rem; font-size: .88rem; font-weight: 600; color: var(--ink-3);
  border-right: 1px solid var(--line);
}
.planer__schritte li:last-child { border-right: 0; }
.planer__schritte li span {
  width: 23px; height: 23px; display: grid; place-items: center; flex: none;
  border-radius: 999px; background: var(--paper-3); color: var(--ink-2);
  font-size: .78rem; font-weight: 700;
}
.planer__schritte li.is-aktiv { color: var(--tanne-dark); background: var(--white); }
.planer__schritte li.is-aktiv span { background: var(--tanne); color: #fff; }
.planer__schritte li.is-fertig span { background: var(--blatt); color: #fff; }
@media (max-width: 560px) {
  .planer__schritte li { flex-direction: column; gap: .25rem; font-size: .74rem; text-align: center; }
}

.planer__buehne { padding: clamp(1.3rem, 4vw, 2.2rem); }
.planer__frage {
  font-family: var(--f-head); font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.2; margin: 0 0 1.2rem;
}
.planer__fuss { padding: 0 clamp(1.3rem, 4vw, 2.2rem) 1.3rem; margin: 0; }

.wahl { display: grid; gap: .7rem; }
.wahl--3 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.wahl__knopf {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem 1.1rem; text-align: left;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r);
  cursor: pointer; font: inherit; color: var(--ink);
  transition: border-color .18s, background .18s, transform .18s var(--ease);
}
.wahl__knopf:hover { border-color: var(--blatt); transform: translateY(-2px); }
.wahl__knopf.is-gewaehlt { border-color: var(--tanne); background: var(--blatt-pale); }
.wahl__knopf b { font-weight: 600; }
.wahl__knopf small { color: var(--ink-3); font-size: .85rem; line-height: 1.4; }

.baustein {
  display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: start;
  padding: .85rem 1rem; margin-bottom: .5rem;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r);
  cursor: pointer;
}
.baustein:hover { border-color: var(--blatt); }
.baustein.is-gewaehlt { border-color: var(--tanne); background: var(--blatt-pale); }
.baustein input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--tanne); }
.baustein b { display: block; font-weight: 600; }
.baustein small { color: var(--ink-2); font-size: .87rem; line-height: 1.45; }
.baustein__preis { font-family: var(--f-head); font-weight: 700; color: var(--tanne-dark); white-space: nowrap; }
.baustein__preis small { display: block; font-family: var(--f-body); font-weight: 500; color: var(--ink-3); font-size: .75rem; }

.planer__knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.4rem; }
.planer__zurueck {
  background: none; border: 0; padding: 0; color: var(--ink-3);
  font: inherit; font-size: .92rem; cursor: pointer; text-decoration: underline;
}
.planer__zurueck:hover { color: var(--ink); }

.planer__fazit { padding: 1.2rem 1.3rem; background: var(--blatt-pale); border-radius: var(--r); margin-bottom: 1.2rem; }
.planer__fazit h4 { margin: 0 0 .5rem; font-family: var(--f-head); font-size: 1.1rem; font-weight: 600; }
.planer__fazit ul { margin: 0; padding-left: 1.1rem; font-size: .93rem; color: var(--ink-2); }
.planer__fazit li { margin-bottom: .2rem; }

/* Zusammenfassung über dem Kontaktformular */
.form__planer {
  padding: .9rem 1.1rem; margin-bottom: 1.2rem;
  background: var(--blatt-pale); border-radius: var(--r); font-size: .9rem;
}
.form__planer b { display: block; font-family: var(--f-head); font-size: 1.05rem; margin-bottom: .2rem; }
.form__planer ul { margin: .4rem 0 0; padding-left: 1.1rem; color: var(--ink-2); }
.form__planer button {
  margin-top: .6rem; background: none; border: 0; padding: 0;
  color: var(--tanne-dark); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline;
}

/* -------------------------------------------------------- Projektgalerie */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.filter__knopf {
  padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--white); color: var(--ink-2);
  font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.filter__knopf small { font-weight: 500; opacity: .6; margin-left: .2rem; }
.filter__knopf:hover { border-color: var(--blatt); color: var(--tanne-dark); }
.filter__knopf.is-aktiv { background: var(--tanne); border-color: var(--tanne); color: #fff; }
.filter__knopf.is-aktiv small { opacity: .8; }

.projekte { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.pkarte {
  position: relative; display: flex; flex-direction: column;
  padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--white); box-shadow: var(--shadow-sm);
  cursor: pointer; text-align: left; font: inherit; color: var(--ink);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pkarte:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pkarte.is-aus { display: none; }
.pkarte__bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3); }
.pkarte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pkarte:hover .pkarte__bild img { transform: scale(1.05); }
.pkarte__marken { position: absolute; top: .9rem; left: .9rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.pkarte__marke {
  padding: .3rem .65rem; border-radius: 999px;
  background: rgba(247,245,239,.94); color: var(--tanne-dark);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.pkarte__marke--m { background: var(--magenta); color: #fff; }
.pkarte__text { display: block; padding: 1.1rem 1.2rem 1.3rem; }
.pkarte__text b { display: block; font-family: var(--f-head); font-size: 1.25rem; font-weight: 600; line-height: 1.2; margin-bottom: .2rem; }
.pkarte__text > span { display: block; color: var(--ink-2); font-size: .95rem; }
.pkarte__meta { margin-top: .5rem; color: var(--ink-3) !important; font-size: .83rem !important; }

/* --------------------------------------------------------- Projektansicht */
.pschau {
  width: min(96vw, 1180px); max-width: none; max-height: 92vh;
  padding: 0; border: 0; border-radius: var(--r-lg);
  background: var(--paper); color: var(--ink); box-shadow: var(--shadow);
}
.pschau::backdrop { background: rgba(10,22,14,.82); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.pschau__x {
  position: fixed; top: 1.1rem; right: 1.1rem; z-index: 3;
  width: 42px; height: 42px; padding: 0; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(247,245,239,.92); color: var(--ink); cursor: pointer;
}
.pschau__x:hover { background: #fff; }
.pschau__x svg { width: 18px; height: 18px; }
.pschau__rumpf { max-height: 92vh; overflow-y: auto; }

.pschau__kopf { padding: clamp(1.4rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 2.4rem) 0; max-width: 760px; }
.pschau__kopf h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: .4rem; }
.pschau__meta { color: var(--ink-3); font-size: .92rem; margin-bottom: 1rem; }
.pschau__kopf p { color: var(--ink-2); }

.pschau__schalter { display: flex; gap: .5rem; padding: 0 clamp(1.4rem, 4vw, 2.4rem) 1.2rem; flex-wrap: wrap; }

.pgalerie {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .7rem; padding: 0 clamp(1.4rem, 4vw, 2.4rem) clamp(1.4rem, 4vw, 2.4rem);
}
.pgalerie__bild {
  position: relative; padding: 0; border: 0; border-radius: var(--r);
  overflow: hidden; background: var(--paper-3); cursor: zoom-in; aspect-ratio: 4 / 3;
}
.pgalerie__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pgalerie__bild:hover img { transform: scale(1.05); }
.pgalerie__bild.is-aus { display: none; }
.pgalerie__kopf {
  position: absolute; inset: auto 0 0 0; padding: 2rem .8rem .7rem;
  background: linear-gradient(180deg, transparent, rgba(22,48,31,.82));
  color: #fff; text-align: left; font-size: .84rem; line-height: 1.35;
}
.pgalerie__kopf b { display: block; font-family: var(--f-head); font-size: 1rem; font-weight: 600; }
.pgalerie__phase {
  position: absolute; top: .6rem; left: .6rem;
  padding: .22rem .55rem; border-radius: 999px;
  background: var(--magenta); color: #fff;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pgalerie__phase--plan { background: var(--tanne); }

@media (max-width: 560px) {
  .pgalerie { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .pschau { width: 100vw; max-height: 100vh; border-radius: 0; }
  .pschau__rumpf { max-height: 100vh; }
}

/* Ladezustand der Bildansicht */
.lightbox__img { transition: opacity .2s; }
.lightbox.is-loading .lightbox__img { opacity: .4; }

/* ==========================================================================
   Feinschliff für Telefone
   --------------------------------------------------------------------------
   Die Werte weiter oben sind für Laptop und Tablet gedacht. Auf einem
   Telefon wirken sie wuchtig: Die Knöpfe brechen um, die Überschriften
   füllen halbe Bildschirme, der Fakten-Streifen wird 500 Pixel hoch.
   Dieser Block zieht das zurecht. Er steht am Ende der Datei, damit er die
   früheren Regeln überschreibt, ohne dass irgendwo !important nötig wäre.
   ========================================================================== */

@media (max-width: 700px) {

  /* ------------------------------------------------------------ Schrift
     16 Pixel Grundschrift, Überschriften deutlich kleiner. Die Zahlen
     bleiben fett – sie sollen auch klein noch kräftig lesbar sein. */
  body { font-size: 1rem; line-height: 1.6; }
  h1 { font-size: clamp(2.05rem, 8.8vw, 2.45rem); line-height: 1.1; }
  h2 { font-size: clamp(1.62rem, 7vw, 2rem); line-height: 1.12; }
  h3 { font-size: 1.22rem; }
  h4 { font-size: 1.02rem; }
  .lead { font-size: 1.02rem; line-height: 1.55; }
  .kicker { font-size: .72rem; }

  /* -------------------------------------------------------------- Knöpfe
     Schlanker, aber mit mindestens 44 Pixel Höhe – das ist die Größe,
     die ein Daumen sicher trifft. */
  .btn { padding: .72rem 1.15rem; font-size: .92rem; min-height: 44px; }
  .btn--lg { padding: .78rem 1.25rem; font-size: .95rem; }
  .btn--sm { padding: .55rem .95rem; font-size: .84rem; min-height: 40px; }
  .btn svg { width: 16px; height: 16px; }
  .btn-row { gap: .6rem; }

  /* ----------------------------------------------------------- Aufmacher
     Weniger Luft über dem Text und etwas weniger Höhe: Die Knöpfe sollen
     auf einem 812 Pixel hohen Bildschirm noch ohne Scrollen sichtbar sein. */
  .hero { padding-top: 6.2rem; padding-bottom: 2.6rem; }
  .hero--video {
    min-height: 0;
    padding-top: 6.6rem;
    padding-bottom: 3.4rem;
  }
  .hero .lead { margin-bottom: 1.5rem; }
  .hero__note { margin-top: 1.6rem; font-size: .85rem; }

  /* ------------------------------------------------------------- Abstände */
  .band { padding-block: 3.4rem; }
  .band--tight { padding-block: 2.4rem; }
  .sec-head { margin-bottom: 1.8rem; }

  /* -------------------------------------------------------------- Zahlen */
  .counter { padding: 1rem 1rem .95rem; }
  .counter b { font-size: 2.1rem; }

  /* -------------------------------------------------------------- Planer
     Drei Schritte müssen in eine Zeile von 343 Pixeln passen. */
  .planer__schritte li { padding: .7rem .4rem; font-size: .76rem; gap: .35rem; }
  .planer__schritte li span { width: 20px; height: 20px; font-size: .7rem; }
  .planer__kopf h3 { font-size: 1.2rem; }

  /* -------------------------------------------------------------- Fußzeile */
  .foot { padding-top: 2.6rem; }
  .foot__grid { gap: 1.5rem; }
  .foot__bar { margin-top: 1.8rem; padding-top: 1.1rem; }
}

@media (max-width: 560px) {

  /* ------------------------------------------------- Knöpfe im Aufmacher
     Nebeneinander passen sie nicht, nebeneinander-mit-Umbruch sieht
     zerrupft aus. Also sauber untereinander über die ganze Breite. */
  .hero .btn-row { display: grid; grid-template-columns: 1fr; gap: .55rem; }
  .hero .btn-row .btn { width: 100%; }

  /* ------------------------------------------------------ Fakten-Streifen
     Statt zwei schmaler Spalten, in denen jede Beschriftung vierfach
     umbricht: vier flache Zeilen mit der Zahl vorn. */
  .facts { grid-template-columns: 1fr; }
  .facts > div {
    display: flex; align-items: baseline; gap: .85rem;
    padding: .9rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .facts > div:last-child { border-bottom: 0; }
  .facts b { margin-bottom: 0; font-size: 1.65rem; flex: none; min-width: 3.6rem; }
  .facts > div > span { font-size: .88rem; }

  /* ------------------------------------------------------- Cookie-Hinweis
     Sitzt am unteren Rand über die ganze Breite und ist deutlich flacher,
     damit er nicht den halben Aufmacher verdeckt. */
  .cookie {
    left: 0; right: 0; bottom: 0;
    max-width: none; margin-left: 0;
    padding: .95rem 1.1rem 1.05rem;
    border-radius: var(--r) var(--r) 0 0;
    border-left: 0; border-right: 0; border-bottom: 0;
  }
  .cookie h4 { font-size: .95rem; margin-bottom: .25rem; }
  .cookie p { font-size: .8rem; line-height: 1.45; margin-bottom: .7rem; }
  .cookie__row { gap: .45rem; }
  .cookie__row .btn { flex: 1 1 auto; min-height: 42px; }
}

@media (max-width: 560px) {

  /* Die drei Planer-Schritte: Zahl über die Beschriftung, sonst bricht
     „Ihr Vorhaben“ neben dem Kreis zweizeilig um. */
  .planer__schritte li {
    flex-direction: column; gap: .3rem;
    padding: .65rem .3rem; font-size: .72rem;
    text-align: center; line-height: 1.2;
  }

  /* Fakten: Beschriftung etwas enger, damit aus drei Zeilen zwei werden */
  .facts > div > span { font-size: .85rem; line-height: 1.4; }

  /* Fußzeile: Anschrift über die ganze Breite, die beiden Linklisten
     nebeneinander. Spart rund 150 Pixel Scrollweg. */
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; }
  .foot__grid > *:first-child { grid-column: 1 / -1; }
  .foot ul { gap: .35rem; font-size: .9rem; }
  .foot__bar { gap: .5rem 1rem; font-size: .8rem; }
}

/* ==========================================================================
   Pflegbare Inhalte (Oktober 2026)
   ========================================================================== */

/* Ein ausgeblendeter Text („-“ in der Verwaltung) hinterlässt keine Lücke */
.kicker:empty, .lead:empty, .sec-head h2:empty, .about__cap:empty,
.svc__sub:empty, .hero__note span:empty, .contact__hint:empty { display: none; }

/* Hervorgehobene Projekte erscheinen als breite Karte */
@media (min-width: 900px) {
  .pkarte--gross { grid-column: span 2; }
  /* 8:3 über zwei Spalten ergibt genau die Höhe der 4:3-Bilder daneben */
  .pkarte--gross .pkarte__bild { aspect-ratio: 8 / 3; }
}

.legal h1 { hyphens: auto; -webkit-hyphens: auto; }
