/* ==========================================================================
   andrearoeker – Styles
   Werte 1:1 aus dem Claude-Design-Entwurf übernommen.
   Breakpoints wie im Entwurf: 1100px (Navigation/Hero), 1000px, 700px.
   Hinweis: bewusst KEIN globales box-sizing:border-box – der Entwurf rechnet mit content-box.
   ========================================================================== */

:root {
	--cream: #f5f0e6;
	--cream-light: #fbf8f2;
	--cream-ink: #fbf7ef;
	--sand: #f0e9db;
	--green: #1f3a2a;
	--green-deep: #162b1f;
	--ink: #24302a;
	--ink-soft: #5a625c;
	--terracotta: #b86a4e;
	--terracotta-dark: #a35a40;
	--gold: #b3914f;
	--gold-light: #e6c886;
	--serif: 'Cormorant Garamond', serif;
	--sans: 'Jost', system-ui, sans-serif;
	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 48px);
}

/* ---------- Basis ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* :where() hält die Spezifität bei 0 – Komponenten-Klassen gewinnen wie die Inline-Styles im Entwurf. */
:where(a) { color: var(--green); text-decoration: none; }
:where(a:hover) { color: var(--terracotta); }
h1, h2, h3, h4, p { margin: 0; }
button, input, textarea, select { font: inherit; }
[id] { scroll-margin-top: 96px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes drift { 0% { transform: translateX(0); } 100% { transform: translateX(-40px); } }
@keyframes bounceDown { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--green); color: #fff; padding: 12px 18px; }
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- „Termin buchen“-Button ---------- */
.btn-book { background: var(--terracotta); color: #fff; border-radius: 999px; font-weight: 500; letter-spacing: .03em; }
.btn-book:hover { background: var(--terracotta-dark); color: #fff; }
.btn-book--nav { margin-left: 6px; padding: 11px 22px; font-size: 14px; transition: background .3s, transform .3s; }
.btn-book--nav:hover { transform: translateY(-1px); }
.btn-book--mobile { margin-top: 28px; align-self: flex-start; padding: 16px 30px; font-family: var(--sans); font-size: 16px; }
.btn-book--mobile:hover { background: var(--terracotta); }
.btn-book--footer { display: inline-block; margin-top: 22px; padding: 12px 22px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .45s ease, box-shadow .45s ease; background: transparent; box-shadow: none; color: var(--cream-ink); }
/* Beim Scrollen: helles Karten-Weiss (#fffdf9) statt Creme wie im Entwurf – Wunsch Fernando, hebt sich besser vom Seitenhintergrund ab. */
.site-header.is-scrolled { background: rgba(255, 253, 249, .94); box-shadow: 0 10px 40px -20px rgba(31, 58, 42, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--green); }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: padding .45s ease; }
.site-header.is-scrolled .site-header__inner { padding-top: 10px; padding-bottom: 10px; }
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { height: clamp(40px, 4.5vw, 54px); width: auto; display: block; transition: filter .45s ease; filter: invert(1) brightness(1.6); }
.site-header.is-scrolled .site-header__logo img { filter: none; }

.site-nav { display: none; align-items: center; gap: clamp(18px, 2.2vw, 34px); font-size: 15px; letter-spacing: .02em; color: inherit; }
.site-nav__link { color: inherit; padding: 8px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-nav__link:hover, .site-nav__link.is-active { border-bottom-color: var(--gold); }
.site-nav__link--button { background: none; border: 0; border-bottom: 1px solid transparent; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 15px; letter-spacing: .02em; transition: none; }
.site-nav__chevron { display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.site-nav__group { position: relative; }
.site-nav__dropdown { display: none; position: absolute; top: 100%; left: -20px; padding-top: 14px; min-width: 300px; }
.site-nav__group.is-open .site-nav__dropdown { display: block; }
.site-nav__dropdown-box { background: var(--cream-light); border: 1px solid rgba(31, 58, 42, .08); box-shadow: 0 24px 60px -20px rgba(31, 58, 42, .28); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; border-radius: 4px; }
.site-nav__dropdown-heading { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); padding: 16px 14px 6px; }
.site-nav__dropdown-heading:first-child { padding-top: 8px; }
.site-nav__dropdown-link { padding: 9px 14px; border-radius: 3px; color: var(--ink); font-size: 15px; }
.site-nav__dropdown-link:hover { background: var(--sand); color: var(--green); }

.nav-toggle { background: none; border: 0; cursor: pointer; width: 48px; height: 48px; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: inherit; }
.nav-toggle span { display: block; width: 26px; height: 1.5px; background: currentColor; }
.nav-toggle span:last-child { width: 16px; align-self: flex-end; margin-right: 11px; }

@media (min-width: 1100px) {
	.site-nav { display: flex; }
	.nav-toggle { display: none; }
}

/* Admin-Leiste (nur eingeloggt) */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ---------- Mobiles Vollbild-Menü ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--cream); display: flex; flex-direction: column; overflow: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter); }
.mobile-menu__bar img { height: 44px; width: auto; display: block; }
.mobile-menu__close { background: none; border: 0; cursor: pointer; width: 48px; height: 48px; padding: 0; font-size: 34px; line-height: 1; color: var(--green); font-weight: 300; }
.mobile-menu__nav { display: flex; flex-direction: column; padding: 24px clamp(24px, 6vw, 48px) 40px; gap: 4px; font-family: var(--serif); font-size: clamp(30px, 8vw, 40px); font-weight: 500; line-height: 1.25; color: var(--green); }
.mobile-menu__link { color: inherit; padding: 10px 0; border-bottom: 1px solid rgba(31, 58, 42, .1); }
.mobile-menu__contact { margin-top: 36px; font-family: var(--sans); font-size: 15px; font-weight: 400; color: var(--ink-soft); line-height: 1.8; }
.mobile-menu__contact a { display: block; color: inherit; }
.admin-bar .mobile-menu { top: 32px; }
@media (max-width: 782px) { .admin-bar .mobile-menu { top: 46px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: rgba(245, 240, 230, .75); padding: clamp(56px, 7vw, 88px) 0 32px; font-family: var(--sans); }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px clamp(32px, 4vw, 64px); }
.site-footer__logo { height: 56px; width: auto; display: block; filter: invert(1) brightness(1.4) sepia(.3); }
.site-footer__claim { margin: 22px 0 0; font-size: 15px; line-height: 1.7; max-width: 320px; text-wrap: pretty; }
.site-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.social-link { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(245, 240, 230, .25); display: inline-flex; align-items: center; justify-content: center; color: var(--cream); transition: background .3s; }
.social-link:hover { background: rgba(245, 240, 230, .12); color: var(--gold-light); }
.social-link--facebook { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.social-link__instagram { width: 16px; height: 16px; border: 1.6px solid currentColor; border-radius: 5px; position: relative; display: inline-block; }
.social-link__instagram span { position: absolute; left: 3.5px; top: 3.5px; width: 5px; height: 5px; border: 1.6px solid currentColor; border-radius: 50%; }
.social-link__youtube { display: block; width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.site-footer__heading { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.site-footer__contact { font-size: 15px; line-height: 1.9; }
.site-footer__contact a { display: block; color: inherit; }
.site-footer__name { color: var(--cream); font-weight: 500; }
.site-footer__links { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.7; }
.site-footer__links a, .site-footer__legal a { color: inherit; }
.site-footer__contact a:hover, .site-footer__links a:hover, .site-footer__legal a:hover { color: var(--gold-light); }
.site-footer__bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid rgba(245, 240, 230, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; letter-spacing: .02em; color: rgba(245, 240, 230, .55); }
.site-footer__legal { display: flex; gap: 20px; }

/* Smartphone: Seiten- und Beitragslisten ausblenden (die Navigation steckt im Menü) – der Footer bleibt kurz.
   Der „Termin buchen“-Button aus der letzten Spalte bleibt sichtbar. */
@media (max-width: 699px) {
	.site-footer__col--pages,
	.site-footer__col--posts .site-footer__heading,
	.site-footer__col--posts .site-footer__links { display: none; }
	.site-footer__col--posts .btn-book--footer { margin-top: 0; }
}

/* ---------- Fliesstext (Beiträge, Impressum, Datenschutz) – aus den Textstilen des Entwurfs abgeleitet ---------- */
.prose-wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.prose { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.75; color: #3d4640; text-wrap: pretty; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(28px, 2.2vw, 34px); line-height: 1.12; color: var(--green); margin-top: 44px; }
.prose h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--green); margin-top: 32px; }
.prose h4 { font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--green); margin-top: 28px; }
.prose > :first-child { margin-top: 0; }
.prose a { border-bottom: 1px solid var(--gold); }
.prose strong { font-weight: 500; color: var(--green); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 32px 0; padding-left: 24px; border-left: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; color: var(--green); }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.subhero__title--page { font-size: clamp(38px, 5vw, 68px); }
.post-foot { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid rgba(31, 58, 42, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.blog-pagination { margin-top: 12px; }
.blog-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.blog-pagination .page-numbers { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(31, 58, 42, .25); display: inline-flex; align-items: center; justify-content: center; color: var(--green); }
.blog-pagination .page-numbers.current, .blog-pagination .page-numbers:hover { background: var(--green); color: var(--gold-light); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Formular-Hülle (Contact Form 7 bzw. Reveal-Wrapper) darf das Raster nicht verändern */
.form-reveal, .wpcf7 { display: grid; min-width: 0; }

/* ---------- Contact Form 7: Zustände (eigenes CF7-Stylesheet ist deaktiviert) ---------- */
.wpcf7 .screen-reader-response, .wpcf7 .hidden-fields-container { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; padding: 0; margin: 0; }
.wpcf7-form-control-wrap { display: block; position: relative; }
.wpcf7-spinner { display: none; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; color: var(--terracotta); }
.wpcf7-response-output { font-size: 14px; line-height: 1.6; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output { display: none; }
.wpcf7 form.submitting [type="submit"] { opacity: .7; pointer-events: none; }
.wpcf7-list-item { margin: 0; }

/* Kontaktformular: CF7 erzeugt für die Einwilligung eine eigene Struktur – Optik wie .kontakt-kontakt__label1/__input1 im Entwurf */
.wpcf7-acceptance .wpcf7-list-item label { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.6; color: #5a625c; cursor: pointer; }
.wpcf7-acceptance input[type="checkbox"] { margin: 4px 0 0; accent-color: #1f3a2a; flex: none; }
.wpcf7-acceptance .wpcf7-list-item-label a { border-bottom: 1px solid var(--gold); }
.kontakt-kontakt__form1 .wpcf7-response-output { color: #3d4640; }
.kontakt-kontakt__form1 [type="submit"] { align-self: flex-start; }
.wpcf7-form-control-wrap textarea, .wpcf7-form-control-wrap input, .wpcf7-form-control-wrap select { display: block; }
