/* seo-topia.de - Stylesheet. SEOtopia (Julia&Jarvis<3)
   Nach jeder Änderung die Version in allen HTML-Dateien hochzählen (style.css?v=…). */

/* ---------- Schriften (selbst gehostet, OFL-Lizenz liegt daneben) ---------- */
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap; src: url("fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); }

/* ---------- Farben und Maße ---------- */
:root {
  --orange: #ff6004;
  --orange-hell: #fe9e30;
  --verlauf: linear-gradient(90deg, var(--orange) 0%, var(--orange-hell) 100%);
  --blau: #103ce7;
  --tuerkis: #64e9ff;
  --nacht: #000229;
  --titel: #191919;
  --text: #606060;
  --hell: #f6f7fb;
  --linie: #ececf2;
  --weiss: #fff;
  --schatten: 0 20px 50px rgba(0, 2, 41, .08);
  --radius: 20px;
  --breite: 1240px;
  --titel-font: "Archivo", system-ui, sans-serif;
  --text-font: "Poppins", system-ui, sans-serif;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--weiss); color: var(--text); font: 400 17px/1.76 var(--text-font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--titel-font); color: var(--titel); font-weight: 600; margin: 0 0 .5em; line-height: 1.15; }
h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1.12; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.18; }
h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; }
h4 { font-size: 22px; font-weight: 500; }
strong { color: var(--titel); font-weight: 600; }
.innen { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.mitte { text-align: center; }
.mitte > p { max-width: 900px; margin-left: auto; margin-right: auto; }
.mitte > h2 { max-width: 860px; margin-left: auto; margin-right: auto; text-wrap: balance; }
.orange { color: var(--orange); }
.verlauf-text { background: var(--verlauf); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 6px; }
section { position: relative; }
.abschnitt { padding: 110px 0; }

/* Dachzeile mit zwei Punkten: • WACHSTUM HOCH DREI • */
.dachzeile { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--text-font); text-transform: uppercase; color: var(--orange); margin-bottom: 18px; letter-spacing: .02em; }
.dachzeile::before, .dachzeile::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.dachzeile::after { background: var(--blau); }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; gap: 14px; padding: 7px 7px 7px 26px; border-radius: 40px; background: var(--verlauf); color: var(--weiss); font: 500 16px/1 var(--text-font); box-shadow: 0 12px 30px rgba(255, 96, 4, .28); transition: transform .25s, box-shadow .25s; }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255, 96, 4, .38); }
.knopf .pfeil { width: 40px; height: 40px; border-radius: 50%; background: var(--weiss); color: var(--orange); display: grid; place-items: center; flex: none; }
.knopf-rand { display: inline-flex; align-items: center; gap: 14px; color: var(--titel); font: 500 16px/1 var(--text-font); }
.knopf-rand .pfeil { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--orange); color: var(--orange); display: grid; place-items: center; transition: background .25s, color .25s; }
.knopf-rand:hover .pfeil { background: var(--orange); color: var(--weiss); }
.pfeil svg { width: 18px; height: 18px; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 50; padding: 16px 16px 0; }
.kopf-innen { max-width: 1400px; margin: 0 auto; background: rgba(255, 255, 255, .97); border-radius: 18px; box-shadow: var(--schatten); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 20px 12px 24px; }
.logo img { width: 190px; }
.menue ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.menue a { font: 500 16px/1 var(--text-font); color: var(--titel); transition: color .2s; display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; }
.menue a:hover, .menue a[aria-current="page"], .menue .aktiv > a { color: var(--orange); }
.menue .unter { position: relative; }
.menue .unter > a svg { width: 12px; height: 12px; transition: transform .2s; }
.menue .unter ul { position: absolute; top: 100%; left: -24px; min-width: 280px; display: block; padding: 14px 0; background: var(--weiss); border-radius: 14px; box-shadow: var(--schatten); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; }
.menue .unter ul a { display: block; padding: 9px 24px; font-size: 15px; font-weight: 400; }
.menue .unter:hover ul, .menue .unter:focus-within ul { opacity: 1; visibility: visible; transform: none; }
.menue .unter:hover > a svg { transform: rotate(180deg); }
.kopf-kontakt { display: flex; align-items: center; gap: 18px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px 8px; }
.burger span { display: block; height: 2px; background: var(--orange); margin: 6px 0; border-radius: 2px; transition: .25s; }

