/* Garten- und Landschaftsbau Dette GmbH – Entwurf. Farben, Schrift und Abstände stehen hier oben als Variablen. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-variabel.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  /* Farben: Grün aus dem bisherigen Auftritt, dunkler und ruhiger eingesetzt */
  --tann: #12301d;          /* dunkelster Ton: Fußzeile, dunkle Bänder */
  --wald: #1f4a2e;          /* Markenfarbe, weißer Text darauf erfüllt WCAG AA */
  --blatt: #2f7a43;         /* Links und Akzente auf hellem Grund */
  --mai: #c3e08e;           /* Akzent nur auf dunklem Grund */
  --creme: #f7f4ec;
  --sand: #ece6d6;
  --weiss: #ffffff;
  --text: #1b2a20;
  --text-leise: #55635a;
  --linie: #d9d3c2;
  --erde: #8a5a3c;

  --schrift: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breite: 1180px;
  --rand: clamp(1.1rem, 4vw, 2.5rem);
  --abschnitt: clamp(4rem, 9vw, 7.5rem);
  --radius: 18px;
  --radius-klein: 12px;
  --schatten: 0 18px 40px -24px rgba(18, 48, 29, 0.45);
  --kopf-hoehe: 60px;
}
@media (min-width: 900px) { :root { --kopf-hoehe: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--creme); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blatt); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 6.2vw, 4.25rem); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
:focus-visible { outline: 3px solid var(--blatt); outline-offset: 3px; border-radius: 6px; }
.dunkel :focus-visible, .fuss :focus-visible { outline-color: var(--mai); }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--wald); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.sprung:focus { top: 1rem; }

