/* ---------- Schriften: lokal gehostet (keine Verbindung zu Google) ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("cormorant-garamond-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("cormorant-garamond-500italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("cormorant-garamond-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("nunito-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("nunito-sans-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("nunito-sans-700.woff2") format("woff2"); }

/* =========================================================
   Derya Kılıç · Hipnoz & Deep EFT
   Gemeinsames Stylesheet für alle Seiten
   ========================================================= */

/* Schriften: Cormorant Garamond + Nunito Sans (per Google Fonts im <head> geladen) */

/* ---------- Farbpalette & Grundwerte ---------- */
:root {
    --cream: #faf6f0;
    --sand: #f3ebdf;
    --linen: #e9dccb;
    --taupe: #bfa182;
    --brown: #8c6a56;
    --brown-dark: #6e5242;
    --espresso: #2c2520;
    --ink: #3a2f28;
    --muted: #76665b;
    --line: #e6d9c8;
    --white: #ffffff;
    --success: #4f8a5b;
    --danger: #b5483b;
    --whatsapp: #25d366;
    --whatsapp-dark: #1da851;

    --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(58, 47, 40, 0.06);
    --shadow: 0 10px 30px rgba(58, 47, 40, 0.08);
    --shadow-lg: 0 20px 50px rgba(58, 47, 40, 0.14);
    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--ink);
    line-height: 1.65;
    font-size: 1rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Google Translate schiebt sonst die Seite nach unten */
body { top: 0 !important; }
.skiptranslate iframe, #goog-gt-tt { display: none !important; }

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid rgba(140, 106, 86, 0.45); outline-offset: 3px; border-radius: 6px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 2000;
    background: var(--espresso); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- Typografie ---------- */