/* ---------- Startseite: Hero ---------- */
:root { --kopf-hoehe: 104px; }
.hero { margin-top: calc(-1 * var(--kopf-hoehe)); padding: calc(70px + var(--kopf-hoehe)) 0 60px; overflow: hidden; }
.hero-klecks { position: absolute; top: -52%; right: -16%; width: min(66vw, 980px); z-index: -1; }
.hero-raster { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 .verlauf-text { display: inline; }
.hero p { max-width: 560px; }
.markierung { position: relative; display: inline-block; padding: 10px 22px; border: 1px solid var(--blau); color: var(--titel); font-size: 19px; line-height: 1.3; transform: rotate(-10deg); margin: 0 0 8px 4px; }
.markierung i { position: absolute; width: 7px; height: 7px; }
.markierung i:nth-child(1) { top: -4px; left: -4px; background: var(--orange); }
.markierung i:nth-child(2) { top: -4px; right: -4px; background: var(--tuerkis); }
.markierung i:nth-child(3) { bottom: -4px; left: -4px; background: var(--blau); }
.markierung i:nth-child(4) { bottom: -4px; right: -4px; background: var(--orange-hell); }
.hero-bild img { width: 100%; max-width: 560px; margin-left: auto; animation: schweben 6s ease-in-out infinite; }
@keyframes schweben { 50% { transform: translateY(-14px); } }

/* ---------- Startseite: Drei Säulen ---------- */
.saeulen-kopf { position: relative; }
.fachchinesisch { display: flex; flex-direction: column; align-items: flex-start; margin: -90px 0 -40px; position: relative; z-index: 1; }
.fachchinesisch img { width: 257px; margin: -14px 0 0 -70px; animation: schweben 5s ease-in-out infinite; pointer-events: none; }
.saeulen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.saeule { display: block; color: inherit; padding: 30px 30px 36px; border-radius: var(--radius); text-align: center; transition: background .3s, box-shadow .3s, transform .3s; }
.saeule:hover, .saeule.hervor { background: var(--weiss); box-shadow: var(--schatten); transform: translateY(-6px); }
.saeule img { margin: 0 auto 24px; max-height: 250px; width: auto; }
.saeule h3 { font-size: 26px; font-weight: 600; margin-bottom: 14px; }
.saeule p { font-size: 15px; line-height: 1.75; margin: 0; }
/* ---------- Bild im Klecks (Über mich, Was ich kann) ---------- */
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
/* Gewellte Flächen: Pfade aus werkzeuge/wellen.py, bewegt per SVG-animate */
.klecks-bild { position: relative; max-width: 600px; isolation: isolate; }
.klecks-flaeche { position: absolute; width: 118%; left: -12%; top: -16%; z-index: -1; }
.klecks-bild.blau .klecks-flaeche { left: auto; right: -14%; top: -14%; }
.klecks-maske { position: absolute; }
.klecks-bild img { width: 100%; aspect-ratio: 1 / .93; object-fit: cover; }
.merkmale { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 36px; padding: 0; list-style: none; }
.merkmale li { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--weiss); border-radius: 40px; box-shadow: 0 10px 30px rgba(0, 2, 41, .07); color: var(--titel); font-size: 15px; line-height: 1.35; }
.haken { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--verlauf); display: grid; place-items: center; color: var(--weiss); }
.haken svg { width: 13px; height: 13px; }

/* ---------- Laufband ---------- */
.laufband { padding: 60px 0; overflow: hidden; }
.laufband-streifen { background: var(--verlauf); transform: rotate(4deg); margin: 0 -40px; padding: 26px 0; overflow: hidden; }
.laufband-inhalt { display: flex; width: max-content; animation: laufen 40s linear infinite; }
.laufband-inhalt span { font: 500 clamp(40px, 6vw, 86px)/1 var(--titel-font); color: var(--weiss); white-space: nowrap; padding-right: .4em; }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Schritte ---------- */
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; }
.schritt { text-align: center; }
.schritt-symbol { position: relative; width: 230px; height: 200px; margin: 0 auto 22px; display: grid; place-items: center; }
.schritt-symbol .schritt-flaeche { position: absolute; width: 118%; height: auto; left: -9%; top: -17%; filter: drop-shadow(0 22px 34px rgba(0, 2, 41, .10)); }
.schritt:nth-child(even) .schritt-symbol .schritt-flaeche { transform: scaleX(-1); }
.schritt-symbol .schritt-icon { position: relative; width: 112px; height: 112px; transition: transform .35s; }
.schritt:hover .schritt-icon { transform: scale(1.08) rotate(-3deg); }
.schritt-nr { position: absolute; z-index: 1; top: 4px; right: 18px; width: 52px; height: 52px; border-radius: 50%; background: var(--verlauf); color: var(--weiss); display: grid; place-items: center; font: 600 17px/1 var(--titel-font); border: 4px solid var(--weiss); box-shadow: 0 10px 22px rgba(255, 96, 4, .35); }
.schritt:nth-child(even) .schritt-nr { background: linear-gradient(135deg, var(--blau), var(--tuerkis)); box-shadow: 0 10px 22px rgba(16, 60, 231, .35); }
.schritt p { font-size: 15px; }

