/* Websiteory, Startseite. Eine Schrift, ein Grund, eine Tinte, ein Akzent. */
@font-face { font-family: "Bricolage"; src: url("schrift/bricolage-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --grund: #f2f2f0;      /* heller Stein, ohne Gelbstich */
  --feld: #e9e7e1;       /* Tonstufe statt Linie */
  --tinte: #121826;
  --tinte-2: #3f4656;    /* Nebentext, 9:1 auf Grund */
  --blau: #1f3d7a;
  --blau-tief: #172e5c;
  --hell: #ffffff;
  --rot: #a12a2a;
  --rand: clamp(16px, 2.4vw, 32px);
  --schrift: "Bricolage", "Segoe UI", system-ui, sans-serif;
  --gross: clamp(44px, 8.6vw, 148px);
  --mittel: clamp(28px, 3.4vw, 52px);
  --satz: clamp(22px, 2.2vw, 34px);
  --text: 18px;
  --klein: 15px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--grund); }
body { font: 400 var(--text)/1.55 var(--schrift); color: var(--tinte); background: var(--grund); font-optical-sizing: auto; }
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.035em; line-height: 0.98; text-wrap: balance; hyphens: manual; }
p, dd { text-wrap: pretty; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
.preise, .klein, .pflege { font-variant-numeric: tabular-nums; }
.nur-leser { 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; }

/* Knöpfe: flach, eckig, eine Farbe */
.knopf { text-align: center; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 0; background: var(--blau); color: var(--hell); font: 600 17px var(--schrift); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.knopf:hover { background: var(--blau-tief); }
.knopf:active { transform: scale(.97); }
.knopf-klein { min-height: 42px; padding: 0 18px; font-size: var(--klein); }
.knopf-hell { background: var(--hell); color: var(--blau); }
.knopf-hell:hover { background: var(--grund); }

/* Kopf: Wortmarke, drei Wörter, ein Knopf */
.kopf { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px var(--rand); }
.marke { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; color: var(--blau); }
.marke svg { width: 30px; height: 30px; }
.menue { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: var(--klein); }
.menue a:not(.knopf) { text-decoration: none; }
.menue a:not(.knopf):hover { text-decoration: underline; text-underline-offset: 5px; }

/* Bühne: Satz hält, Streifen läuft durch */
.buehne { position: relative; height: 330svh; }
.buehne-halt { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1fr minmax(0, 30vw) 1fr; column-gap: 2.4vw; grid-template-rows: 1fr auto; align-items: center; padding: 0 var(--rand); overflow: hidden; }
.satz { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; align-items: center; font-size: var(--gross); }
.satz-a, .satz-b { grid-row: 1; white-space: nowrap; font-size: clamp(40px, 4.1vw, 76px); font-weight: 650; letter-spacing: -0.04em; line-height: 1; position: relative; z-index: 2; }
.satz-a { grid-column: 1; justify-self: start; }
.satz-b { grid-column: 3; justify-self: end; text-align: right; }
.streifen { grid-column: 2; grid-row: 1 / 3; align-self: stretch; position: relative; overflow: hidden; pointer-events: none; }
.streifen-band { position: absolute; left: 0; right: 0; top: 50%; display: grid; gap: 24px; will-change: transform; }
.bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tinte); }
.bild img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bild-name { display: grid; place-items: center; background: var(--blau); color: var(--hell); }
.probe { display: grid; gap: 14px; justify-items: center; padding: 6%; text-align: center; }
.probe-name { font: 650 clamp(28px, 3.4vw, 60px)/1 var(--schrift); letter-spacing: -0.035em; overflow-wrap: anywhere; }
.probe-zeile { font-size: 15px; color: #dfe5f2; }
.buehne-fuss { display: contents; }
.unterzeile { grid-column: 1; grid-row: 2; align-self: end; padding-bottom: 32px; font-size: var(--text); max-width: 34ch; }
.namensfeld { grid-column: 3; grid-row: 2; align-self: end; padding-bottom: 32px; margin-right: 76px; display: grid; gap: 8px; }
.namensfeld label { font-size: var(--klein); font-weight: 600; }
.namensfeld-zeile { display: grid; gap: 8px; }
.namensfeld-hinweis { font-size: var(--klein); color: var(--tinte-2); }
.namensfeld input { width: 100%; min-height: 52px; padding: 0 14px; border: 0; border-radius: 0; background: var(--hell); font: 400 17px var(--schrift); color: var(--tinte); box-shadow: inset 0 0 0 2px var(--tinte-2); }
.namensfeld input:focus { box-shadow: inset 0 0 0 2px var(--blau); outline: none; }

/* Was ich mache */
.angebot { padding: clamp(120px, 14vw, 220px) var(--rand) 0; }
.angebot-satz { font-size: var(--gross); font-weight: 650; line-height: 1; letter-spacing: -0.045em; text-wrap: wrap; }
.angebot-satz a { color: var(--tinte-2); text-decoration: none; transition: color .2s; }
.angebot-satz a:hover { color: var(--blau); }
.mini { display: inline-block; width: 1.3em; height: .72em; margin-left: .18em; vertical-align: baseline; overflow: hidden; transition: transform .3s; transform-origin: left center; }
.mini img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.angebot-satz a:hover .mini { transform: scale(1.5); }
.preise { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(56px, 6vw, 96px); }
.preise b { display: block; font-size: var(--satz); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 8px; }
.preise .knopf { margin-top: 24px; }
.klein { margin-top: 40px; font-size: var(--klein); color: var(--tinte-2); max-width: 70ch; }

/* Ablauf mit Regler */
.ablauf { margin-top: clamp(120px, 14vw, 220px); display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; min-height: 88svh; }
.ablauf-text { grid-column: 1; background: var(--blau); color: var(--hell); padding: clamp(40px, 5vw, 80px) var(--rand); display: grid; align-content: start; gap: 28px; }
.ablauf-text h2 { font-size: var(--mittel); }
.ablauf-satz { font-size: var(--satz); line-height: 1.2; max-width: 20ch; transition: opacity .2s; }
.ablauf-bild { grid-column: 2; background: var(--feld); display: grid; place-items: center; padding: 40px var(--rand); overflow: hidden; }
.ablauf-bild img { width: min(300px, 70%); aspect-ratio: 9 / 17; object-fit: cover; object-position: top; border: 10px solid var(--tinte); border-radius: 28px; transition: opacity .2s; }
.ablauf-regler { grid-column: 1 / -1; padding: 28px var(--rand) 36px; background: var(--grund); }
.ablauf-regler input { width: 100%; height: 32px; appearance: none; background: transparent; cursor: pointer; }
.ablauf-regler input::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(var(--tinte), var(--tinte)) 0 / var(--stand, 0%) 100% no-repeat, var(--feld); }
.ablauf-regler input::-moz-range-track { height: 8px; background: var(--feld); }
.ablauf-regler input::-moz-range-progress { height: 8px; background: var(--tinte); }
.ablauf-regler input::-webkit-slider-thumb { appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--blau); border: 0; }
.ablauf-regler input::-moz-range-thumb { width: 32px; height: 32px; background: var(--blau); border: 0; border-radius: 0; }
.ablauf-namen { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 10px; font-size: 16px; color: var(--tinte-2); }
.ablauf-namen li:nth-child(2) { text-align: center; } .ablauf-namen li:nth-child(3) { text-align: center; } .ablauf-namen li:last-child { text-align: right; }
.ablauf-namen button { min-height: 44px; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.ablauf-namen button:hover { color: var(--blau); }
.ablauf-namen .aktiv { color: var(--tinte); font-weight: 650; }

/* Über mich */
.ich { margin-top: clamp(120px, 14vw, 220px); padding: clamp(80px, 9vw, 140px) var(--rand); background: var(--feld); display: grid; grid-template-columns: 2fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.ich h2 { grid-column: 1 / -1; font-size: var(--mittel); }
.ich-text { max-width: 30ch; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.22; letter-spacing: -0.015em; }
.ich-fakten { list-style: none; display: grid; gap: 22px; font-size: var(--klein); }
.ich-fakten b { display: block; font-size: var(--text); }

/* Häufige Fragen */
.haeufig { padding: clamp(120px, 14vw, 220px) var(--rand) 0; display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.haeufig h2 { font-size: var(--mittel); max-width: 14ch; }
.haeufig-liste > div { padding: 24px 0; border-top: 1px solid var(--feld); }
.haeufig-liste dt { font-weight: 650; font-size: var(--satz); line-height: 1.2; letter-spacing: -0.015em; }
.haeufig-liste dd { margin: 10px 0 0; max-width: 60ch; color: var(--tinte-2); }
.haeufig-mehr { margin-top: 24px; font-size: var(--klein); }
.haeufig-mehr a { color: var(--blau); }

/* Kontakt */
.kontakt { padding: clamp(120px, 14vw, 220px) var(--rand) clamp(120px, 12vw, 180px); display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 112px); align-items: start; }
.kontakt-text { display: grid; gap: 24px; position: sticky; top: 40px; }
.kontakt-text h2 { font-size: var(--mittel); }
.kontakt-text p { max-width: 40ch; }
.kontakt-form { display: grid; gap: 18px; background: var(--hell); padding: clamp(24px, 3vw, 44px); }
.kontakt-form label { display: block; font-size: 16px; font-weight: 600; }
.kontakt-form label > input, .kontakt-form label > select, .kontakt-form label > textarea { display: block; margin-top: 6px; }
.kontakt-form input, .kontakt-form select, .kontakt-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: 400 17px var(--schrift); color: var(--tinte); background: var(--grund); border: 0; border-radius: 0; box-shadow: inset 0 -2px 0 var(--tinte-2); }
.kontakt-form input:focus, .kontakt-form select:focus, .kontakt-form textarea:focus { outline: none; box-shadow: inset 0 -3px 0 var(--blau); background: var(--hell); }
.form-hint { max-width: 60ch; font-size: var(--klein); color: var(--tinte-2); font-weight: 400; }
.req { color: var(--rot); }
.form-error { color: var(--rot); }
.form-done { color: var(--blau); font-weight: 600; }
.hp { position: absolute; left: -9999px; }

/* Fuß: blaues Feld, Name angeschnitten */
.fuss { position: relative; overflow: hidden; background: var(--blau); color: var(--hell); padding: clamp(64px, 8vw, 120px) var(--rand) 0; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto auto; }
.fuss-oben { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.einladung { font-size: clamp(40px, 5vw, 84px); font-weight: 650; letter-spacing: -0.04em; line-height: 1; max-width: 15ch; margin-bottom: 32px; }
.fuss-links { display: grid; gap: 0; align-content: start; font-size: 16px; }
.fuss-links a { display: inline-block; padding: 11px 0; }
.fuss-links a { text-decoration: none; }
.fuss-links a:hover { text-decoration: underline; }
.fuss-recht { grid-row: 3; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; padding-bottom: 12px; }
.fuss-recht a { display: inline-block; margin-left: 18px; padding: 12px 0; }
.fuss-name { grid-row: 4; font-size: 18.5vw; font-weight: 800; letter-spacing: -0.06em; line-height: .8; white-space: nowrap; transform: translateY(16%); margin-left: -0.04em; }

/* Chat (wie bisher, an die neue Seite angepasst) */
.chat-open { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: var(--blau); color: var(--hell); cursor: pointer; }
.chat-open:hover { background: var(--blau-tief); }
.chat-open svg { width: 26px; height: 26px; }
.chat { position: fixed; right: 20px; bottom: 88px; z-index: 70; display: flex; flex-direction: column; width: min(370px, calc(100vw - 32px)); max-height: min(580px, calc(100vh - 120px)); overflow: hidden; background: var(--hell); box-shadow: 0 30px 70px -24px rgba(18, 24, 38, .45); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--feld); }
.chat-head small { display: block; font-size: 13px; color: var(--tinte-2); }
.chat-avatar { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--blau); color: var(--hell); font-weight: 700; }
.chat-close { margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: var(--tinte); font-size: 1.6rem; cursor: pointer; }
.chat-body { flex: 1; display: grid; align-content: start; gap: 10px; min-height: 160px; padding: 16px; overflow-y: auto; }
.msg { max-width: 86%; padding: 10px 14px; font-size: 15px; line-height: 1.45; }
.msg.bot { justify-self: start; background: var(--grund); }
.msg.me { justify-self: end; background: var(--blau); color: var(--hell); }
.msg a { color: var(--blau); font-weight: 700; }
.typing { display: flex; gap: 4px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--tinte-2); }
.chat-qs { display: flex; flex-wrap: wrap; gap: 6px; max-height: 170px; padding: 12px 16px; overflow-y: auto; background: var(--grund); }
.chat-qs button { padding: 7px 12px; font: inherit; font-size: 14px; color: var(--tinte); background: var(--hell); border: 0; cursor: pointer; }
.chat-qs button:hover { color: var(--blau); }
.chat-foot { padding: 6px 16px 10px; text-align: center; font-size: 13px; color: var(--tinte-2); }

