/* eft-leonberg.de – Stylesheet
   Aus Prototyp 2b (reference/prototypes/2b-wix-optimiert-titelkarte/), gewählt
   27.10.2026. Gleiche Reihenfolge der Inhalte wie Wix, aber: lesbare Schriftgrösse,
   begrenzte Zeilenlänge, eine Akzentfarbe, Ablauf als Schritte, Kopfzeile bleibt
   beim Scrollen sichtbar. Gegenüber dem Prototyp nur ungenutzte Regeln entfernt. */

@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300 500; font-display: swap; src: url('../fonts/jost.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/source-sans-3-v19-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/source-sans-3-v19-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/source-sans-3-v19-latin-700.woff2') format('woff2'); }

:root {
	--grund: #f4f2ef;
	--weiss: #ffffff;
	--text: #222222;
	--leise: #5a5550;
	--akzent: #8c4b41;
	--akzent-dunkel: #6f3a32;
	--linie: #ddd7d0;
	--breite: 1080px;
	--lese: 680px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--grund); color: var(--text); font: 400 18px/1.65 'Source Sans 3', Arial, sans-serif; }
a { color: var(--akzent); }
h1, h2, h3 { font-family: 'Jost', Arial, sans-serif; font-weight: 400; line-height: 1.2; margin: 0 0 .6em; color: #1a1a1a; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 1rem; top: 1rem; z-index: 30; background: #fff; padding: .5rem 1rem; }
.ico { width: 1.1em; height: 1.1em; vertical-align: -.2em; flex: none; }

/* Kopf: Logo links, Navigation rechts, bleibt oben */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: .7rem 1.25rem; display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; margin-right: auto; }
.logo-bild { width: 48px; height: 48px; border: 1px solid var(--linie); display: grid; place-items: center; font-size: 10px; color: var(--leise); background: #fff; }
#hauptnavigation ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.4rem; }
#hauptnavigation a { color: var(--text); text-decoration: none; font-family: 'Jost', sans-serif; font-size: 16px; padding: .3rem 0; border-bottom: 2px solid transparent; }
#hauptnavigation a:hover, #hauptnavigation a[aria-current="page"] { border-bottom-color: var(--akzent); }
#hauptnavigation .nav-knopf a { background: var(--akzent); color: #fff; padding: .45rem 1rem; border: 0; border-radius: 3px; }
#hauptnavigation .nav-knopf a:hover { background: var(--akzent-dunkel); }
.menue-knopf { display: none; }

/* Titelbereich */
.held { position: relative; min-height: 520px; display: grid; }
.held > * { grid-area: 1 / 1; }
.vorzeile { font-family: 'Jost', sans-serif; text-transform: uppercase; letter-spacing: .12em; font-size: 14px; color: var(--akzent); margin-bottom: .5rem; }

/* Abschnitte */
.abschnitt { padding: clamp(3rem, 7vw, 5.5rem) 1.25rem; }
.abschnitt-weiss { background: var(--weiss); }
.abschnitt-grau { background: var(--grund); }
.schmal { max-width: var(--lese); margin: 0 auto; }
.betont { font-family: 'Jost', sans-serif; font-size: 24px; color: var(--akzent); margin-top: 1.5rem; }
.unterzeile { font-family: 'Jost', sans-serif; font-size: 20px; color: var(--leise); margin-top: -.3rem; }
.hervor { font-family: 'Jost', sans-serif; font-size: 24px; line-height: 1.4; border-left: 3px solid var(--akzent); padding: .3rem 0 .3rem 1.2rem; margin: 2rem 0; }
.quelle { font-size: 15px; color: var(--leise); }
.seitenkopf { background: var(--weiss); padding: clamp(3rem, 7vw, 5rem) 1.25rem 1rem; }
.seitenkopf + .abschnitt-weiss { padding-top: 1.5rem; }

.zweispaltig { max-width: var(--breite); margin: 0 auto; display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.zweispaltig-oben { align-items: start; grid-template-columns: 1fr 1fr; }

/* Für die Liebe: Text in eigener Fläche statt auf unruhigem Foto */
.liebe { display: grid; grid-template-columns: 1fr 1fr; background: #2f2a27; color: #f4efe9; }
.liebe-text { padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem); max-width: 640px; }
.liebe-text h2 { color: #fff; }
.liebe-text .unterzeile { color: #d8c6bd; }

/* Zitat */
.zitat { text-align: center; }
.zitat blockquote { margin: 0 auto; max-width: 720px; }
.zitat p { font-family: 'Jost', sans-serif; font-size: clamp(22px, 3vw, 30px); line-height: 1.35; }
.zitat footer { color: var(--leise); }
.ico-zitat { width: 48px; height: 35px; margin-bottom: .75rem; color: var(--akzent); opacity: .8; }

/* Kontakt */
.kontaktdaten { list-style: none; padding: 0; margin: 1.5rem 0; }
.kontaktdaten li { display: flex; gap: .8rem; margin-bottom: .75rem; align-items: flex-start; }
.kontaktdaten .ico { color: var(--akzent); margin-top: .25rem; }
.kontaktdaten a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--linie); }
.kontaktdaten-klein { font-size: 16px; margin: 0; }
.formular-karte { background: var(--grund); padding: clamp(1.25rem, 4vw, 2.25rem); border-radius: 4px; }

.form-check { display: flex; gap: .7rem; align-items: flex-start; font-size: 16px; margin-bottom: 1.2rem; }
.form-check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--akzent); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.knopf { display: inline-block; background: var(--akzent); color: #fff; border: 0; border-radius: 3px; padding: .85rem 1.6rem; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.knopf:hover { background: var(--akzent-dunkel); }
.knopf-hell { background: #fff; color: var(--akzent); }
.knopf-hell:hover { background: #f1e7e4; }
.textlink { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* Ablauf als nummerierte Schritte */
.schritte { list-style: none; padding: 0; margin: 0; }
.schritt { display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding-bottom: 2.5rem; position: relative; }
.schritt:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: .5rem; width: 2px; background: var(--linie); }
.schritt-nr { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--akzent); color: var(--akzent); display: grid; place-items: center; font-family: 'Jost', sans-serif; font-size: 24px; background: #fff; }

/* Band mit Handlungsaufforderung */
.cta-band { background: var(--akzent); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 1.25rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p:last-child { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 1.5rem 0 0; }
.tel-link { color: #fff; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; }

/* Fuss */
.fuss { background: #2f2a27; color: #d9d0c8; padding: 3rem 1.25rem 1.5rem; font-size: 16px; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.fuss-titel { font-size: 19px; color: #fff; }
.fuss a { color: #f1e9e2; }
.fuss .kontaktdaten .ico { color: #d8a89f; }
.fuss .kontaktdaten a { border-bottom-color: #5e544e; }
.fuss-links { list-style: none; padding: 0; margin: 0; }
.fuss-links li { margin-bottom: .4rem; }
.fuss-copy { max-width: var(--breite); margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid #4a423d; font-size: 14px; }

:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }

@media (max-width: 900px) {
	.kopf-innen { flex-wrap: wrap; }
	.menue-knopf { display: block; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--text); }
	.menue-knopf .ico { width: 28px; height: 28px; }
	.ico-zu { display: none; }
	.menue-offen .ico-zu { display: inline; }
	.menue-offen .ico-auf { display: none; }
	#hauptnavigation { display: none; width: 100%; }
	.menue-offen #hauptnavigation { display: block; }
	#hauptnavigation ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 0 1rem; }
	#hauptnavigation li a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--linie); }
	#hauptnavigation .nav-knopf a { margin-top: 1rem; text-align: center; padding: .8rem; }
	.logo-bild { width: 40px; height: 40px; }
	.zweispaltig, .zweispaltig-oben, .liebe, .fuss-innen { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	body { font-size: 17px; }
	.schritt { grid-template-columns: 44px 1fr; gap: 1rem; }
	.schritt-nr { width: 44px; height: 44px; font-size: 20px; }
	.schritt:not(:last-child)::before { left: 21px; top: 44px; }
	.knopf { width: 100%; text-align: center; }
}

/* ── Stand 2 (26.10.2026): Bilder, KI-Label, Mechanik nach by-perspektiven.de ── */
.image-frame { position: relative; overflow: hidden; }
.image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* KI-Label wie bei Physio Funk Gauckler (.bild-label--ki), hier sichtbar */
.bild-label { position: absolute; right: .5rem; bottom: .45rem; margin: 0; font-size: 8.8px; line-height: 1.3; letter-spacing: .02em; color: #fff; background: rgba(0,0,0,.45); padding: .08rem .36rem; border-radius: 2px; }
/* 27.10.2026: Label 20 % kleiner (11 → 8,8 px, Innenabstand mit), schwerer lesbar – so akzeptiert */

/* Inhalte aus by-perspektiven.de: Impressum, Datenschutz, Meldungen, 404, Formular */
.by-inhalt { max-width: 780px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; overflow-wrap: break-word; }
.by-inhalt h1, .by-inhalt h2, .by-inhalt h3 { hyphens: auto; }
.by-inhalt .page-content h2 { font-size: 22px; margin-top: 2.2rem; }
.by-inhalt .page-content h3 { font-size: 18px; margin-top: 1.4rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-wrap: wrap; gap: .35rem; font-size: 14px; color: var(--leise); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: .35rem; }
.breadcrumb a { color: inherit; }
.seiten-zitat { font-style: italic; color: var(--leise); }
.seiten-zitat cite { display: block; font-size: 14px; font-style: normal; margin-top: .3rem; }
.meldung { text-align: center; padding: 2rem 0 1rem; }
.meldung a { display: inline-flex; gap: .4rem; align-items: center; }
.ico-arrow-right, .ico-arrow-ne { width: 1.1em; height: 1.1em; flex: none; }
.legal-note { font-size: 14px; color: var(--leise); }
.not-found-list { padding-left: 1.2rem; }
.tel { white-space: nowrap; }

.kontakt-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.kontakt-form .form-group { margin-bottom: 1.1rem; }
.kontakt-form .form-group label { display: block; margin-bottom: .3rem; }
.kontakt-form input[type="text"], .kontakt-form input[type="email"], .kontakt-form input[type="tel"], .kontakt-form textarea { width: 100%; font: inherit; }
.kontakt-form textarea { min-height: 170px; resize: vertical; }
.kontakt-form .form-hint { font-size: .88em; color: var(--leise); margin: 0 0 .4rem; }
.kontakt-form .form-check { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: 1.2rem; }
.kontakt-form .form-check input { margin-top: .3rem; flex: none; }
.kontakt-form .form-submit { display: inline-flex; gap: .5rem; align-items: center; justify-content: center; cursor: pointer; font: inherit; }
.kontakt-form .form-note { font-size: .85em; color: var(--leise); margin-top: .6rem; }
@media (max-width: 560px) { .kontakt-form .form-row { grid-template-columns: 1fr; } }

/* Logo, Bilder, Formular */
.logo .logo-bild { width: auto; height: 58px; border: 0; background: none; display: block; }
/* Titelbild nur so breit wie der Inhalt, ganz gezeigt (kein Beschnitt oben/unten) */
.held { position: relative; min-height: 0; max-width: var(--breite); margin: 0 auto; padding: 1.5rem 1.25rem 0; }
.held-bild { aspect-ratio: 1376 / 768; border-radius: 4px; }
.bild-portraet { aspect-ratio: 1; max-width: 440px; border-radius: 4px; }
.bild-portraet img { object-position: 50% 25%; }
.liebe-bild { min-height: 420px; }
.liebe-bild img { position: absolute; inset: 0; }
.bild-breit { aspect-ratio: 16 / 9; border-radius: 4px; }
.bild-schritt { aspect-ratio: 4 / 3; border-radius: 4px; margin: .25rem 0 1.25rem; }
.bild-portraet-quer { aspect-ratio: 625 / 417; max-width: 520px; border-radius: 4px; margin-top: 1.5rem; }
.kontakt-form .form-row { grid-template-columns: 1fr; }
.kontakt-form .form-group label { font-weight: 600; font-size: 16px; }
.kontakt-form input, .kontakt-form textarea { font-size: 17px; padding: .65rem .8rem; border: 1px solid #b9b1a8; border-radius: 3px; background: #fff; }
.kontakt-form input:focus, .kontakt-form textarea:focus { border-color: var(--akzent); outline: 2px solid rgba(140,75,65,.25); }
.kontakt-form .form-check input { width: 20px; height: 20px; accent-color: var(--akzent); margin-top: .2rem; }
.kontakt-form .form-submit { background: var(--akzent); color: #fff; border: 0; border-radius: 3px; padding: .85rem 1.6rem; font-weight: 600; }
.kontakt-form .form-submit:hover { background: var(--akzent-dunkel); }
.by-inhalt { background: #fff; max-width: none; }
.by-inhalt > * { max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) {
	.logo .logo-bild { height: 46px; }
	/* schmal: Titelkarte unter das Bild statt darauf */
	.held > * { grid-area: auto; }
}
@media (max-width: 560px) { .kontakt-form .form-submit { width: 100%; } }

/* Titelbereich ohne Knopf (Thema verlangt Zurückhaltung).
   Titelblock als helle Karte links unten im Bild, 24 px vom Bildrand.
   Schmal: unter dem Bild. */
.held-ohne-text { padding-bottom: 0; }
.titel-2b { position: relative; align-self: end; justify-self: start; margin: 0 0 24px 24px; max-width: calc(100% - 48px);
	background: rgba(255,255,255,.93); border-radius: 4px; padding: 1.6rem 2.2rem 1.5rem; text-align: center; }
.titel-2b .vorzeile { margin-bottom: .6rem; font-size: 13px; }
.titel-2b h1 { margin: 0 auto; font-size: clamp(30px, 3.4vw, 42px); }
.titel-motto { font-family: 'Jost', sans-serif; font-weight: 300; font-size: clamp(19px, 2vw, 24px); color: var(--leise); margin: .9rem 0 0; letter-spacing: .01em; }
@media (max-width: 900px) {
	.titel-2b { justify-self: stretch; margin: 0; max-width: none; background: #fff; border-radius: 0 0 4px 4px; padding: 1.75rem 1rem 2rem; }
}
/* „Für die Liebe“: Text links, Bild rechts (nur breit; schmal Bild zuerst) */
@media (min-width: 901px) { .liebe .liebe-text { order: -1; justify-self: end; } }
.liebe-bild img { object-position: 78% 50%; } /* Schatten des Paares im Ausschnitt halten */