.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--sand { background: var(--sand); }
.dunkel { background: var(--wald); color: #fff; }
.dunkel a { color: var(--mai); }
.marke { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blatt); margin-bottom: 1rem; }
.marke::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; }
.dunkel .marke { color: var(--mai); }
.kopfzeile { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.kopfzeile p { margin-top: 1rem; color: var(--text-leise); font-size: 1.125rem; }
.dunkel .kopfzeile p { color: rgba(255, 255, 255, .82); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .8rem 1.5rem; border: 2px solid var(--wald); border-radius: 999px; background: var(--wald); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.knopf:hover { transform: translateY(-2px); background: var(--tann); border-color: var(--tann); box-shadow: var(--schatten); }
.knopf--linie { background: transparent; color: var(--wald); }
.knopf--linie:hover { background: var(--wald); color: #fff; }
.knopf--hell { background: var(--mai); border-color: var(--mai); color: var(--tann); }
.knopf--hell:hover { background: #fff; border-color: #fff; color: var(--tann); }
.dunkel .knopf--hell, .dunkel .knopf--hell:hover { color: var(--tann); }
.knopf svg { width: 1.15em; height: 1.15em; flex: none; }

/* Kopfleiste */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 236, .97); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.kopf.ist-gescrollt { border-color: var(--linie); box-shadow: 0 10px 30px -24px rgba(18, 48, 29, .6); }
.kopf__zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--kopf-hoehe); }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--wald); text-decoration: none; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo__text { display: grid; line-height: 1.05; }
.logo__name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.logo__zusatz { font-size: .62rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--text-leise); margin-top: 3px; }
.fuss .logo { color: #fff; }
.fuss .logo__zusatz { color: rgba(255, 255, 255, .7); }
.menue ul { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.menue a, .kopf .knopf { white-space: nowrap; }
.menue a { color: var(--text); font-weight: 600; font-size: .97rem; text-decoration: none; padding: .4rem 0; background: linear-gradient(var(--blatt), var(--blatt)) left bottom / 0 2px no-repeat; transition: background-size .25s ease; }
.menue a:hover { background-size: 100% 2px; }
.kopf__rechts { display: flex; align-items: center; gap: .5rem; }
.kopf__tel { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 44px; height: 44px; padding: 0 .6rem; border-radius: 999px; color: var(--wald); font-weight: 700; text-decoration: none; white-space: nowrap; }
.kopf__tel svg { width: 22px; height: 22px; }
.kopf__tel span { display: none; }
.kopf .knopf { min-height: 44px; padding: .5rem 1.15rem; font-size: .95rem; display: none; }
.burger { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--wald); color: #fff; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, background .2s ease; }
.burger span { position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 899px) {
  .menue { position: absolute; left: 0; right: 0; top: 100%; background: var(--creme); border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); padding: .5rem var(--rand) 1.5rem; display: none; }
  .menue.ist-offen { display: block; }
  .menue ul { flex-direction: column; align-items: stretch; gap: 0; }
  .menue a { display: block; padding: 1rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--linie); background: none; }
  .menue .knopf { display: flex; margin-top: 1.25rem; color: #fff; background: var(--wald); border-bottom: 2px solid var(--wald); padding: .8rem 1.5rem; font-size: 1rem; }
}
@media (min-width: 900px) {
  .burger, .menue li.nur-mobil { display: none; }
  .kopf .knopf { display: inline-flex; }
  .kopf__tel span { display: inline; }
}
@media (min-width: 900px) and (max-width: 1080px) { .kopf__tel span { display: none; } }

/* Start */
.start { position: relative; overflow: hidden; padding-block: clamp(2.25rem, 6vw, 5rem) 0; }
.start__raster { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.start__text p.gross { margin-top: 1.25rem; font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--text-leise); max-width: 34rem; }
.start h1 em { font-style: normal; color: var(--blatt); }
.start__knoepfe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.start__punkte { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; font-size: .95rem; font-weight: 600; color: var(--text); }
.start__punkte li { display: inline-flex; align-items: center; gap: .5rem; }
.start__punkte li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blatt); flex: none; }
.szene { border-radius: clamp(20px, 3vw, 32px); overflow: hidden; box-shadow: var(--schatten); background: #dcebd0; aspect-ratio: 5 / 4; }
.szene svg { display: block; width: 100%; height: 100%; }
@media (min-width: 900px) { .start__raster { grid-template-columns: 1.05fr 1fr; } }
@media (max-width: 899px) { .start__knoepfe .knopf { flex: 1 1 100%; } }

/* Bewegung in der Szene */
.sz-krone { transform-box: fill-box; transform-origin: 50% 100%; animation: wiegen 7s ease-in-out infinite; }
.sz-krone--2 { animation-duration: 9s; animation-delay: -3s; }
.sz-wolke { animation: ziehen 38s linear infinite; }
.sz-wolke--2 { animation-duration: 55s; animation-delay: -20s; }
.sz-ring { transform-box: fill-box; transform-origin: center; animation: ring 4.5s ease-out infinite; opacity: 0; }
.sz-ring--2 { animation-delay: -2.2s; }
.sz-halm { transform-box: fill-box; transform-origin: 50% 100%; animation: wiegen 4s ease-in-out infinite; }
.sz-halm:nth-child(2n) { animation-delay: -1.5s; animation-duration: 5s; }
.sz-sonne { transform-box: fill-box; transform-origin: center; animation: pulsen 8s ease-in-out infinite; }
@keyframes wiegen { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes ziehen { from { transform: translateX(-140px); } to { transform: translateX(620px); } }
@keyframes ring { 0% { transform: scale(.25); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes pulsen { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* Vertrauensleiste */
.leiste { margin-top: clamp(2.5rem, 6vw, 4.5rem); background: var(--wald); color: #fff; }
.leiste ul { display: grid; gap: 1.25rem; padding-block: 1.75rem; }
.leiste li { display: flex; align-items: center; gap: .9rem; font-weight: 600; line-height: 1.35; }
.leiste svg { width: 34px; height: 34px; flex: none; color: var(--mai); }
.leiste small { display: block; font-weight: 500; font-size: .875rem; color: rgba(255, 255, 255, .78); }
@media (min-width: 760px) { .leiste ul { grid-template-columns: repeat(3, 1fr); } }

/* Leistungen */
.karten { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .karten { grid-template-columns: repeat(3, 1fr); } }
.karte { position: relative; display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.karte:hover { transform: translateY(-4px); box-shadow: var(--schatten); border-color: transparent; }
.karte__bild { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: #e4efd9; color: var(--wald); margin-bottom: .35rem; transition: background .25s ease, color .25s ease; }
.karte:hover .karte__bild { background: var(--wald); color: var(--mai); }
.karte__bild svg { width: 30px; height: 30px; }
.karte p { color: var(--text-leise); font-size: 1rem; }
.karte a { margin-top: auto; padding-top: .5rem; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.karte a::after { content: "→"; transition: transform .2s ease; }
.karte a:hover::after { transform: translateX(4px); }
.karte a::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }

/* Gutachten */
.gutachten { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) { .gutachten { grid-template-columns: 1fr 1.1fr; } }
.gutachten__text p { margin-top: 1.1rem; color: rgba(255, 255, 255, .84); }
.gutachten__text .knopf { margin-top: 2rem; }
.liste-gross li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.liste-gross li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.liste-gross b { font-size: .85rem; font-weight: 700; color: var(--mai); letter-spacing: .08em; padding-top: .3rem; }
.liste-gross h3 { color: #fff; }
.liste-gross p { margin-top: .35rem; color: rgba(255, 255, 255, .8); font-size: 1rem; }

/* Ablauf */
.ablauf { display: grid; gap: 1.1rem; counter-reset: schritt; }
@media (min-width: 700px) { .ablauf { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .ablauf { grid-template-columns: repeat(4, 1fr); } }
.ablauf li { counter-increment: schritt; padding: 1.6rem; background: var(--creme); border-radius: var(--radius); border: 1px solid var(--linie); }
.ablauf li::before { content: counter(schritt); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 50%; background: var(--wald); color: var(--mai); font-weight: 800; font-size: 1.1rem; }
.ablauf p { margin-top: .5rem; color: var(--text-leise); font-size: 1rem; }

/* Region */
.region { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .region { grid-template-columns: 1fr 1fr; } }
.region__text p { margin-top: 1.1rem; color: var(--text-leise); }
.region__karte { position: relative; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); }
.region__karte dl { margin: 0; display: grid; gap: 1.25rem; }
.region__karte dt { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blatt); }
.region__karte dd { margin: .2rem 0 0; font-weight: 600; font-size: 1.1rem; line-height: 1.45; }
.region__karte dd a { color: var(--text); text-decoration: none; }
.region__karte dd a:hover { color: var(--blatt); text-decoration: underline; }
.region__karte dd small { display: block; font-weight: 500; font-size: .95rem; color: var(--text-leise); }

/* Anfrage-Assistent */
.anfrage { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 960px) { .anfrage { grid-template-columns: .8fr 1.2fr; } }
.anfrage__text p { margin-top: 1.1rem; color: var(--text-leise); }
.anfrage__tel { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.5rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--wald); text-decoration: none; }
.anfrage__tel svg { width: 26px; height: 26px; }
.assistent { background: var(--weiss); border-radius: clamp(18px, 3vw, 28px); padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--schatten); border: 1px solid var(--linie); }
.fortschritt { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; font-size: .9rem; font-weight: 700; color: var(--text-leise); }
.fortschritt__balken { flex: 1; height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.fortschritt__balken i { display: block; height: 100%; width: 33.33%; border-radius: 6px; background: var(--blatt); transition: width .35s ease; }
.schritt[hidden] { display: none; }
.schritt legend, .schritt h3 { padding: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 1.1rem; }
.schritt fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; min-width: 0; }
.kacheln { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 560px) { .kacheln--3 { grid-template-columns: repeat(3, 1fr); } }
.kachel { position: relative; }
.kachel input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.kachel span { display: flex; align-items: center; min-height: 64px; height: 100%; padding: .8rem 1rem; border: 2px solid var(--linie); border-radius: var(--radius-klein); font-weight: 600; font-size: .97rem; line-height: 1.3; background: var(--creme); transition: border-color .15s ease, background .15s ease, color .15s ease; }
.kachel input:hover + span { border-color: var(--blatt); }
.kachel input:checked + span { border-color: var(--wald); background: var(--wald); color: #fff; }
.kachel input:focus-visible + span { outline: 3px solid var(--blatt); outline-offset: 3px; }
.feld { display: grid; gap: .35rem; margin-bottom: 1rem; }
.feld label { font-weight: 600; font-size: .95rem; }
.feld label small { font-weight: 500; color: var(--text-leise); }
.feld input, .feld textarea { width: 100%; min-height: 52px; padding: .75rem 1rem; border: 2px solid var(--linie); border-radius: var(--radius-klein); background: var(--creme); font: inherit; color: var(--text); }
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--blatt); background: #fff; }
.feld-reihe { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .feld-reihe { grid-template-columns: 1fr 1fr; } }
.haken { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; font-size: .92rem; color: var(--text-leise); margin: .5rem 0 1.25rem; }
.haken input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--wald); }
.honig { position: absolute; left: -9999px; }
.fehler { display: none; margin: 0 0 1rem; padding: .75rem 1rem; border-radius: var(--radius-klein); background: #fbe9e4; color: #8f2a14; font-weight: 600; font-size: .95rem; }
.fehler.ist-da { display: block; }
.schritt__knoepfe { display: flex; gap: .75rem; justify-content: space-between; flex-wrap: wrap; }
.schritt__knoepfe .knopf:only-child { margin-left: auto; }
.zurueck { background: none; border: 0; padding: .5rem .25rem; font: inherit; font-weight: 700; color: var(--text-leise); cursor: pointer; min-height: 52px; }
.zurueck:hover { color: var(--wald); }
.danke { text-align: center; padding: 1.5rem 0; }
.danke svg { width: 72px; height: 72px; color: var(--blatt); margin-bottom: 1rem; }
.danke p { margin-top: .75rem; color: var(--text-leise); }
.hinweis-entwurf { margin-top: 1rem; font-size: .85rem; color: var(--text-leise); }

/* Fußzeile */
.fuss { background: var(--tann); color: rgba(255, 255, 255, .8); padding-block: clamp(3rem, 7vw, 5rem) 1.5rem; font-size: 1rem; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--mai); text-decoration: underline; }
.fuss__oben { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .fuss__oben { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.fuss h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mai); margin-bottom: 1rem; }
.fuss li + li { margin-top: .5rem; }
.fuss__text { margin-top: 1.25rem; max-width: 22rem; }
.fuss__unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .9rem; }
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.fuss__unten li + li { margin-top: 0; }

/* Unterseiten (Impressum, Datenschutz, 404) */
.text-seite { padding-block: clamp(2.5rem, 6vw, 5rem) var(--abschnitt); }
.text-seite .huelle { max-width: 50rem; }
.text-seite h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1.5rem; }
.text-seite h2 { font-size: 1.4rem; margin: 2.25rem 0 .6rem; }
.text-seite p + p { margin-top: .9rem; }
.text-seite .kasten { margin: 1.5rem 0; padding: 1.1rem 1.25rem; border-radius: var(--radius-klein); background: var(--sand); border-left: 4px solid var(--erde); font-size: .97rem; }

/* Einblenden beim Scrollen (nur mit JavaScript) */
.js .zeig { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--warte, 0s); }
.js .zeig.ist-da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .zeig { opacity: 1; transform: none; }
  .sz-ring { opacity: .5; }
}
