/* =========================================================
   wir-kaufen-ihre-reinigung.de – Gestaltung
   Farben und Schriften wie auf velaron.group
   ========================================================= */

@font-face { font-family: "Overused Grotesk"; src: url("fonts/OverusedGrotesk-Roman.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Overused Grotesk"; src: url("fonts/OverusedGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Overused Grotesk"; src: url("fonts/OverusedGrotesk-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("fonts/ibm-plex-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("fonts/ibm-plex-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Serif"; src: url("fonts/ibm-plex-serif-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --nacht: #081523;      /* Hauptfarbe (Nachtblau) */
  --petrol: #084351;     /* Zweitfarbe (Petrol) */
  --salbei: #C2CCCA;     /* Akzent (Salbeigrau) */
  --hell: #E4E8E7;       /* heller Hintergrund */
  --grau: #5A6570;       /* Nebentext */
  --weiss: #FFFFFF;
  --fehler: #A4262C;

  --sans: "Overused Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "IBM Plex Serif", Georgia, serif;

  --radius: 14px;
  --breite: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--nacht);
  background: var(--weiss);
}
img { max-width: 100%; display: block; }
a { color: var(--petrol); }
a:hover { color: var(--nacht); }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--petrol); margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1.02rem/1 var(--sans);
  padding: 18px 28px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s;
  min-height: 56px;
}
.btn-primaer { background: var(--petrol); color: var(--weiss); }
.btn-primaer:hover { background: var(--nacht); color: var(--weiss); transform: translateY(-1px); }
.btn-hell { background: var(--weiss); color: var(--nacht); }
.btn-hell:hover { background: var(--hell); color: var(--nacht); }
.btn-rahmen { background: transparent; color: var(--nacht); border-color: var(--nacht); }
.btn-rahmen:hover { background: var(--nacht); color: var(--weiss); }
.btn-klein { padding: 12px 20px; min-height: 44px; font-size: .95rem; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid rgba(8,21,35,.08);
}
.kopf .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.kopf .logo { text-decoration: none; color: var(--nacht); }
.wortmarke { display: inline-flex; align-items: center; gap: 12px; }
.wm-zeichen { width: 40px; height: 40px; border-radius: 10px; background: var(--nacht); color: var(--weiss);
  display: grid; place-items: center; font: 500 1rem/1 var(--serif); letter-spacing: .02em; flex: 0 0 40px; }
.wm-text { font: 500 1.12rem/1.15 var(--serif); white-space: nowrap; }
.kopf .btn { white-space: nowrap; }
.wm-text small { display: block; font: 500 .72rem/1.3 var(--sans); color: var(--grau); letter-spacing: .04em; }
.fuss-name { color: var(--weiss); font-family: var(--serif); }
.kopf-rechts { display: flex; align-items: center; gap: 18px; }
.kopf-tel { font-weight: 600; text-decoration: none; color: var(--nacht); white-space: nowrap; }
@media (max-width: 720px) {
  .kopf-tel { display: none; }
  .wm-zeichen { width: 36px; height: 36px; flex-basis: 36px; font-size: .9rem; }
  .wm-text { font-size: 1rem; }
  .wm-text small { display: none; }
  .kopf .btn-klein { padding: 10px 16px; font-size: .9rem; }
}

/* ---------- Hero ---------- */
.hero { background: var(--nacht); color: var(--weiss); overflow: hidden; position: relative; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero .eyebrow { color: var(--salbei); }
.hero h1 { color: var(--weiss); }
.hero-text p { font-size: 1.2rem; color: rgba(255,255,255,.82); max-width: 34em; }
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-hinweis { margin-top: 18px; font-size: .95rem; color: var(--salbei); display: flex; align-items: center; gap: 8px; }
.hero-bild svg { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 36px; }
  .hero-bild { max-width: 420px; margin: 0 auto; order: -1; }
  .hero-aktionen .btn { width: 100%; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 96px 0; }
.abschnitt-hell { background: var(--hell); }
@media (max-width: 720px) { .abschnitt { padding: 64px 0; } }

/* ---------- Begrüßung ---------- */
.begruessung { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.portrait { position: relative; }
.portrait img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% center; width: 100%; box-shadow: 0 30px 60px -30px rgba(8,21,35,.45); }
.portrait::after {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 70%; height: 70%;
  border: 2px solid var(--salbei); border-radius: var(--radius); z-index: -1;
}
.begruessung-text p { font-size: 1.1rem; }
.unterschrift { font-family: var(--serif); font-style: italic; font-size: 1.7rem; margin: 18px 0 2px; color: var(--petrol); }
.unterschrift-rolle { color: var(--grau); font-size: .95rem; }
@media (max-width: 860px) {
  .begruessung { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 380px; }
}

/* ---------- Versprechen (Kacheln) ---------- */
.titel-zentriert { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.kacheln { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.kachel {
  background: var(--weiss); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid rgba(8,21,35,.06);
  transition: transform .25s, box-shadow .25s;
}
.kachel:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(8,21,35,.35); }
.kachel-symbol {
  width: 52px; height: 52px; border-radius: 12px; background: var(--nacht); color: var(--weiss);
  display: grid; place-items: center; margin-bottom: 18px;
}
.kachel-symbol svg { width: 26px; height: 26px; }
.kachel h3 { margin-bottom: .4em; }
.kachel p { margin: 0; color: var(--grau); font-size: 1rem; }
@media (max-width: 980px) { .kacheln { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .kacheln { grid-template-columns: 1fr; } }

/* ---------- Wen ich suche ---------- */
.suche { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.suche-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.suche-liste li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius); background: var(--hell);
}
.suche-liste svg { flex: 0 0 24px; width: 24px; height: 24px; color: var(--petrol); margin-top: 2px; }
@media (max-width: 860px) { .suche { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Ablauf ---------- */
.ablauf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: schritt; position: relative; }
.schritt { position: relative; padding-top: 70px; }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%;
  background: var(--petrol); color: var(--weiss); font: 500 1.4rem/52px var(--serif); text-align: center;
}
.schritt:not(:last-child)::after {
  content: ""; position: absolute; top: 26px; left: 68px; right: -12px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--salbei) 0 8px, transparent 8px 14px);
}
.schritt p { color: var(--grau); }
@media (max-width: 860px) {
  .ablauf { grid-template-columns: 1fr; gap: 8px; }
  .schritt { padding: 0 0 28px 72px; }
  .schritt:not(:last-child)::after { top: 60px; left: 25px; right: auto; bottom: 4px; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--salbei) 0 8px, transparent 8px 14px); }
}