h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--espresso);
    line-height: 1.15;
    letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--espresso); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--brown);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { margin: 10px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Layout ---------- */
.container { width: min(1140px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.section { padding: 96px 0; position: relative; }
.section--tint { background: var(--sand); }
.section--tight { padding: 64px 0; }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--brown); --fg: #fff; --bd: var(--brown);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 999px;
    background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
    font-weight: 700; font-size: 0.98rem; line-height: 1.2; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(58, 47, 40, 0.16); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --bg: var(--brown-dark); --bd: var(--brown-dark); }
.btn--soft { --bg: var(--taupe); --bd: var(--taupe); }
.btn--soft:hover { --bg: #a88865; --bd: #a88865; }
.btn--ghost { --bg: transparent; --fg: var(--brown-dark); --bd: rgba(140, 106, 86, .45); }
.btn--ghost:hover { --bg: var(--white); --bd: var(--brown); }
.btn--light { --bg: var(--white); --fg: var(--espresso); --bd: var(--white); }
.btn--whatsapp { --bg: var(--whatsapp); --bd: var(--whatsapp); }
.btn--whatsapp:hover { --bg: var(--whatsapp-dark); --bd: var(--whatsapp-dark); }
.btn--instagram { --bd: transparent; background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.btn--paypal { --bg: #0070ba; --bd: #0070ba; }
.btn--paypal:hover { --bg: #005ea6; --bd: #005ea6; }
.btn--danger { --bg: var(--danger); --bd: var(--danger); }
.btn--success { --bg: var(--success); --bd: var(--success); }
.btn--sm { padding: 9px 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brown); }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header & Navigation (überall gleich, scrollt immer mit) ---------- */
.i18n-wait body { opacity: 0; }
body { transition: opacity .2s; }

.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(58, 47, 40, 0.07); }
.header-inner {
    min-height: 74px; width: min(1360px, 100% - 32px); margin-inline: auto; padding: 10px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; border-radius: 12px; }
.brand img { height: 46px; width: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.42rem; letter-spacing: .08em; color: var(--espresso); transition: color .25s; white-space: nowrap; }
.brand:hover .brand-name { color: var(--brown); }
.brand-sub { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown); font-weight: 700; margin-top: 3px; white-space: nowrap; }

/* Alle Menüpunkte identisch gestaltet */
.main-nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; }
.main-nav > a {
    position: relative; padding: 8px 13px; border-radius: 999px;
    font-weight: 600; font-size: .9rem; color: var(--ink); white-space: nowrap;
    border: 1px solid transparent;
    transition: color .2s, background-color .25s, border-color .25s, transform .25s var(--ease);
}
.main-nav > a::before {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px;
    background: var(--brown); border-radius: 2px;
    transform: scaleX(0); transition: transform .3s var(--ease);
}
.main-nav > a:hover { color: var(--brown); background: var(--white); border-color: var(--line); transform: translateY(-1px); }
.main-nav > a:hover::before, .main-nav > a.active::before { transform: scaleX(1); }
.main-nav > a.active { color: var(--brown); }

/* Sprachumschalter */
.lang-switch {
    display: inline-flex; padding: 3px; gap: 2px; flex-shrink: 0;
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
}
.lang-switch :is(button, a) {
    display: inline-flex; align-items: center; justify-content: center; line-height: 1; text-decoration: none;
    text-indent: .06em; /* gleicht den Buchstabenabstand aus -> Text genau mittig */
    border: 0; background: transparent; color: var(--muted);
    min-width: 38px; height: 32px; padding: 0 8px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; letter-spacing: .06em;
    transition: background-color .2s, color .2s, transform .2s;
}
.lang-switch :is(button, a):hover { color: var(--brown); background: var(--sand); }
.lang-switch :is(button, a)[aria-pressed="true"] { background: var(--brown); color: #fff; }

/* Portal: schlanker eigener Header */
.portal-header-actions { display: flex; align-items: center; gap: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--brown-dark); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); transition: background-color .2s, color .2s, transform .25s var(--ease); }
.back-link:hover { background: var(--brown); color: #fff; transform: translateX(-2px); }

/* Breite unter 1340px: Menü als zweite Zeile */
@media (max-width: 1340px) {
    .main-nav { order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: 8px; }
}
/* Handy */
@media (max-width: 640px) {
    .header-inner { padding: 8px 0 10px; gap: 8px; min-height: 0; }
    .brand { gap: 8px; }
    .brand img { height: 34px; }
    .brand-name { font-size: 1.1rem; letter-spacing: .06em; }
    .brand-sub { font-size: .56rem; letter-spacing: .14em; }
    .lang-switch :is(button, a) { min-width: 32px; height: 28px; font-size: .72rem; padding: 0 6px; }
    .main-nav { gap: 4px; padding-top: 6px; }
    .main-nav > a { font-size: .74rem; padding: 4px 9px; background: var(--white); border-color: var(--line); }
    .main-nav > a::before { display: none; }
    .main-nav > a.active { color: var(--brown); border-color: var(--brown); }
    .back-link span { display: none; }
    .back-link { padding: 8px 12px; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    min-height: calc(100svh - var(--header-h, 76px));
    display: grid; place-items: center; text-align: center;
    padding: 80px 0 110px;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, .9), transparent 55%),
        linear-gradient(160deg, #f8f3eb 0%, #efe4d4 60%, #e8dac6 100%);
}
.hero::before {
    content: ""; position: absolute; inset: -4%; z-index: -1;
    background: url("lilien.webp") center / min(1100px, 130%) repeat;
    opacity: .16;
    transform: translate3d(0, calc(var(--parallax, 0) * 1px), 0);
}
.orb {
    position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
    filter: blur(6px); opacity: .85;
    animation: floatOrb 12s ease-in-out infinite alternate;
}
.orb-1 { width: 260px; height: 260px; top: -40px; left: -50px; background: radial-gradient(circle at 35% 35%, #dccab0, #a88b68 70%, #826645); animation-duration: 10s; }
.orb-2 { width: 300px; height: 300px; top: 14%; right: -70px; background: radial-gradient(circle at 35% 35%, #f7eedf, #dec8a7 70%, #bf9f75); animation-duration: 13s; animation-delay: -4s; }
.orb-3 { width: 320px; height: 320px; bottom: -110px; left: 16%; background: radial-gradient(circle at 35% 35%, #e6d7c2, #b89d7d 70%, #8c7153); animation-duration: 15s; animation-delay: -7s; opacity: .55; }
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, -26px) scale(1.04); }
    100% { transform: translate(-12px, 18px) scale(.97); }
}

.hero-content { max-width: 820px; padding: 0 20px; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 14px; border-radius: 999px;
    background: rgba(255, 255, 255, .7); border: 1px solid rgba(191, 161, 130, .35);
    font-size: .82rem; font-weight: 600; color: var(--brown-dark);
}
.hero h1 { margin-bottom: 8px; }
.hero .hero-sub {
    font-family: var(--font-display); font-style: italic; font-weight: 500;
    font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--brown);
    margin-bottom: 30px;
}
.hero-quote {
    position: relative; max-width: 620px; margin: 0 auto 38px;
    font-size: 1.12rem; color: var(--ink);
}
.hero-quote::before {
    content: "“"; display: block; font-family: var(--font-display);
    font-size: 4rem; line-height: .6; color: var(--taupe); margin-bottom: 6px;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.scroll-cue {
    position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
    width: 28px; height: 44px; border-radius: 16px; border: 2px solid rgba(140, 106, 86, .45);
}
.scroll-cue::after {
    content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px;
    background: var(--brown); transform: translateX(-50%); animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* ---------- Vertrauensleiste ---------- */
.trust-strip { background: var(--espresso); color: #e9dfd4; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 24px 18px; }
.trust-item + .trust-item { border-left: 1px solid rgba(255, 255, 255, .08); }
.trust-item i { font-size: 1.3rem; color: var(--taupe); width: 26px; text-align: center; }
.trust-item strong { display: block; color: #fff; font-size: .98rem; }
.trust-item span { font-size: .84rem; opacity: .75; }
@media (max-width: 860px) {
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-item:nth-child(3) { border-left: 0; }
    .trust-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 480px) { .trust-item { padding: 18px 10px; gap: 10px; } .trust-item span { font-size: .78rem; } }

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.about-text h2 { margin: 10px 0 22px; }
.about-quote {
    font-family: var(--font-display); font-style: italic; font-weight: 500;
    font-size: 1.42rem; line-height: 1.55; color: var(--ink);
}
.signature { margin-top: 22px; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--brown); }
.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.about-tags .badge { background: var(--white); }

.portrait { position: relative; justify-self: center; width: min(380px, 100%); }
.portrait::before {
    content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: var(--radius-lg);
    border: 1.5px solid var(--taupe);
}
.portrait img {
    position: relative; width: 100%; aspect-ratio: 4 / 5.2; object-fit: cover; object-position: center 18%;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.portrait-chip {
    position: absolute; left: -26px; bottom: 34px;
    background: var(--white); border-radius: 16px; padding: 12px 16px;
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
    font-size: .88rem; font-weight: 600;
}
.portrait-chip i { color: var(--brown); font-size: 1.1rem; }
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 56px; }
    .portrait { order: -1; width: min(320px, 82%); }
    .portrait-chip { left: -10px; }
}

/* ---------- Hinweisbox ---------- */
.notice {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--taupe);
    border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.notice > i { color: var(--brown); font-size: 1.25rem; margin-top: 2px; }
.notice p { font-size: .95rem; }
.notice em { color: var(--muted); }
.notice--warm { background: #fbf4ea; border-color: #ecd9bf; border-left-color: #c9954f; }
.notice--warm > i { color: #b07a35; }

/* ---------- Leistungen ---------- */
.services-notice { max-width: 760px; margin: 0 auto 40px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 10px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    overflow: hidden;
}
.service-card::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, var(--taupe), var(--brown));
    transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
    background: var(--sand); color: var(--brown); font-size: 1.25rem; margin-bottom: 6px;
    transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.service-card:hover .service-icon { background: var(--brown); color: #fff; transform: rotate(-6deg); }
.service-card h3 { font-size: 1.5rem; }
.service-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.service-card .link-arrow { font-size: .9rem; margin-top: 8px; opacity: .85; }
.service-card--feature { background: linear-gradient(150deg, var(--brown) 0%, var(--brown-dark) 100%); border-color: transparent; color: #f3e9de; }
.service-card--feature h3 { color: #fff; }
.service-card--feature p { color: #eadccd; }
.service-card--feature .service-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.service-card--feature .link-arrow { color: #fff; }
.service-card--feature:hover .service-icon { background: #fff; color: var(--brown); }
@media (min-width: 961px) {
    .service-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 26px; padding: 26px 32px; }
    .service-card--feature .service-icon { grid-row: span 2; margin: 0; width: 64px; height: 64px; font-size: 1.5rem; }
    .service-card--feature h3 { grid-column: 2; }
    .service-card--feature p { grid-column: 2; }
    .service-card--feature .link-arrow { grid-column: 3; grid-row: 1 / span 2; margin: 0; background: rgba(255,255,255,.14); padding: 12px 20px; border-radius: 999px; }
}

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; position: relative; }
.steps::before {
    content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 1px;
    background: repeating-linear-gradient(90deg, var(--taupe) 0 6px, transparent 6px 12px);
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step-num {
    width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%;
    display: grid; place-items: center; position: relative;
    background: var(--white); border: 1.5px solid var(--taupe); color: var(--brown); font-size: 1.4rem;
    box-shadow: 0 0 0 8px var(--sand);
}
.step-num::after {
    counter-increment: step; content: counter(step);
    position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--brown); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) {
    .steps { grid-template-columns: 1fr; gap: 34px; }
    .steps::before { top: 34px; bottom: 34px; left: 50%; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--taupe) 0 6px, transparent 6px 12px); opacity: .5; }
    .steps::before { display: none; }
}

/* ---------- Preise ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 24px; }
.price-card {
    position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 38px 32px; text-align: center; transition: transform .35s var(--ease), box-shadow .35s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.is-featured { border: 1.5px solid var(--brown); box-shadow: var(--shadow); }
.price-flag {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--brown); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.6rem; }
.price-card .price { font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; color: var(--brown); line-height: 1; margin: 18px 0 6px; }
.price-card .price small { font-family: var(--font-body); font-size: 1rem; color: var(--muted); font-weight: 600; }
.price-card p { color: var(--muted); font-size: .95rem; }
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* Preisrechner */
.calc {
    margin: 36px auto 0; max-width: 704px;
    background: var(--white); border: 1px dashed var(--taupe); border-radius: var(--radius);
    padding: 24px 26px; display: grid; grid-template-columns: 1fr auto auto; gap: 20px; align-items: center;
}
.calc h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.calc h4 i { color: var(--brown); }
.calc p { font-size: .88rem; color: var(--muted); }
.segmented { display: inline-flex; background: var(--sand); padding: 4px; border-radius: 999px; }
.segmented button {
    border: 0; background: transparent; padding: 8px 14px; border-radius: 999px;
    font-size: .86rem; font-weight: 700; color: var(--muted); transition: background-color .2s, color .2s;
}
.segmented button[aria-pressed="true"] { background: var(--white); color: var(--brown-dark); box-shadow: var(--shadow-sm); }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--sand); padding: 4px; border-radius: 999px; }
.stepper button {
    width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--white); color: var(--brown);
    font-weight: 700; transition: transform .15s;
}
.stepper button:active { transform: scale(.9); }
.stepper output { min-width: 66px; text-align: center; font-weight: 700; font-size: .9rem; }
.calc-total { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; }
.calc-total strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--brown); line-height: 1; }
.calc-total strong.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.08); } }
.stepper.is-disabled { opacity: .45; pointer-events: none; }
@media (max-width: 640px) {
    .calc { grid-template-columns: 1fr; text-align: center; }
    .calc .segmented, .calc .stepper { justify-self: center; }
    .calc-total { flex-direction: column; gap: 6px; }
}