/* ---------- Häkchenliste ---------- */
.hakenliste { list-style: none; padding: 0; margin: 0 0 1.2em; }
.hakenliste li { position: relative; padding-left: 34px; margin-bottom: 12px; line-height: 1.5; }
.hakenliste li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: var(--orange); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.hakenliste a { color: var(--titel); transition: color .2s; }
.hakenliste a:hover { color: var(--orange); }
.hakenliste.zweispaltig { columns: 2; column-gap: 40px; }
.hakenliste.zweispaltig li { break-inside: avoid; }

/* ---------- Leistungsseite ---------- */
.seitenkopf { margin-top: calc(-1 * var(--kopf-hoehe)); padding: calc(96px + var(--kopf-hoehe)) 0 110px; text-align: center; overflow: hidden; }
.titelwellen { position: absolute; top: 0; right: 0; width: 100%; height: 100%; z-index: -1; }
.seitenkopf h1 { font-size: clamp(36px, 3.6vw, 52px); margin: 0; }
.leistung-raster { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: start; padding-bottom: 110px; }
.seitenleiste { position: sticky; top: 120px; background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); padding: 16px 24px; }
.seitenleiste ul { list-style: none; margin: 0; padding: 0; }
.seitenleiste li + li { border-top: 1px solid var(--linie); }
.seitenleiste a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 15px; color: var(--titel); transition: color .2s; }
.seitenleiste a:hover, .seitenleiste a[aria-current="page"] { color: var(--orange); }
.seitenleiste svg { width: 16px; height: 16px; }
.leistung-bild { margin-bottom: 40px; }
.leistung-bild img { width: 100%; max-width: 760px; }
.initial > p:first-child::first-letter { float: left; font: 600 54px/1 var(--titel-font); color: var(--weiss); background: var(--verlauf); padding: 10px 14px; margin: 6px 16px 0 0; border-radius: 10px; }
.blaettern { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--linie); }
.blaettern a { display: inline-flex; align-items: center; gap: 14px; }
.blaettern .pfeil { width: 44px; height: 44px; border-radius: 50%; background: var(--verlauf); color: var(--weiss); display: grid; place-items: center; flex: none; }
.blaettern small { display: block; text-transform: uppercase; font: 600 12px/1.4 var(--text-font); color: var(--orange); }
.blaettern b { color: var(--titel); font-weight: 500; font-size: 15px; }
.blaettern .vor { text-align: right; }

/* ---------- Allgemeine Ergänzungen ---------- */
.abschnitt-oben { padding-top: 40px; }
.abschnitt-hell { background: var(--hell); }
.klein { font-size: 14px; line-height: 1.6; }
.textlink { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.textlink:hover { color: var(--titel); }
.hero .knopf { margin-top: 10px; }
article > h2 { font-size: clamp(26px, 2.6vw, 36px); margin-top: 50px; }
.knopf-hell { background: var(--weiss); color: var(--orange); box-shadow: 0 12px 30px rgba(0, 2, 41, .25); }
.knopf-hell .pfeil { background: var(--verlauf); color: var(--weiss); }

/* ---------- Leistungsübersicht ---------- */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-top: 60px; }
.karte { display: flex; flex-direction: column; background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); padding: 28px 30px 32px; transition: transform .3s, box-shadow .3s; }
a.karte:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(0, 2, 41, .13); }
.karte img { width: 100%; max-height: 220px; object-fit: contain; margin-bottom: 20px; }
.karte h3 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.karte p { font-size: 15px; line-height: 1.7; flex: 1; }
.karte .mehr { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 500; font-size: 15px; }
.karte .mehr svg { width: 16px; height: 16px; transition: transform .25s; }
a.karte:hover .mehr svg { transform: translateX(4px); }
.karte-dunkel { background: var(--nacht); color: rgba(255, 255, 255, .78); justify-content: center; }
.karte-dunkel h3 { color: var(--weiss); font-size: 28px; }
.karte-dunkel p { flex: 0; margin-bottom: 24px; }
.karte-dunkel .knopf { align-self: flex-start; }