/* ---------- Kontakt ---------- */
.kontakt { background: var(--nacht); color: var(--weiss); }
.kontakt .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.kontakt h2 { color: var(--weiss); }
.kontakt .eyebrow { color: var(--salbei); }
.kontakt-info p { color: rgba(255,255,255,.82); font-size: 1.1rem; }
.versprechen-24h {
  display: flex; gap: 14px; align-items: center; margin: 28px 0;
  padding: 18px 20px; border-radius: var(--radius); background: rgba(194,204,202,.12); border: 1px solid rgba(194,204,202,.3);
}
.versprechen-24h svg { flex: 0 0 34px; width: 34px; height: 34px; color: var(--salbei); }
.versprechen-24h strong { display: block; font-size: 1.1rem; }
.direkt-tel { color: var(--weiss); font-weight: 600; font-size: 1.25rem; text-decoration: none; }
.direkt-tel:hover { color: var(--salbei); }

.formular { background: var(--weiss); color: var(--nacht); border-radius: var(--radius); padding: 36px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feld { margin-bottom: 18px; }
.feld label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.feld .optional { font-weight: 400; color: var(--grau); }
.feld input, .feld textarea {
  width: 100%; font: 400 1.05rem/1.4 var(--sans); color: var(--nacht);
  padding: 14px 16px; border: 1.5px solid #CBD3D1; border-radius: 10px; background: #FBFCFC;
  transition: border-color .2s, box-shadow .2s;
}
.feld textarea { min-height: 110px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 4px rgba(8,67,81,.15); background: var(--weiss); }
.feld.hat-fehler input, .feld.hat-fehler textarea { border-color: var(--fehler); }
.fehlertext { display: none; color: var(--fehler); font-size: .88rem; margin-top: 6px; }
.hat-fehler .fehlertext { display: block; }
.checkbox { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .95rem; margin: 6px 0 22px; }
.checkbox label { font-weight: 400; font-size: .95rem; margin: 0; }
.checkbox .fehlertext { grid-column: 1 / -1; margin-top: 0; }
.checkbox input { width: 22px; height: 22px; margin-top: 2px; flex: 0 0 22px; accent-color: var(--petrol); }
.formular .btn { width: 100%; }
.formular-fuss { font-size: .85rem; color: var(--grau); margin: 14px 0 0; text-align: center; }
.honig { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.formular-meldung { display: none; padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-size: .95rem; }
.formular-meldung.fehler { display: block; background: #FBEAEA; color: var(--fehler); }

.danke { display: none; text-align: center; padding: 30px 10px; }
.danke svg { width: 72px; height: 72px; margin: 0 auto 18px; color: var(--petrol); }
.danke h3 { font-size: 1.7rem; }
.formular.ist-gesendet form { display: none; }
.formular.ist-gesendet .danke { display: block; animation: einblenden .5s ease both; }

@media (max-width: 860px) {
  .kontakt .container { grid-template-columns: 1fr; gap: 36px; }
  .formular { padding: 26px 20px; }
}
@media (max-width: 520px) { .feld-reihe { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Fußzeile ---------- */
.fuss { background: #050E18; color: rgba(255,255,255,.7); padding: 40px 0; font-size: .95rem; }
.fuss .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss a, .fuss button.link { color: rgba(255,255,255,.8); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.fuss a:hover, .fuss button.link:hover { color: var(--weiss); text-decoration: underline; }

/* ---------- Mobile: fester Rückruf-Button unten ---------- */
.mobil-cta { display: none; }
@media (max-width: 720px) {
  .mobil-cta {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    transform: translateY(140%); transition: transform .35s ease;
  }
  .mobil-cta.sichtbar { transform: none; }
  .mobil-cta .btn { flex: 1; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); }
  .mobil-cta .btn-tel { flex: 0 0 56px; padding: 0; background: var(--weiss); color: var(--nacht); }
}

/* ---------- Sanftes Einblenden ---------- */
.einblenden { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.einblenden.ist-sichtbar { opacity: 1; transform: none; }
@keyframes einblenden { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .einblenden { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
  position: fixed; inset: auto 16px 16px 16px; z-index: 100; max-width: 560px; margin-left: auto;
  background: var(--weiss); color: var(--nacht); border-radius: var(--radius);
  box-shadow: 0 30px 70px -20px rgba(8,21,35,.55); padding: 24px; display: none;
  font-size: .95rem;
}
.cookie-banner.offen { display: block; animation: einblenden .4s ease both; }
.cookie-banner h2 { font-size: 1.3rem; margin-bottom: .4em; }
.cookie-banner p { margin-bottom: 14px; color: #33373D; }
.cookie-optionen { display: none; margin: 0 0 16px; padding: 0; list-style: none; border-top: 1px solid #E4E8E7; }
.cookie-banner.details .cookie-optionen { display: block; }
.cookie-optionen li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #E4E8E7; }
.cookie-optionen input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--petrol); flex: 0 0 20px; }
.cookie-optionen small { display: block; color: var(--grau); }
.cookie-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-knoepfe .btn { padding: 14px 16px; min-height: 48px; font-size: .95rem; }
.cookie-knoepfe .cookie-einstellungen-btn { grid-column: 1 / -1; background: none; border: 0; color: var(--petrol); text-decoration: underline; font: inherit; cursor: pointer; padding: 6px; }
.cookie-banner.details .cookie-einstellungen-btn { display: none; }
.cookie-banner .cookie-speichern { display: none; grid-column: 1 / -1; }
.cookie-banner.details .cookie-speichern { display: inline-flex; }
@media (max-width: 720px) { .cookie-banner { inset: auto 10px 10px 10px; padding: 20px; } }

/* ---------- Rechtstexte ---------- */
.recht { padding: 64px 0 96px; }
.recht .container { max-width: 820px; }
.recht h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.recht h2 { font-size: 1.4rem; margin-top: 1.8em; }
.recht h3 { font-size: 1.1rem; margin-top: 1.4em; }
.recht p, .recht li { font-size: 1rem; }
.ausfuellen { background: #FFF3C4; padding: 1px 6px; border-radius: 4px; }

/* ---------- Animationen der Illustration ---------- */
/* kleine Animationen der Illustration */
.hero-bild .glanz { animation: glanz 7s ease-in-out infinite; }
@keyframes glanz { 0%, 55% { transform: skewX(-18deg) translateX(0); } 100% { transform: skewX(-18deg) translateX(420px); } }
.hero-bild .funkel { transform-box: fill-box; transform-origin: center; animation: funkeln 3.2s ease-in-out infinite; }
.hero-bild .f2 { animation-delay: 1.1s; } .hero-bild .f3 { animation-delay: 2.1s; }
@keyframes funkeln { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1); } }
.hero-bild .wischer { animation: wischen 6s ease-in-out infinite; }
@keyframes wischen { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(150px); } }