.policy { max-width: 760px; margin: 30px auto 0; }
.policy ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.policy li { font-size: .92rem; font-weight: 700; }
.policy li span { color: var(--muted); font-weight: 600; }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--taupe); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 24px; font-weight: 700; font-size: 1.02rem; color: var(--espresso);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-icon {
    flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); color: var(--brown);
    display: grid; place-items: center; font-size: .8rem; transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--brown); color: #fff; }
.faq-body { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA-Banner ---------- */
.cta-banner {
    position: relative; overflow: hidden; isolation: isolate;
    border-radius: var(--radius-lg); padding: 70px 30px; text-align: center;
    background: linear-gradient(140deg, #f5ece0, #e9dac5);
}
.cta-banner::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: url("lilien.webp") center / 560px repeat; opacity: .22;
}
.cta-banner h2 { margin: 10px 0 14px; }
.cta-banner p { max-width: 560px; margin: 0 auto 28px; color: var(--ink); font-size: 1.08rem; }

/* ---------- Bewertungen ---------- */
.reviews-summary {
    display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
    margin: -18px auto 40px;
}
.rating-big { font-family: var(--font-display); font-size: 3.4rem; color: var(--espresso); line-height: 1; }
.rating-meta { text-align: left; }
.stars { color: #d9a441; letter-spacing: 2px; }
.rating-meta small { display: block; color: var(--muted); font-size: .86rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; align-items: start; margin-bottom: 20px; }
.review-card {
        background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    transition: transform .3s var(--ease), box-shadow .3s;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--taupe);
}
.review-head strong { display: block; line-height: 1.2; }
.review-head .stars { font-size: .9rem; }
.review-card p { color: var(--ink); font-size: .96rem; overflow-wrap: anywhere; }
.review-card.is-clamped p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review-more { margin-top: 8px; background: none; border: 0; color: var(--brown); font-weight: 700; font-size: .86rem; padding: 0; }
.reviews-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 20px; }
.reviews-actions { text-align: center; margin-top: 4px; }

.review-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 40px; align-items: stretch; }
@media (max-width: 860px) { .review-split { grid-template-columns: 1fr; } }

.google-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px;
}
.google-card .g-logo { font-size: 2rem; background: conic-gradient(from -45deg, #ea4335 0 25%, #4285f4 0 50%, #34a853 0 75%, #fbbc05 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.google-card p { color: var(--muted); font-size: .94rem; max-width: 320px; }

/* ---------- Formulare ---------- */
.card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
    box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.card h3 i { color: var(--brown); font-size: 1.1rem; }
.card-sub { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-grid .field { margin-bottom: 0; }
.field label, .field-label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field .hint { font-size: .8rem; color: var(--muted); }
.input, .field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border-radius: 12px;
    border: 1.5px solid var(--line); background: var(--cream);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
    font-size: .98rem;
}
.field textarea { resize: vertical; min-height: 96px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--taupe); background: var(--white); box-shadow: 0 0 0 4px rgba(191, 161, 130, .18);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #d8a39b; }
.field.has-error input { border-color: var(--danger); }
.field-status { font-size: .84rem; font-weight: 600; min-height: 1.2em; display: flex; align-items: center; gap: 6px; }
.field-status.ok { color: var(--success); }
.field-status.warn { color: var(--danger); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 6px 0 16px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brown); flex-shrink: 0; }
.check a { color: var(--brown); text-decoration: underline; }

/* Sterne-Auswahl */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 1.8rem; color: #e2d6c6; cursor: pointer; transition: color .15s, transform .15s; line-height: 1; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #d9a441; }
.star-input label:hover { transform: scale(1.15); }
.star-input input:focus-visible + label { outline: 2px solid var(--taupe); border-radius: 4px; }
.star-caption { font-size: .85rem; color: var(--muted); margin-left: 10px; }

.char-count { font-size: .78rem; color: var(--muted); text-align: right; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: #cfc3b7; padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 44px; filter: brightness(0) invert(86%) sepia(18%); }
.footer-brand span { font-family: var(--font-display); font-size: 1.5rem; color: #fff; letter-spacing: .06em; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer p { font-size: .93rem; margin-bottom: 8px; }
.footer-links { list-style: none; display: grid; gap: 9px; }
.footer-links a, .site-footer .flink { display: inline-flex; align-items: center; gap: 9px; font-size: .93rem; transition: color .2s; }
.footer-links a:hover, .site-footer .flink:hover { color: var(--taupe); }
.footer-links i, .site-footer .flink i { width: 16px; text-align: center; color: var(--taupe); }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255, 255, 255, .07); color: #fff; transition: background-color .2s, transform .2s;
}
.footer-social a:hover { background: var(--brown); transform: translateY(-2px); }
.footer-disclaimer {
    margin-top: 48px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: .8rem; color: #a99a8c; line-height: 1.55;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0 26px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: #a99a8c;
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate; text-align: center;
    padding: 70px 0 60px;
    background: linear-gradient(160deg, #f8f3eb, #efe4d4);
}
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: url("lilien.webp") center / 640px repeat; opacity: .12;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 10px 0 12px; }
.page-hero p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 1.05rem; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 6px; }
.breadcrumb a { color: var(--brown); font-weight: 700; }