/* ---------- Leistungskacheln (Übersicht) ---------- */
.leistungskarten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 70px 30px; margin-top: 60px; }
.leistungskarte { position: relative; display: block; text-align: center; background: var(--weiss); border-radius: var(--radius); box-shadow: 0 25px 70px rgba(8, 10, 55, .08); padding: 36px 36px 64px; transition: transform .3s, box-shadow .3s; }
.leistungskarte::before, .leistungskarte::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.leistungskarte::before { width: 46px; height: 46px; top: 26px; right: 30px; background: var(--hell); }
.leistungskarte::after { width: 26px; height: 26px; top: 120px; left: 26px; background: rgba(255, 96, 4, .07); }
.leistungskarte:hover { transform: translateY(-8px); box-shadow: 0 32px 80px rgba(8, 10, 55, .14); }
.leistungskarte img { position: relative; width: 190px; margin: 0 auto 22px; transition: transform .4s; }
.leistungskarte:hover img { transform: scale(1.06); }
.leistungskarte h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.leistungskarte p { font-size: 16px; line-height: 1.75; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rund-pfeil { position: absolute; left: 50%; bottom: -25px; transform: translateX(-50%); width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(115deg, var(--blau), var(--tuerkis)); color: var(--weiss); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(16, 60, 231, .3); transition: transform .3s; }
.rund-pfeil svg { width: 20px; height: 20px; }
.leistungskarte:hover .rund-pfeil { transform: translateX(-50%) rotate(45deg); }

/* ---------- Drei Wege (Websites) ---------- */
.wege { display: grid; gap: 20px; margin: 24px 0 10px; }
.weg { background: var(--hell); border-radius: var(--radius); padding: 26px 30px; border-left: 4px solid var(--orange); }
.weg:nth-child(2) { border-left-color: var(--blau); }
.weg h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.weg .passt { margin: 0; font-size: 15px; }

/* ---------- Preise ---------- */
.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 60px 0 40px; align-items: stretch; }
.preis { position: relative; display: flex; flex-direction: column; background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); padding: 40px 34px; }
.preis h3 { font-size: 26px; font-weight: 600; margin-bottom: 6px; }
.betrag { font: 600 clamp(40px, 4vw, 52px)/1.1 var(--titel-font); color: var(--orange); margin: 0 0 26px; }
.betrag small { font: 500 16px/1 var(--text-font); color: var(--text); }
.preis .hakenliste { flex: 1; }
.preis .knopf { align-self: flex-start; }
.preis-hinweis { font-size: 14px; margin: -6px 0 20px; }
.preis-hervor { background: var(--verlauf); color: var(--weiss); transform: translateY(-14px); box-shadow: 0 30px 60px rgba(255, 96, 4, .3); }
.preis-hervor h3, .preis-hervor .betrag, .preis-hervor .betrag small, .preis-hervor .hakenliste li { color: var(--weiss); }
.preis-hervor .hakenliste li::before { background: var(--weiss); }
.preis-marke { position: absolute; top: 20px; right: 20px; background: var(--weiss); color: var(--orange); font: 600 12px/1 var(--text-font); text-transform: uppercase; padding: 7px 12px; border-radius: 20px; }

/* ---------- Häufige Fragen ---------- */
.fragen-raster { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.fragen { margin-top: 30px; display: grid; gap: 14px; }
.frage { background: var(--weiss); border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 2, 41, .06); padding: 0 26px; }
.frage summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 500 19px/1.35 var(--titel-font); color: var(--titel); }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--verlauf); color: var(--weiss); display: grid; place-items: center; font: 500 22px/1 var(--text-font); transition: transform .25s; }
.frage[open] summary::after { transform: rotate(45deg); }
.frage p { font-size: 16px; }
.frage[open] { padding-bottom: 8px; }
.fragen-bild img { animation: schweben 6s ease-in-out infinite; }
/* Bild wandert beim Scrollen neben den Fragen mit, nur solange beide nebeneinander stehen */
@media (min-width: 1101px) { .fragen-bild { position: sticky; top: calc(var(--kopf-hoehe) + 40px); align-self: start; } }

