/* Beidsam — Website
 *
 * Farben aus der Farbwelt Schiefer der App. Petrol und Bernstein gehören den beiden
 * Haushalten und werden sonst nicht verwendet. Nur System-Schriften: Die Seite lädt
 * schnell, und nichts kommt von fremden Servern.
 */

:root {
	--grund: #F2F4F6;
	--weiss: #FFFFFF;
	--flaeche2: #E6EBEF;
	--tinte: #151A20;
	--tinte2: #4E5862;
	--tinte3: #838C96;
	--linie: #DCE2E8;
	--marke: #3D5A73;
	--marke-dunkel: #2C4257;
	--marke-weich: #E2EAF1;
	--schiefer: #243441;
	--petrol: #2E8199;
	--petrol-hell: #55A8BD;
	--bernstein: #B0761B;
	--bernstein-hell: #E0AC5C;

	--schatten-karte: 0 1px 2px rgba(21, 26, 32, .04), 0 12px 32px -14px rgba(21, 26, 32, .16);
	--schatten-telefon: 0 40px 70px -28px rgba(20, 32, 44, .45), 0 14px 28px -14px rgba(20, 32, 44, .3);

	--schrift: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--schrift-titel: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--schrift-zahl: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
body {
	margin: 0; background: var(--grund); color: var(--tinte); overflow-x: hidden;
	font: 400 17px/1.6 var(--schrift);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--schrift-titel); margin: 0; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0; }
a { color: var(--marke); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(61, 90, 115, .5); outline-offset: 3px; border-radius: 8px; }