/* ---------- Erfolgsgeschichten ---------- */
.stories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.story-card {
    position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px 24px 24px;
    background: var(--white); border: 1px solid var(--line); min-height: 210px;
    display: flex; flex-direction: column; gap: 8px;
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.story-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(150deg, var(--brown), var(--brown-dark));
    opacity: 0; transition: opacity .4s var(--ease);
}
.story-card > * { position: relative; z-index: 1; transition: color .35s; }
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.story-card:hover::before { opacity: 1; }
.story-card:hover h3, .story-card:hover p, .story-card:hover .link-arrow { color: #fff; }
.story-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.story-ring {
    width: 56px; height: 56px; border-radius: 50%; padding: 3px;
    background: conic-gradient(#f09433, #dc2743, #bc1888, #f09433);
}
.story-ring span { width: 100%; height: 100%; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--brown); font-size: 1.2rem; }
.story-card .fa-arrow-up-right-from-square { color: var(--muted); font-size: .9rem; }
.story-card:hover .fa-arrow-up-right-from-square { color: #fff; }
.story-card h3 { font-size: 1.5rem; }
.story-card p { color: var(--muted); font-size: .94rem; flex: 1; }

/* ---------- Kalender & Buchung ---------- */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .booking-layout { grid-template-columns: 1fr; } }
.calendar-card { padding: 22px; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: .84rem; color: var(--muted); }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.calendar-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.booking-card { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 1000px) { .booking-card { position: static; } }

.form-steps { display: flex; gap: 6px; margin-bottom: 22px; }
.form-steps span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .4s; }
.form-steps span.done { background: var(--brown); }
.form-section-title { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); margin: 6px 0 14px; }
.form-section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.time-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.time-chips button {
    border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 12px;
    font-size: .84rem; font-weight: 700; color: var(--ink); transition: all .2s;
}
.time-chips button:hover { border-color: var(--taupe); }
.time-chips button[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: #fff; }
.time-chips button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

.success-panel { text-align: center; padding: 10px 0; animation: popIn .4s var(--ease); }
.success-icon {
    width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
    background: #e7f2e8; color: var(--success); font-size: 2rem;
}
.success-panel h3 { justify-content: center; }
.success-panel p { color: var(--muted); margin: 8px 0 20px; }
.success-panel .btn { margin-bottom: 10px; }
.summary-list { text-align: left; background: var(--cream); border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; list-style: none; font-size: .92rem; }
.summary-list li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.summary-list li span { color: var(--muted); }

/* FullCalendar an die Palette anpassen */
.fc { --fc-border-color: var(--line); --fc-today-bg-color: #fbf3e4; --fc-page-bg-color: #fff; --fc-neutral-bg-color: var(--cream); font-size: .92rem; }
.fc .fc-toolbar-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--espresso); text-transform: capitalize; }
.fc .fc-button-primary { background: var(--white); border: 1.5px solid var(--line); color: var(--brown-dark); border-radius: 10px; font-weight: 700; text-transform: capitalize; box-shadow: none !important; }
.fc .fc-button-primary:hover { background: var(--sand); border-color: var(--taupe); color: var(--brown-dark); }
.fc .fc-button-primary:not(:disabled).fc-button-active, .fc .fc-button-primary:not(:disabled):active { background: var(--brown); border-color: var(--brown); color: #fff; }
.fc .fc-button-primary:disabled { background: var(--cream); border-color: var(--line); color: var(--muted); }
.fc .fc-col-header-cell-cushion { color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; padding: 8px 2px; }
.fc .fc-daygrid-day-number { color: var(--ink); font-weight: 600; }
.fc .fc-daygrid-day { cursor: pointer; transition: background-color .2s; }
.fc .fc-daygrid-day:hover { background: rgba(191, 161, 130, .08); }
.fc .fc-day-past { background: #fcfaf7; }
.fc .fc-day-past .fc-daygrid-day-number { color: #c2b5a8; }
.fc .fc-daygrid-day.is-closed { background: repeating-linear-gradient(45deg, #f1eadf 0 6px, #f8f4ee 6px 12px); cursor: not-allowed; }
.fc .fc-daygrid-day.is-closed .fc-daygrid-day-number { opacity: .5; }
.fc .fc-daygrid-day.is-selected { background: rgba(140, 106, 86, .12); box-shadow: inset 0 0 0 2px var(--brown); }
.fc .fc-event { border-radius: 6px; padding: 1px 4px; font-size: .74rem; font-weight: 700; cursor: pointer; border: 0; }
.fc .fc-daygrid-event { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc .fc-list-event:hover td { background: var(--cream); }
#publicCalendar .fc-daygrid-day-frame, #clientCalendar .fc-daygrid-day-frame, #masterCalendar .fc-daygrid-day-frame { min-height: 84px; }
@media (max-width: 640px) {
    .fc .fc-toolbar { flex-direction: column; gap: 10px; }
    .fc .fc-toolbar-title { font-size: 1.3rem; }
    .fc .fc-button { padding: 5px 9px; font-size: .8rem; }
    .fc .fc-col-header-cell-cushion { font-size: .66rem; letter-spacing: 0; }
    .fc .fc-daygrid-day-number { font-size: .8rem; padding: 2px 4px; }
    #publicCalendar .fc-daygrid-day-frame, #clientCalendar .fc-daygrid-day-frame, #masterCalendar .fc-daygrid-day-frame { min-height: 58px; }
    .calendar-card { padding: 12px; }
}
.calendar-fallback { padding: 40px 20px; text-align: center; color: var(--muted); }

/* ---------- Portal ---------- */
.portal-main { padding: 50px 0 90px; min-height: calc(100vh - var(--header-h) - 200px); }
.login-card { max-width: 460px; margin: 20px auto; text-align: center; padding: 44px 36px; }
.login-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: var(--sand); color: var(--brown); display: grid; place-items: center; font-size: 1.8rem; }
.login-card h1 { font-size: 2.3rem; margin-bottom: 8px; }
.login-card .card-sub { margin-bottom: 26px; }
.code-input-wrap { position: relative; }
.code-input-wrap input { text-align: center; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; padding-right: 48px; padding-left: 48px; }
.code-input-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); width: 36px; height: 36px; }
.login-error { color: var(--danger); font-weight: 700; font-size: .9rem; min-height: 1.4em; margin-top: 10px; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.login-help { margin-top: 22px; font-size: .88rem; color: var(--muted); }
.login-help a { color: var(--brown); font-weight: 700; }

.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.dash-head h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.dash-head p { color: var(--muted); }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab {
    border: 0; background: none; padding: 12px 16px; font-weight: 700; color: var(--muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px; display: inline-flex; align-items: center; gap: 8px;
    transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--brown); }
.tab[aria-selected="true"] { color: var(--brown-dark); border-color: var(--brown); }
.tab .count { background: var(--brown); color: #fff; font-size: .72rem; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; }
.tab .count:empty, .tab .count[data-n="0"] { display: none; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fadeUp .35s var(--ease); }

.info-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
@media (max-width: 860px) { .info-tiles { grid-template-columns: 1fr; } }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile h4 { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.tile h4 i { color: var(--brown); }
.tile .big { font-family: var(--font-display); font-size: 2.4rem; color: var(--brown); line-height: 1.1; }
.tile p { white-space: pre-line; }

.list { display: grid; gap: 12px; }
.list-item {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--taupe);
    border-radius: 14px; padding: 16px 18px;
}
.list-item .meta { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.list-item .meta i { color: var(--brown); margin-right: 4px; }
.list-item details { margin-top: 8px; font-size: .9rem; }
.list-item details summary { cursor: pointer; color: var(--brown); font-weight: 700; }
.list-item details p { margin-top: 6px; color: var(--ink); }
.list-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tag-new { background: #e7f2e8; color: var(--success); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 6px; letter-spacing: .04em; }
.empty { text-align: center; color: var(--muted); padding: 30px; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 180px; }

/* ---------- Zahlung ---------- */
.pay-card { max-width: 520px; margin: 0 auto; text-align: center; padding: 44px 34px; }
.pay-icon { font-size: 3.2rem; color: #0070ba; margin-bottom: 14px; }
.copy-box {
    display: flex; align-items: center; gap: 8px; justify-content: space-between;
    background: var(--cream); border: 1.5px dashed var(--taupe); border-radius: 14px; padding: 10px 10px 10px 16px;
    margin: 22px 0; text-align: left;
}
.copy-box div { min-width: 0; }
.copy-box small { display: block; font-size: .75rem; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.copy-box strong { display: block; overflow-wrap: anywhere; font-size: .98rem; }
.copy-btn { flex-shrink: 0; border: 0; background: var(--white); border-radius: 10px; padding: 10px 12px; color: var(--brown); font-weight: 700; font-size: .85rem; box-shadow: var(--shadow-sm); transition: background-color .2s, color .2s; }
.copy-btn:hover { background: var(--brown); color: #fff; }
.copy-btn.copied { background: var(--success); color: #fff; }
.pay-steps { text-align: left; list-style: none; counter-reset: p; margin: 26px 0 6px; display: grid; gap: 10px; }
.pay-steps li { counter-increment: p; display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.pay-steps li::before { content: counter(p); flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--sand); color: var(--brown); font-weight: 700; font-size: .8rem; display: grid; place-items: center; }
.price-mini { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Rechtliches ---------- */
.legal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px clamp(22px, 5vw, 56px); }
.legal h2 { font-size: 1.7rem; margin: 30px 0 10px; text-align: left; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink); margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { color: var(--brown); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal .updated { margin-top: 30px; font-size: .85rem; color: var(--muted); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.legal-toc a { text-decoration: none; font-size: .82rem; font-weight: 700; background: var(--sand); border-radius: 999px; padding: 6px 12px; color: var(--brown-dark); }
.legal-toc a:hover { background: var(--linen); }

/* ---------- Assistent (Widget & Seite) ---------- */
.chat-fab {
    position: fixed; right: 22px; bottom: 22px; z-index: 900;
    width: 58px; height: 58px; padding: 0; border-radius: 50%; border: 0;
    display: grid; place-items: center;
    background: var(--brown); color: #fff; font-size: 1.45rem;
    box-shadow: 0 12px 30px rgba(44, 37, 32, .3), 0 0 0 3px rgba(255, 255, 255, .6);
    transition: transform .25s var(--ease), background-color .25s;
}
.chat-fab:hover { transform: translateY(-3px); background: var(--brown-dark); }
/* Nur Sprechblase: Text bleibt für Screenreader, ist aber unsichtbar */
.chat-fab .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat-fab .pulse { position: absolute; top: 3px; right: 3px; border: 2px solid #fff; width: 13px; height: 13px; border-radius: 50%; background: #7bd88f; box-shadow: 0 0 0 0 rgba(123, 216, 143, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(123, 216, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 216, 143, 0); } }
.chat-open .chat-fab { opacity: 0; pointer-events: none; transform: scale(.8); }

.chat-panel {
    position: fixed; right: 22px; bottom: 22px; z-index: 1100;
    width: min(380px, calc(100vw - 24px));
    /* nie höher als der Platz unter dem Header -> Kopfzeile des Chats bleibt sichtbar */
    height: min(560px, calc(100vh - var(--header-h, 80px) - 40px));
    height: min(560px, calc(100dvh - var(--header-h, 80px) - 40px));
    background: var(--white); border-radius: 22px; overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    display: flex; flex-direction: column;
    transform-origin: bottom right; transform: scale(.9) translateY(10px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .25s, visibility .25s;
}
.chat-open .chat-panel { transform: none; opacity: 1; visibility: visible; }
.chat-page .chat-panel { position: static; width: 100%; height: 620px; transform: none; opacity: 1; visibility: visible; margin: 0 auto; max-width: 720px; }

.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--espresso); color: #fff; }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.chat-avatar img { width: 28px; }
.chat-head strong { display: block; font-size: .98rem; }
.chat-head small { font-size: .78rem; opacity: .75; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #7bd88f; }
.chat-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.1rem; }
.chat-close:hover { background: rgba(255, 255, 255, .2); }

.chat-body { flex: 1; overflow-y: auto; padding: 18px 16px; background: var(--cream); display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 10px 14px; font-size: .93rem; line-height: 1.5; animation: msgIn .3s var(--ease); white-space: pre-line; }
.msg-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; }
.msg-user { align-self: flex-end; background: var(--brown); color: #fff; border-radius: 16px 16px 4px 16px; }
.msg a { color: var(--brown); font-weight: 700; text-decoration: underline; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--taupe); animation: typing 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.chat-chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px 4px; background: var(--white); scrollbar-width: none; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button { flex-shrink: 0; border: 1.5px solid var(--line); background: var(--white); border-radius: 999px; padding: 6px 12px; font-size: .8rem; font-weight: 700; color: var(--brown-dark); transition: all .2s; }
.chat-chips button:hover { background: var(--sand); border-color: var(--taupe); }

.chat-form { display: flex; gap: 8px; padding: 10px 14px 14px; background: var(--white); }
.chat-form input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--cream); }
.chat-form input:focus { outline: none; border-color: var(--taupe); background: #fff; }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brown); color: #fff; flex-shrink: 0; transition: background-color .2s, transform .2s; }
.chat-form button:hover { background: var(--brown-dark); transform: rotate(-12deg); }
.chat-note { font-size: .7rem; color: var(--muted); text-align: center; padding: 0 14px 10px; background: var(--white); }

@media (max-width: 520px) {
    .chat-fab { right: 14px; bottom: 14px; width: 52px; height: 52px; font-size: 1.3rem; }
    .chat-panel { right: 12px; bottom: 12px; height: min(560px, calc(100vh - var(--header-h, 80px) - 24px)); height: min(560px, calc(100dvh - var(--header-h, 80px) - 24px)); }
}

/* ---------- Nach-oben-Button ---------- */
.to-top {
    position: fixed; right: 26px; bottom: 90px; z-index: 890;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--white); color: var(--brown); box-shadow: var(--shadow-sm);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brown); color: #fff; }
@media (max-width: 520px) { .to-top { right: 18px; bottom: 80px; } }

/* ---------- Cookie-Hinweis ---------- */
.cookie-card {
    position: fixed; left: 20px; bottom: 20px; z-index: 1500;
    width: min(400px, calc(100vw - 40px));
    background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
    box-shadow: var(--shadow-lg); animation: slideUp .45s var(--ease);
}
.cookie-card[hidden] { display: none; }
.cookie-card h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cookie-card p { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.cookie-card p a { color: var(--brown); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-actions .btn { flex: 1 1 140px; padding: 11px 16px; font-size: .88rem; }
@media (max-width: 520px) { .cookie-card { left: 12px; bottom: 12px; width: calc(100vw - 24px); } }

/* ---------- Toasts & Dialog ---------- */
.toast-stack { position: fixed; top: calc(var(--header-h) + 14px); left: 50%; transform: translateX(-50%); z-index: 3000; display: grid; gap: 8px; width: min(440px, calc(100vw - 24px)); pointer-events: none; }
.toast {
    pointer-events: auto; display: flex; gap: 12px; align-items: flex-start;
    background: var(--espresso); color: #fff; padding: 14px 16px; border-radius: 14px;
    box-shadow: var(--shadow-lg); font-size: .92rem; animation: toastIn .35s var(--ease);
    white-space: pre-line;
}
.toast i { margin-top: 3px; }
.toast.success i { color: #7bd88f; }
.toast.error i { color: #ff9a8b; }
.toast.warn i { color: #f1c36d; }
.toast.out { animation: toastOut .3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px) scale(.97); } }

.dialog-backdrop {
    position: fixed; inset: 0; z-index: 2500; background: rgba(44, 37, 32, .45);
    backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px;
    animation: fadeIn .2s;
}
.dialog {
    background: var(--white); border-radius: 22px; padding: 30px; max-width: 440px; width: 100%;
    box-shadow: var(--shadow-lg); animation: popIn .3s var(--ease);
    /* Langer Text (z. B. Anamnese): Fenster passt immer auf den Bildschirm, nur der Text scrollt */
    display: flex; flex-direction: column;
    max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
}
.dialog h3 { margin-bottom: 10px; flex-shrink: 0; }
.dialog p { color: var(--muted); white-space: pre-line; font-size: .95rem; overflow-y: auto; min-height: 0; flex: 1 1 auto; overscroll-behavior: contain; padding-right: 4px; overflow-wrap: anywhere; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 480px) { .dialog { padding: 22px 20px; } }

@keyframes popIn { from { opacity: 0; transform: scale(.95) translateY(6px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } }

/* ---------- Scroll-Animationen ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Hover-Effekte (überall, wo man klicken kann) ---------- */
@media (hover: hover) {
    .badge { transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
    .badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--taupe); }
    .trust-item i { transition: transform .35s var(--ease), color .25s; }
    .trust-item:hover i { transform: scale(1.2) rotate(-6deg); color: #e2c9a8; }
    .trust-item { transition: background-color .3s; }
    .trust-item:hover { background: rgba(255, 255, 255, .04); }
    .portrait img { transition: transform .6s var(--ease), box-shadow .6s; }
    .portrait:hover img { transform: translate(-4px, -4px); box-shadow: 0 28px 60px rgba(58, 47, 40, .2); }
    .portrait::before { transition: transform .6s var(--ease); }
    .portrait:hover::before { transform: translate(4px, 4px); }
    .step-num { transition: transform .35s var(--ease), background-color .3s, color .3s; }
    .step:hover .step-num { transform: translateY(-4px); background: var(--brown); color: #fff; }
    .faq-item summary { transition: color .2s, background-color .25s; }
    .faq-item summary:hover { color: var(--brown); background: var(--cream); }
    .faq-item summary:hover .faq-icon { background: var(--taupe); color: #fff; }
    .segmented button:hover { color: var(--brown-dark); background: rgba(255, 255, 255, .6); }
    .stepper button:hover { background: var(--brown); color: #fff; }
    .stepper button { transition: background-color .2s, color .2s, transform .15s; }
    .google-card, .tile, .list-item, .card.pay-card { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
    .google-card:hover, .tile:hover, .pay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
    .list-item:hover { border-left-color: var(--brown); box-shadow: var(--shadow-sm); }
    .input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--taupe); }
    .check:hover { color: var(--ink); }
    .scroll-cue { transition: border-color .2s, transform .25s; }
    .scroll-cue:hover { border-color: var(--brown); transform: translateX(-50%) translateY(3px); }
    .story-ring { transition: transform .4s var(--ease); }
    .story-card:hover .story-ring { transform: rotate(-10deg) scale(1.06); }
    .chat-close { transition: background-color .2s, transform .25s; }
    .chat-close:hover { transform: rotate(90deg); }
    .chat-fab:hover .pulse { background: #a6f0b6; }
    .review-more:hover, .breadcrumb a:hover, .login-help a:hover, .check a:hover, .cookie-card p a:hover { color: var(--brown-dark); text-decoration: underline; text-underline-offset: 3px; }
    .legal a { transition: color .2s, text-decoration-color .2s; }
    .legal a:hover { color: var(--espresso); text-decoration-color: var(--taupe); }
    .legal-toc a { transition: background-color .2s, color .2s, transform .2s; }
    .legal-toc a:hover { background: var(--brown); color: #fff; transform: translateY(-1px); }
    .code-input-wrap button:hover { color: var(--brown); }
    .copy-btn:hover { transform: translateY(-1px); }
    .msg a:hover { color: var(--brown-dark); }

    /* Footer */
    .footer-links a { position: relative; transition: color .25s, transform .25s var(--ease); }
    .footer-links a::after {
        content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px;
        background: var(--taupe); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
    }
    .footer-links a:hover { color: #fff; transform: translateX(4px); }
    .footer-links a:hover::after { transform: scaleX(1); }
    .footer-links a:hover i { color: #fff; }
    .footer-links i { transition: color .25s; }
    .footer-social a:hover { transform: translateY(-3px) scale(1.06); }
    .footer-brand img { transition: transform .5s var(--ease); }
    .footer-brand:hover img { transform: rotate(-8deg) scale(1.06); }
    .footer-bottom a { transition: color .2s, text-decoration-color .2s; text-decoration-color: rgba(255,255,255,.25); }
    .footer-bottom a:hover { color: #fff; text-decoration-color: var(--taupe); }
}

/* ---------- Druck ---------- */
@media print {
    .site-header, .chat-fab, .chat-panel, .to-top, .cookie-card, .site-footer { display: none !important; }
    body { background: #fff; }
}

@media (max-width: 640px) { .toast-stack { top: 14px; } }
.footer-grid + .footer-bottom { margin-top: 48px; }


/* ---------- Großer Kalender + Formular darunter ---------- */
.container--wide { width: min(1400px, 100% - 32px); margin-inline: auto; }
.booking-stack { display: grid; gap: 24px; }
.booking-stack .booking-card { position: static; }
.calendar-card--big { padding: 26px; }
.calendar-hint { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.calendar-hint i { color: var(--brown); }
.calendar-card--big .fc .fc-daygrid-day-frame { min-height: 118px !important; }
.calendar-card--big .fc .fc-toolbar-title { font-size: 1.9rem; }
.calendar-card--big .fc .fc-timegrid-slot { height: 2.4em; }
@media (max-width: 900px) { .calendar-card--big .fc .fc-daygrid-day-frame { min-height: 80px !important; } }
@media (max-width: 640px) {
    .calendar-card--big { padding: 12px; }
    .calendar-card--big .fc .fc-daygrid-day-frame { min-height: 58px !important; }
    .calendar-card--big .fc .fc-toolbar-title { font-size: 1.3rem; }
}
.booking-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.booking-card-head .form-steps { width: min(260px, 100%); margin: 12px 0 0; }
.form-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
@media (max-width: 860px) { .form-cols { grid-template-columns: 1fr; } }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; align-items: end; }
.form-row .field { margin-bottom: 0; }
.success-panel { max-width: 560px; margin: 0 auto; }
.success-actions { display: grid; gap: 10px; }
.review-date { color: var(--muted); font-size: .78rem; margin-left: 6px; }

/* ---------- Zahlungen ---------- */
.balance-box {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--cream); border: 1.5px dashed var(--taupe); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px;
}
.balance-box small { display: block; font-size: .75rem; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.balance-box strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--brown); line-height: 1.1; }
.balance-state { font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.balance-state.open { background: #fbeedd; color: #a36a22; }
.balance-state.paid { background: #e7f2e8; color: var(--success); }
.inline-form .btn { flex-shrink: 0; }

.pay-history { display: grid; gap: 8px; }
.pay-row { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--cream); transition: background-color .2s, transform .2s; }
.pay-row:hover { background: var(--sand); transform: translateX(2px); }
.pay-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; }
.pay-row.is-pay .pay-ico { background: #e7f2e8; color: var(--success); }
.pay-row.is-charge .pay-ico { background: #f3e7da; color: var(--brown); }
.pay-what { font-weight: 600; font-size: .92rem; }
.pay-what small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.pay-row.is-pay strong { color: var(--success); }
.pay-row.is-charge strong { color: var(--brown-dark); }

.tile .big.is-zero { color: var(--success); }
.tile--pay #payArea { margin-top: 12px; display: grid; gap: 8px; }
.pay-now .input { width: 100%; }
.pay-ok { color: var(--success); font-weight: 700; }
.pay-note { font-size: .8rem; color: var(--muted); line-height: 1.45; }
#paypalButtons:empty { display: none; }
.pay-history-card { margin-bottom: 24px; padding: 0; }
.pay-history-card summary { list-style: none; cursor: pointer; padding: 18px 24px; font-weight: 700; display: flex; align-items: center; gap: 10px; color: var(--espresso); transition: color .2s, background-color .2s; border-radius: var(--radius); }
.pay-history-card summary::-webkit-details-marker { display: none; }
.pay-history-card summary:hover { color: var(--brown); background: var(--cream); }
.pay-history-card summary i { color: var(--brown); }
.pay-history-card[open] summary { border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.pay-history-card .pay-history { padding: 16px 24px 22px; }
.tag-lang { background: #e6eef6; color: #3d6589; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 6px; letter-spacing: .04em; }

/* Zeitzonen-Hinweis & Konflikt-Anzeige */
.tz-note { display: flex; gap: 8px; align-items: flex-start; font-size: .82rem; color: #3d6589; background: #eef4f9; border-radius: 10px; padding: 8px 12px; margin-top: 6px; line-height: 1.45; }
.tz-note[hidden] { display: none; }
.tz-note i { margin-top: 3px; }
.clash { margin-top: 8px; font-size: .86rem; font-weight: 600; color: var(--danger); background: #fbecea; border-radius: 10px; padding: 6px 10px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Admin-Anmeldung im Portal */
.admin-login { margin-top: 22px; text-align: left; border-top: 1px solid var(--line); padding-top: 14px; }
.admin-login summary { cursor: pointer; list-style: none; text-align: center; font-size: .85rem; font-weight: 700; color: var(--muted); transition: color .2s; }
.admin-login summary::-webkit-details-marker { display: none; }
.admin-login summary:hover { color: var(--brown); }
.admin-login form { margin-top: 14px; }
.pay-row.is-pending { opacity: .75; border: 1px dashed var(--taupe); }

/* ---------- Borçlar (Admin) ---------- */
.debts-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 14px; }
.debts-head h3 { margin: 0; }
.debts-total { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; background: #fbeedd; border-radius: 14px; padding: 10px 18px; }
.debts-total small { font-size: .75rem; color: #a36a22; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.debts-total strong { font-family: var(--font-display); font-size: 2rem; color: var(--brown); line-height: 1.1; }
.debts-total span { font-size: .85rem; color: var(--muted); }
.debt-row { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; border-left-color: #e0a458; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.debt-row:hover, .debt-row:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--taupe); }
.debt-amount { font-weight: 800; color: #a36a22; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.debt-amount i { font-size: .75rem; opacity: .6; transition: transform .2s; }
.debt-row:hover .debt-amount i { transform: translateX(3px); opacity: 1; }
.debt-pending { color: #2c6aa0; font-weight: 700; }


/* Kalender: Lade-Hinweis, solange die Termine nachgeladen werden */
.is-loading { position: relative; }
.is-loading::after {
    content: attr(data-loading); position: absolute; left: 50%; top: 92px; transform: translateX(-50%); z-index: 5;
    background: var(--white); color: var(--brown); font-weight: 700; font-size: .9rem;
    padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    animation: calPulse 1.4s ease-in-out infinite; white-space: nowrap;
}
@keyframes calPulse { 50% { opacity: .55; } }

/* ---------- Zahlungsfrist / Portal-Sperre ---------- */
.deadline-field .inline-form { flex-wrap: wrap; }
.deadline-field input[type="datetime-local"] { flex: 1 1 210px; }
.deadline-state { display: block; margin-top: 8px; font-size: .9rem; font-weight: 700; color: var(--muted); }
.deadline-state.waiting { color: #a36a22; }
.deadline-state.locked { color: #b04a3c; }
.debt-lock { color: #b04a3c; font-weight: 700; }
.debt-due { color: #a36a22; font-weight: 700; }
.lock-banner { display: flex; gap: 16px; align-items: flex-start; background: #fbecea; border: 1px solid #ecc5bf; border-left: 5px solid #b04a3c; border-radius: 16px; padding: 18px 20px; margin-bottom: 24px; color: #5c2a22; }
.lock-banner > i { font-size: 1.5rem; color: #b04a3c; margin-top: 2px; }
.lock-banner strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.lock-banner p { margin: 0; }
.deadline-note { margin: 4px 0 10px; font-size: .88rem; font-weight: 700; color: #a36a22; }

/* ---------- Hatırlatmalar (Admin) ---------- */
.reminders-card h3 small { font-family: var(--font-body); font-size: .8rem; color: var(--muted); font-weight: 600; }
.reminder-item--now { border-left-color: #4f8a5b; background: #f3f9f4; }
.reminder-item--late { border-left-color: #c46b5d; background: #fdf4f2; }
.reminder-item--done { border-left-color: #b9c9bb; opacity: .85; }
.reminder-item--later { border-left-color: var(--line); }
.reminder-state { font-weight: 700; color: var(--ink); }
.empty-note { color: var(--muted); font-size: .92rem; margin: 0; }
.tab .count--bell:not(:empty) { background: #d9a441; color: #fff; margin-left: 4px; }

/* Kalender-Seite: Hinweis „nur für Erstbesucher“ */
.first-visit-note { display: flex; gap: 16px; align-items: flex-start; background: #fdf1e3; border: 2px solid #e0a458; border-left-width: 6px; border-radius: 18px; padding: 20px 22px; color: #5a3a14; }
.first-visit-note > i { font-size: 1.7rem; color: #c27a1f; margin-top: 2px; flex-shrink: 0; }
.first-visit-note strong { display: block; font-size: 1.12rem; line-height: 1.4; margin-bottom: 6px; color: #4a2e0e; }
.first-visit-note p { margin: 0 0 12px; }
@media (max-width: 560px) { .first-visit-note { flex-direction: column; gap: 8px; padding: 16px 18px; } }

/* Buchungsseite: bestehender Klient erkannt */
.known-client { display: flex; gap: 14px; align-items: flex-start; background: #fdf1e3; border: 2px solid #e0a458; border-radius: 16px; padding: 16px 18px; margin: 4px 0 14px; color: #5a3a14; }
.known-client > i { font-size: 1.5rem; color: #c27a1f; margin-top: 2px; flex-shrink: 0; }
.known-client strong { display: block; margin-bottom: 4px; color: #4a2e0e; }
.known-client p { margin: 0 0 10px; font-size: .93rem; }
.known-client.is-locked { background: #fbecea; border-color: #d88f84; color: #5c2a22; }
.known-client.is-locked > i { color: #b04a3c; }
.known-client.is-locked strong { color: #5c2a22; }



/* Footer: unten Platz lassen, damit die Chat-Blase nichts verdeckt */
.site-footer .footer-bottom { padding-bottom: 92px; }
@media (min-width: 900px) { .site-footer .footer-bottom { padding-right: 90px; padding-bottom: 28px; } }

/* Admin: Abstand zwischen Telefon/E-Mail und dem Kasten „Kalan ödeme“ */
.client-contact-grid { margin-bottom: 18px; }
.client-contact-grid .field { margin-bottom: 0; }

/* Ausbildung & Zertifikate */
.cred-grid { grid-template-columns: repeat(2, 1fr); max-width: 920px; margin-inline: auto; }
@media (max-width: 600px) { .cred-grid { grid-template-columns: 1fr; } }
.cred-card { cursor: default; }
.cred-meta { align-self: flex-start; font-size: .82rem; font-weight: 700; letter-spacing: .04em; color: var(--brown-dark); background: var(--sand); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
