/* Yuland Reinigung – Theme-Stylesheet
   Farben und Maße lassen sich über die Variablen direkt hier unten anpassen. */

:root {
  --akzent: #1D4E89;
  --akzent-dunkel: #123660;
  --text: #16202B;
  --text-leise: #4A5766;
  --grund: #FFFFFF;
  --flaeche: #F3F5F7;
  --linie: #DDE2E8;
  --rahmen: #8793A0;
  --fehler: #A1260D;
  --erfolg: #1E6B3A;
  --radius: 4px;
  --breite: 1120px;
  --abstand: 88px;
  --schrift: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --schrift-titel: 'Schibsted Grotesk', 'IBM Plex Sans', system-ui, sans-serif;
}

@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/IBMPlexSans-Regular.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/IBMPlexSans-Medium.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/IBMPlexSans-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/SchibstedGrotesk-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Schibsted Grotesk'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/SchibstedGrotesk-Bold.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--schrift); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--grund); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--akzent); }
a:hover { color: var(--akzent-dunkel); }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--schrift-titel); margin: 0; }
h2 { font-weight: 700; font-size: clamp(28px, 4vw, 36px); letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
[id] { scroll-margin-top: 24px; }

.container { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.leise { color: var(--text-leise); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--grund); padding: 10px 16px; }

/* Schaltflächen */
.knopf { display: inline-block; text-decoration: none; font: inherit; font-weight: 600; color: #FFFFFF; background: var(--akzent); padding: 15px 28px; border: 1px solid var(--akzent); border-radius: var(--radius); cursor: pointer; }
.knopf:hover { background: var(--akzent-dunkel); border-color: var(--akzent-dunkel); color: #FFFFFF; }
.knopf--klein { padding: 11px 20px; font-weight: 500; }
.knopf--rand { background: transparent; color: var(--text); border-color: #B9C2CC; font-weight: 500; }
.knopf--rand:hover { background: var(--flaeche); color: var(--text); border-color: var(--rahmen); }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); }
.kopf .container { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.marke { font-family: var(--schrift-titel); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
.marke:hover { color: var(--text); }
.kopf nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; }
.kopf nav a:not(.knopf) { color: var(--text); text-decoration: none; padding: 10px 0; }
.kopf nav a:not(.knopf):hover { color: var(--akzent); text-decoration: underline; }

/* Einstieg */
.einstieg { padding: var(--abstand) 0 96px; }
.einstieg .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.einstieg__text { flex: 1 1 460px; min-width: 0; }
.einstieg__bild { flex: 1 1 380px; min-width: 0; }
.dachzeile { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--akzent); margin-bottom: 20px; }
h1 { font-weight: 700; font-size: clamp(36px, 6vw, 54px); line-height: 1.08; letter-spacing: -0.02em; }
.einstieg__absatz { margin: 24px 0 0; font-size: 20px; color: var(--text-leise); max-width: 520px; }
.einstieg__knoepfe { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.bild { border-radius: var(--radius); width: 100%; object-fit: cover; }
.platzhalter { min-height: 320px; background: #EEF1F4; border: 1px dashed #9AA6B2; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 24px; color: var(--text-leise); text-align: center; }

/* Abschnitte */
.abschnitt { padding: var(--abstand) 0; }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt__einleitung { margin: 12px 0 48px; color: var(--text-leise); max-width: 620px; }

/* Leistungen */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.karte { background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px 20px; }
.karte svg { color: var(--akzent); display: block; }
.karte h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 600; overflow-wrap: break-word; }
.karte p { color: var(--text-leise); font-size: 16px; overflow-wrap: break-word; hyphens: auto; }

/* Ablauf */
.ablauf h2 { margin-bottom: 48px; }
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.schritte li { border-top: 2px solid var(--akzent); padding-top: 20px; counter-increment: schritt; }
.schritte li::before { content: counter(schritt); font-family: var(--schrift-titel); font-weight: 700; font-size: 18px; color: var(--akzent); }
.schritte h3 { margin: 6px 0 8px; font-family: var(--schrift); font-size: 20px; font-weight: 600; }
.schritte p { color: var(--text-leise); }

/* Über uns */
.ueber .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.ueber__bild { flex: 1 1 320px; min-width: 0; }
.ueber__text { flex: 1 1 460px; min-width: 0; color: var(--text-leise); }
.ueber__text h2 { color: var(--text); margin-bottom: 20px; }

/* Kontakt */
.kontakt .container { display: flex; flex-wrap: wrap; gap: 64px; }
.kontakt__daten { flex: 1 1 320px; min-width: 0; }
.kontakt__daten h2 { margin-bottom: 16px; }
.kontakt__daten > p { color: var(--text-leise); margin-bottom: 32px; }
.kontakt__liste { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.kontakt__liste dt { font-size: 15px; font-weight: 600; color: var(--text-leise); }
.kontakt__liste dd { margin: 0; font-size: 20px; font-weight: 500; }
.kontakt__liste a { color: var(--text); text-decoration: none; }
.kontakt__liste a:hover { color: var(--akzent); text-decoration: underline; }
.kontakt__formular { flex: 1 1 440px; min-width: 0; max-width: 560px; }

/* Formular (Markup des Grav-Form-Plugins) */
.kontakt__formular form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.kontakt__formular form > * { grid-column: 1 / -1; min-width: 0; }
.kontakt__formular .form-field.halb { grid-column: span 1; }
@media (max-width: 560px) { .kontakt__formular .form-field.halb { grid-column: 1 / -1; } }
.kontakt__formular .form-label { margin-bottom: 6px; }
.kontakt__formular label { font-weight: 600; font-size: 16px; color: var(--text); }
.kontakt__formular .required { color: var(--fehler); }
.kontakt__formular input[type="text"],
.kontakt__formular input[type="email"],
.kontakt__formular input[type="tel"],
.kontakt__formular select,
.kontakt__formular textarea { display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--rahmen); border-radius: var(--radius); font: inherit; color: var(--text); background: #FFFFFF; }
.kontakt__formular textarea { min-height: 200px; resize: vertical; }
.kontakt__formular input:focus-visible,
.kontakt__formular select:focus-visible,
.kontakt__formular textarea:focus-visible { outline: 3px solid var(--akzent); outline-offset: 1px; border-color: var(--akzent); }
.kontakt__formular .form-field.zustimmung .form-input-wrapper { display: flex; gap: 12px; align-items: flex-start; }
.kontakt__formular .form-field.zustimmung input[type="checkbox"] { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--akzent); }
.kontakt__formular .form-field.zustimmung label { font-weight: 400; }
.kontakt__formular .form-field.zustimmung label p { display: inline; margin: 0; }
.kontakt__formular .has-errors input,
.kontakt__formular .has-errors select,
.kontakt__formular .has-errors textarea { border-color: var(--fehler); border-width: 2px; }
.kontakt__formular .form-errors { color: var(--fehler); font-size: 15px; margin-top: 6px; }
.kontakt__formular .form-errors p { margin: 0; }
.kontakt__formular .buttons { margin-top: 4px; }
.kontakt__formular button[type="submit"] { font: inherit; font-weight: 600; color: #FFFFFF; background: var(--akzent); border: 0; border-radius: var(--radius); min-height: 52px; padding: 0 32px; cursor: pointer; }
.kontakt__formular button[type="submit"]:hover { background: var(--akzent-dunkel); }
.kontakt__formular .notices,
.kontakt__formular .alert { border: 2px solid var(--erfolg); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 20px; color: var(--text); background: #EEF6F0; }
.kontakt__formular .notices.error, .kontakt__formular .notices.red,
.kontakt__formular .alert.error { border-color: var(--fehler); background: #FBEFEC; }
.kontakt__formular .notices p, .kontakt__formular .alert p { margin: 0; }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); }
.fuss .container { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 16px; color: var(--text-leise); }
.fuss nav { display: flex; gap: 24px; }

/* Textseiten (Impressum, Datenschutz) */
.textseite { padding: 64px 0 var(--abstand); }
.textseite .container { max-width: 760px; }
.textseite h1 { font-size: clamp(32px, 5vw, 42px); margin-bottom: 32px; }
.textseite h2 { font-size: 24px; margin: 40px 0 12px; }
.textseite h3 { font-size: 19px; font-weight: 600; margin: 28px 0 8px; }
.textseite ul { padding-left: 22px; margin: 0 0 16px; }

@media (max-width: 640px) {
  :root { --abstand: 64px; }
  .einstieg { padding-bottom: 64px; }
  .einstieg .container, .ueber .container { gap: 32px; }
  .kontakt .container { gap: 40px; }
  .einstieg__absatz { font-size: 18px; }
}