/* ---------- Kontakt ---------- */
.kontaktwege { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.kontaktwege a { display: flex; align-items: center; gap: 16px; padding: 12px 22px 12px 12px; background: var(--weiss); border-radius: 50px; box-shadow: 0 10px 30px rgba(0, 2, 41, .07); color: var(--titel); transition: transform .25s; max-width: 420px; }
.kontaktwege a:hover { transform: translateX(6px); }
.kontaktwege .symbol { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--verlauf); color: var(--weiss); display: grid; place-items: center; }
.kontaktwege svg { width: 22px; height: 22px; }
.kontaktwege small { display: block; color: var(--text); font-size: 13px; line-height: 1.3; }
.kontakt-raster { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.formular-karte, .karte-ort { background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten); padding: 44px 40px; }
.formular-karte h2, .karte-ort h2 { font-size: clamp(28px, 3vw, 40px); }
.karten-link { display: block; position: relative; border-radius: 16px; overflow: hidden; margin: 20px 0 12px; }
.karten-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.karten-link:hover img { transform: scale(1.04); }
.karten-link span { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--weiss); color: var(--titel); padding: 8px 14px; border-radius: 30px; font-size: 14px; box-shadow: var(--schatten); }
.karten-link svg { width: 14px; height: 14px; color: var(--orange); }