/* Einblenden: Überschrift, dann Text, dann Bild */
.js .auf { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--v, 0ms); }
.js .auf.da { opacity: 1; transform: none; }

/* Handy */
@media (max-width: 900px) {
  .kopf { flex-wrap: wrap; row-gap: 6px; }
  .menue { width: 100%; justify-content: space-between; gap: 8px; }
  .menue a:not(.knopf) { display: inline-flex; align-items: center; min-height: 44px; }
  .menue .knopf { position: absolute; top: 18px; right: var(--rand); }
  .buehne { height: auto; }
  .buehne-halt { position: relative; height: auto; display: block; padding: 136px var(--rand) 40px; }
  .satz { display: block; }
  .haeufig { grid-template-columns: 1fr; }
  .satz-a, .satz-b { display: block; font-size: 13vw; padding: 0; }
  .satz-b { text-align: right; }
  html[lang="en"] .satz-a, html[lang="en"] .satz-b { font-size: 10.5vw; }
  .streifen { margin: 20px 0; height: auto; }
  .streifen { pointer-events: auto; margin-right: calc(-1 * var(--rand)); }
  .streifen-band { position: static; transform: none !important; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: var(--rand); }
  .streifen-band .bild { flex: 0 0 86%; scroll-snap-align: start; }
  .bild { aspect-ratio: 16 / 10; }
  .probe-name { font-size: 10vw; }
  .buehne-fuss { display: grid; grid-template-columns: 1fr; padding: 24px 0 0; }
  .unterzeile, .namensfeld { grid-column: 1; grid-row: auto; padding-bottom: 0; margin-right: 0; }
  .namensfeld { margin-top: 20px; }
  .angebot-satz { font-size: 9vw; }
  .preise { grid-template-columns: 1fr; }
  .ablauf { grid-template-columns: 1fr; min-height: 0; }
  .ablauf-text { grid-row: 1; }
  .ablauf-bild { grid-column: 1; grid-row: 2; height: 56svh; }
  .ablauf-regler { grid-row: 3; }
  .ablauf-namen { font-size: 15px; }
  .ich { grid-template-columns: 1fr; }
  .kontakt { grid-template-columns: 1fr; }
  .kontakt-text { position: static; }
  .fuss { min-height: 0; }
  .fuss-name { font-size: 18.5vw; margin-top: 40px; }
  .pflege-text .knopf, .fuss .knopf { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .buehne { height: auto; }
  .buehne-halt { position: relative; }
  .js .auf { opacity: 1; transform: none; transition: none; }
}

/* Wahl: schon eine Website oder neue */
.wahl { display: flex; gap: 6px; margin-bottom: 10px; }
.wahl label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; background: var(--feld); font-size: 15px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.wahl label { position: relative; }
.wahl input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wahl label:has(input:checked) { background: var(--tinte); color: #fff; }
.wahl label:has(input:focus-visible) { outline: 3px solid var(--blau); outline-offset: 2px; }
.wahl label:not(:has(input:checked)):hover { background: #dcd9d1; }

/* Pflege */
.pflege { margin-top: clamp(96px, 12vw, 200px); display: grid; grid-template-columns: 7fr 5fr; background: var(--blau); color: #fff; }
.pflege-text { padding: clamp(48px, 6vw, 96px) clamp(16px, 5vw, 80px); display: grid; gap: 28px; align-content: start; }
.pflege-text h2 { font-size: clamp(44px, 6.4vw, 112px); line-height: 0.95; letter-spacing: -0.03em; max-width: 10ch; }
.pflege-lead { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.3; max-width: 30ch; }
.pflege-plaene { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pflege-plaene b { display: block; font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -0.02em; margin-bottom: 8px; }
.pflege-text a:not(.knopf) { color: #fff; }
.pflege-text .knopf { justify-self: start; }
.pflege-bild { margin: 0; overflow: hidden; background: var(--feld); }
.pflege-bild img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (max-width: 900px) {
  .pflege, .pflege-plaene { grid-template-columns: 1fr; }
  .pflege-bild { height: 60svh; }
}

/* Sprachknopf */
.lang-toggle { min-width: 44px; min-height: 44px; padding: 0 6px; border: 0; background: none; font: 600 var(--klein) var(--schrift); color: var(--tinte); cursor: pointer; }
.lang-toggle:hover { color: var(--blau); text-decoration: underline; text-underline-offset: 5px; }

/* Newsletter im Fuß */
.nl-fuss { grid-row: 2; align-self: end; display: grid; gap: 10px; max-width: 560px; margin: 56px 0 40px; }
.nl-fuss label { font-weight: 600; }
.nl-fuss-zeile { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-fuss input { flex: 1 1 240px; min-height: 52px; padding: 0 14px; border: 0; border-radius: 0; font: 400 17px var(--schrift); color: var(--tinte); background: var(--hell); }
.nl-fuss .form-hint { color: #dfe5f2; }
.nl-fuss .form-hint a { color: var(--hell); }
.nl-fuss .form-error { color: #ffd2d2; }
.nl-fuss .form-done { color: var(--hell); }
.fuss-recht { grid-row: 3; }