.breite { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.breite-schmal { max-width: 760px; }
.mitte { text-align: center; }
@media (min-width: 720px) { .breite { padding: 0 32px; } }

.ueberspringen { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 600; }
.ueberspringen:focus { left: 16px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* --- Kopf ------------------------------------------------------------------------------- */

.menue-ziel { position: fixed; top: 0; }
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(242, 244, 246, .88); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.marke { display: inline-flex; align-items: center; gap: 10px; font-family: var(--schrift-titel); font-weight: 700; font-size: 19px; color: var(--tinte); text-decoration: none; letter-spacing: -.02em; }
.markenzeichen { width: 30px; height: 30px; border-radius: 8px; flex: none; }
.kopf-nav { display: none; gap: 24px; margin-left: auto; }
.kopf-nav a { color: var(--tinte2); text-decoration: none; font-size: 15px; font-weight: 500; }
.kopf-nav a:hover { color: var(--tinte); }
.kopf-aktionen { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 900px) { .kopf-nav { display: flex; } .kopf-aktionen { margin-left: 0; } }

.kopf-burger { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; color: var(--tinte); background: var(--flaeche2); text-decoration: none; }
.kopf-burger .icon { width: 20px; height: 20px; }
.kopf-burger-zu { display: none; }
@media (min-width: 900px) { .kopf-burger { display: none; } }
.kopf-menue { display: none; border-top: 1px solid var(--linie); background: var(--weiss); }
.kopf-menue-innen { display: grid; gap: 2px; padding: 12px 20px 18px; max-width: 1160px; margin: 0 auto; }
.kopf-menue a { padding: 11px 0; color: var(--tinte); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--linie); }
.kopf-menue a:last-child { border-bottom: 0; }
#menue:target ~ .kopf .kopf-menue { display: block; }
#menue:target ~ .kopf .kopf-burger-auf { display: none; }
#menue:target ~ .kopf .kopf-burger-zu { display: inline-flex; }
@media (min-width: 900px) { #menue:target ~ .kopf .kopf-menue { display: none; } #menue:target ~ .kopf .kopf-burger-zu { display: none; } }

/* --- Knöpfe ----------------------------------------------------------------------------- */

.knopf {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 14px 24px; border-radius: 14px; background: var(--marke); color: #fff;
	font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer;
	transition: background .15s ease, transform .15s ease;
}
.knopf:hover { background: var(--marke-dunkel); }
.knopf:active { transform: translateY(1px); }
.knopf-klein { padding: 9px 16px; font-size: 15px; border-radius: 11px; }
.knopf-hell { background: #fff; color: var(--schiefer); }
.knopf-hell:hover { background: #E9EEF2; }
.knopf-neben { background: var(--marke-weich); color: var(--marke); }
.knopf-neben:hover { background: #D3E0EB; }

.aufruf { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 26px; }
.mitte .aufruf { align-items: center; }
.bald { display: inline-flex; align-items: center; gap: 8px; color: var(--tinte3); font-size: 14.5px; }
.bald-hell { color: rgba(255, 255, 255, .75); }

/* --- Held ------------------------------------------------------------------------------- */

.augenbraue { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--marke); letter-spacing: .01em; margin-bottom: 14px; }
.augenbraue-hell { color: var(--petrol-hell); }
.mitte .augenbraue { justify-content: center; }

.held { padding: 48px 0 20px; overflow: hidden; }
/* `min-width: 0` an den Kindern: Ein Grid- oder Flex-Element schrumpft sonst nie unter
   die Breite seines Inhalts. Die zwei Telefone nebeneinander verlangen zusammen mehr
   als die Fensterbreite – ohne das hier zöge das die ganze Spalte auf, und der Text
   bräche auf schmalen Bildschirmen nicht mehr um. */
.held-innen { display: grid; gap: 40px; }
.held-innen > * { min-width: 0; }
.held h1 { font-size: clamp(38px, 8vw, 62px); font-weight: 800; }
.marke-farbe { color: var(--petrol); }
.einleitung { margin-top: 20px; font-size: clamp(17px, 2.4vw, 20px); color: var(--tinte2); max-width: 30em; }
.einleitung-hell { color: rgba(255, 255, 255, .82); margin-left: auto; margin-right: auto; }
.vorteile-kurz { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--tinte2); }
.vorteile-kurz li { display: inline-flex; align-items: center; gap: 7px; }
.vorteile-kurz .icon { color: var(--petrol); }

.held-bild { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 0; padding: 10px 0 30px; min-width: 0; }
.telefon { margin: 0; border-radius: 30px; overflow: hidden; background: #fff; border: 5px solid #1A2530; box-shadow: var(--schatten-telefon); width: min(260px, 44vw); flex: none; }
.telefon img { width: 100%; height: auto; }
.telefon-hinten { transform: rotate(5deg) translateX(16%) scale(.9); transform-origin: bottom center; }
.telefon-vorne { transform: rotate(-3deg) translateX(-8%); position: relative; z-index: 2; }

.schild { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--schatten-karte); font-size: 13px; z-index: 3; }
.schild strong { display: block; font-size: 13.5px; }
.schild small { color: var(--tinte3); font-size: 12px; }
.schild-heute { left: 0; top: 6%; }
.schild-saldo { right: 0; bottom: 16%; }
.schild-zahl { font-family: var(--schrift-zahl); font-weight: 700; font-size: 16px; color: var(--petrol); }
.punkt { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.punkt-a { background: var(--petrol); }
.punkt-b { background: var(--bernstein); }
@media (max-width: 560px) { .schild { display: none; } }

@media (min-width: 900px) {
	.held { padding: 64px 0 30px; }
	.held-innen { grid-template-columns: 1.02fr .98fr; align-items: center; gap: 30px; }
	.telefon { width: min(300px, 30vw); }
}

/* --- Abschnitte ------------------------------------------------------------------------- */

.abschnitt { padding: 64px 0; }
.abschnitt-weiss { background: var(--weiss); }
.abschnitt-kopf { max-width: 42em; margin-bottom: 36px; }
.mitte .abschnitt-kopf { margin-left: auto; margin-right: auto; }
.abschnitt h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 700; }
.abschnitt-text { margin-top: 14px; color: var(--tinte2); }
.fliess { margin-top: 16px; color: var(--tinte2); }
@media (min-width: 900px) { .abschnitt { padding: 88px 0; } }

.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: schritt; }
.schritt { background: var(--weiss); border-radius: 20px; padding: 26px; box-shadow: var(--schatten-karte); }
.schritt-nummer { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; background: var(--marke-weich); color: var(--marke); font-family: var(--schrift-zahl); font-weight: 700; margin-bottom: 14px; }
.schritt h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.schritt p { color: var(--tinte2); font-size: 15.5px; }
@media (min-width: 760px) { .schritte { grid-template-columns: repeat(3, 1fr); } }

.funktionen { display: grid; gap: 64px; }
.funktion { display: grid; gap: 28px; align-items: center; }
.funktion > * { min-width: 0; }
.funktion h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 700; }
.funktion > .funktion-text > p:not(.augenbraue) { margin-top: 14px; color: var(--tinte2); }
.funktion-bild { border-radius: 26px; padding: 30px 20px 0; display: flex; justify-content: center; overflow: hidden; }
.farbe-petrol { background: linear-gradient(160deg, #E4F1F5, #CFE6ED); }
.farbe-bernstein { background: linear-gradient(160deg, #FAF0DE, #F2E1C2); }
.farbe-schiefer { background: linear-gradient(160deg, #E7ECF1, #D5DEE6); }
.funktion-bild .telefon { transform: none; width: min(240px, 58vw); border-radius: 26px 26px 0 0; border-bottom: 0; box-shadow: 0 24px 44px -22px rgba(20, 32, 44, .5); }
@media (min-width: 860px) {
	.funktion { grid-template-columns: 1fr 1fr; gap: 48px; }
	.funktion.gespiegelt .funktion-text { order: 2; }
}

.pruefliste { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.pruefliste li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--tinte2); }
.pruefliste .icon { color: var(--petrol); margin-top: .28em; }

/* --- Nachweis --------------------------------------------------------------------------- */

.abschnitt-dunkel { background: var(--schiefer); color: #fff; }
.abschnitt-dunkel h2 { color: #fff; }
.abschnitt-dunkel .einleitung { color: rgba(255, 255, 255, .8); }
.abschnitt-dunkel .pruefliste li { color: rgba(255, 255, 255, .8); }
.abschnitt-dunkel .pruefliste .icon { color: var(--petrol-hell); }
.klein-hell { margin-top: 22px; font-size: 14px; color: rgba(255, 255, 255, .55); }
.nachweis { display: grid; gap: 40px; align-items: center; }
.nachweis > * { min-width: 0; }
@media (min-width: 900px) { .nachweis { grid-template-columns: 1fr 1fr; gap: 56px; } }

.blatt { background: #fff; color: #1A1A1A; border-radius: 6px; padding: 28px 26px; box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .6); font-size: 12px; transform: rotate(-1.4deg); }
.blatt-titel { font-family: var(--schrift-titel); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.blatt-zeile { color: #555; margin-top: 6px; font-size: 11px; }
.blatt-abschnitt { font-weight: 700; margin-top: 18px; font-size: 12.5px; }
.blatt-tabelle { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 8px; font-variant-numeric: tabular-nums; }
.blatt-tabelle th { text-align: left; font-size: 9.5px; color: #666; font-weight: 600; border-bottom: 1px solid #888; padding-bottom: 4px; }
.blatt-tabelle td { padding: 5px 0; border-bottom: 1px solid #E4E4E4; }
.blatt-tabelle th:not(:first-child), .blatt-tabelle td:not(:first-child):not(:nth-child(2)) { text-align: right; }
.blatt-summe td { font-weight: 700; border-bottom: 1px solid #888; }

/* --- Stimmen ---------------------------------------------------------------------------- */

.stimmen { display: grid; gap: 18px; }
@media (min-width: 800px) { .stimmen { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.stimme { margin: 0; background: var(--grund); border-radius: 20px; padding: 24px; }
.stimme blockquote { margin: 0; font-size: 16px; color: var(--tinte); }
.stimme blockquote::before { content: "„"; }
.stimme blockquote::after { content: "“"; }
.stimme figcaption { margin-top: 12px; font-size: 14px; color: var(--tinte3); }

/* --- Preise ----------------------------------------------------------------------------- */

.preise { display: grid; gap: 18px; align-items: start; }
@media (min-width: 760px) { .preise { grid-template-columns: 1fr 1fr; } }
.preis { background: var(--grund); border-radius: 22px; padding: 30px; border: 1px solid var(--linie); position: relative; }
.preis-hervor { background: var(--weiss); border-color: var(--marke); box-shadow: var(--schatten-karte); }
.preis-marke { position: absolute; top: -12px; left: 30px; background: var(--marke); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.preis h3 { font-size: 19px; font-weight: 700; }
.preis-zahl { font-family: var(--schrift-zahl); font-size: 38px; font-weight: 700; margin-top: 10px; letter-spacing: -.02em; }
.preis-zahl span { font-size: 16px; font-weight: 500; color: var(--tinte3); }
.preis-text { margin-top: 6px; color: var(--tinte2); font-size: 15px; }
.preis-fuss { margin-top: 22px; font-size: 13.5px; color: var(--tinte3); }

/* --- Fragen ----------------------------------------------------------------------------- */

.fragen { display: grid; gap: 0; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; font-size: 22px; color: var(--tinte3); font-weight: 400; line-height: 1; }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding-bottom: 18px; color: var(--tinte2); font-size: 15.5px; }

/* --- Schluss und Fuß -------------------------------------------------------------------- */

.schluss { background: var(--schiefer); color: #fff; padding: 72px 0; }
.schluss h2 { font-size: clamp(28px, 4.6vw, 42px); font-weight: 700; color: #fff; }

.fuss { background: var(--weiss); border-top: 1px solid var(--linie); padding: 48px 0 32px; }
.fuss-innen { display: grid; gap: 28px; }
.fuss-marke p { margin-top: 10px; color: var(--tinte2); font-size: 15px; max-width: 34em; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.fuss-nav a { color: var(--tinte2); text-decoration: none; font-size: 15px; }
.fuss-nav a:hover { color: var(--tinte); }
.fuss-unten { border-top: 1px solid var(--linie); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; align-items: center; }
.fuss-klein { color: var(--tinte3); font-size: 13.5px; }
.fuss-recht { display: flex; gap: 18px; }
.fuss-recht a { color: var(--tinte3); font-size: 13.5px; text-decoration: none; }
.fuss-recht a:hover { color: var(--tinte); }

/* --- Inhaltsseiten ---------------------------------------------------------------------- */

.seite { padding: 48px 0 72px; }
.seite h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 700; }
.seite h2 { font-size: 22px; font-weight: 700; margin-top: 34px; }
.seite h3 { font-size: 18px; font-weight: 600; margin-top: 22px; }
.seite p, .seite li { color: var(--tinte2); margin-top: 12px; }
.seite ul { padding-left: 22px; }
.seite .vorspann { font-size: 19px; color: var(--tinte2); margin-top: 16px; }
.hinweis { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #FBF0DC; color: #7A5410; font-size: 15px; }

/* --- Formular --------------------------------------------------------------------------- */

.formular { display: grid; gap: 16px; margin-top: 26px; max-width: 34em; }
.feld { display: grid; gap: 6px; }
.feld label { font-size: 14px; font-weight: 600; color: var(--tinte); }
.feld input, .feld textarea {
	font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 12px;
	border: 1px solid var(--linie); background: var(--weiss); color: var(--tinte); width: 100%;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--marke); box-shadow: 0 0 0 3px rgba(61, 90, 115, .18); }
.feld-fehler { color: #B2463A; font-size: 13.5px; }
.meldung { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.meldung-gut { background: #E2F2EA; color: #1F6148; }
.meldung-schlecht { background: #FBE9E6; color: #93372C; }
.honig { position: absolute; left: -9999px; }

/* Klassen statt Inline-Styles – die Content-Security-Policy erlaubt keine style-Attribute. */
.meldung-oben { margin-top: 24px; }
.feld-freiwillig { font-weight: 400; color: var(--tinte3); }
.formular-hinweis { font-size: 13.5px; color: var(--tinte3); }