/* ---------- Formular ---------- */
.formular { display: grid; gap: 18px; margin-top: 24px; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feld { display: grid; gap: 6px; }
.feld label { font-size: 15px; color: var(--titel); font-weight: 500; }
.feld input, .feld textarea { width: 100%; font: 400 16px/1.5 var(--text-font); color: var(--titel); background: var(--hell); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 16px; transition: border-color .2s, background .2s; }
.feld textarea { resize: vertical; min-height: 140px; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--orange); background: var(--weiss); }
.pflicht { color: var(--orange); }
.optional { color: var(--text); font-weight: 400; font-size: 13px; }
.feld-ankreuz { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.feld-ankreuz input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); }
.feld-ankreuz label { font-weight: 400; font-size: 14px; line-height: 1.55; color: var(--text); }
.formular .knopf { justify-self: start; border: 0; cursor: pointer; }
.formular .knopf:disabled { opacity: .6; cursor: wait; }
.formular-hinweis { font-size: 13px; margin: 0; }
.formular-meldung { margin: 0; font-weight: 500; }
.formular-meldung.gut { color: #0a7a3b; }
.formular-meldung.schlecht { color: #c22; }
.honigtopf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Textseiten (Impressum, Datenschutz) ---------- */
.textseite { max-width: 860px; }
.textseite h2 { font-size: clamp(22px, 2.2vw, 28px); margin: 40px 0 12px; }
.textseite h2:first-child { margin-top: 0; }
.textseite.mitte { text-align: center; }
.textseite.mitte .knopf { margin-top: 16px; }
.links-mitte { display: inline-block; text-align: left; }

/* ---------- Fuß ---------- */
.fuss { background: var(--nacht); color: rgba(255, 255, 255, .78); padding: 90px 0 0; font-size: 15px; }
.fuss-innen { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr 1fr; gap: 40px; }
.fuss .logo img { width: 190px; margin-bottom: 24px; }
.fuss h2 { font: 500 22px/1.2 var(--titel-font); color: var(--orange); margin: 0 0 24px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 10px; }
.fuss a:hover { color: var(--orange); }
.fuss-kontakt li { display: flex; gap: 16px; margin-bottom: 18px; }
.fuss-kontakt svg { width: 22px; height: 22px; flex: none; margin-top: 4px; color: rgba(255, 255, 255, .7); }
.fuss-kontakt small { display: block; color: rgba(255, 255, 255, .5); font-size: 13px; line-height: 1.4; }
.fuss-kontakt span, .fuss-kontakt a { color: var(--weiss); font-size: 16px; }
.fuss-unten { margin-top: 60px; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- Einwilligung (nur aktiv, wenn GTM_ID gesetzt ist) ---------- */
.einwilligung-huelle { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0, 2, 41, .6); backdrop-filter: blur(3px); animation: huelle-auf .25s ease; }
.einwilligung-huelle[hidden] { display: none; }
body.einwilligung-offen { overflow: hidden; }
.einwilligung { width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--weiss); border-radius: var(--radius); box-shadow: 0 40px 90px rgba(0, 2, 41, .4); padding: 40px 40px 34px; text-align: center; animation: fenster-auf .3s ease; }
.einwilligung:focus { outline: none; }
.einwilligung h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
.einwilligung p { font-size: 16px; line-height: 1.7; margin: 0 0 26px; }
.einwilligung-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.knopf-wahl { font: 500 16px/1 var(--text-font); padding: 16px 18px; border-radius: 40px; cursor: pointer; border: 1.5px solid var(--orange); background: var(--weiss); color: var(--orange); transition: background .2s, color .2s; }
.knopf-wahl:hover, .knopf-wahl:focus-visible { background: var(--orange); color: var(--weiss); }
.fuss-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fuss-link:hover { color: var(--orange); }
@keyframes huelle-auf { from { opacity: 0; } }
@keyframes fenster-auf { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 800px) {
  .einwilligung { padding: 30px 24px 26px; }
  .einwilligung-knoepfe { grid-template-columns: 1fr; }
}

/* ---------- Einblenden beim Scrollen ---------- */
.js .einblenden { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.js .einblenden.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .einblenden { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .menue { position: fixed; inset: 88px 16px auto; background: var(--weiss); border-radius: 18px; box-shadow: var(--schatten); padding: 16px 24px; max-height: calc(100vh - 110px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; }
  .menue.offen { opacity: 1; visibility: visible; transform: none; }
  .menue ul { flex-direction: column; gap: 0; }
  .menue .unter ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 16px; min-width: 0; }
  .menue .unter > a svg { display: none; }
  .burger { display: block; }
  .kopf-kontakt .knopf-rand .text { display: none; }
  .schritte { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .fuss-innen { grid-template-columns: 1fr 1fr; }
  .leistung-raster { grid-template-columns: 1fr; }
  .preise { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .preis-hervor { transform: none; }
  .fragen-raster, .kontakt-raster { grid-template-columns: 1fr; }
  .leistungskarten { grid-template-columns: repeat(2, 1fr); }
  .fragen-bild { max-width: 420px; margin: 0 auto; }
  .seitenleiste { position: static; order: 2; }
}

/* ---------- Handy ---------- */
@media (max-width: 800px) {
  body { font-size: 16px; }
  .abschnitt { padding: 70px 0; }
  .innen { padding: 0 16px; }
  .kopf { padding: 10px 10px 0; }
  .kopf-innen { padding: 10px 12px 10px 16px; }
  .logo img { width: 150px; }
  .menue { inset: 76px 10px auto; }
  :root { --kopf-hoehe: 86px; }
  .hero { padding-top: calc(40px + var(--kopf-hoehe)); }
  .hero-raster, .zwei-spalten { grid-template-columns: 1fr; gap: 40px; }
  .hero-klecks { width: 75vw; top: -38vw; right: -34vw; }
  .seitenkopf { padding: calc(56px + var(--kopf-hoehe)) 0 70px; }
  .titelwellen { width: 170%; }
  .klecks-flaeche { width: 108%; left: -6%; top: -8%; }
  .hero-bild img { margin: 0 auto; max-width: 420px; }
  .fachchinesisch { margin: -20px 0 10px; align-items: center; }
  .fachchinesisch img { width: 170px; margin: -10px 0 0 -90px; }
  .markierung { font-size: 17px; padding: 8px 18px; }
  .saeulen { grid-template-columns: 1fr; }
  .merkmale { grid-template-columns: 1fr; }
  .klecks-bild { max-width: 440px; margin: 0 auto; }
  .was-ich-kann .klecks-bild { order: -1; }
  .schritte { grid-template-columns: 1fr; }
  .hakenliste.zweispaltig { columns: 1; }
  .fuss-innen { grid-template-columns: 1fr; }
  .blaettern { flex-direction: column; }
  .karten, .leistungskarten { grid-template-columns: 1fr; }
  .feld-reihe { grid-template-columns: 1fr; }
  .formular-karte, .karte-ort { padding: 30px 22px; }
  .frage { padding: 0 18px; }
  .frage summary { font-size: 17px; }
  .blaettern .vor { align-self: flex-end; }
}
