/* ── SCHRIFTARTEN ──────────────────────────────────────── */
@font-face { font-family:'Figtree'; font-style:normal; font-weight:400; font-display:swap; src:url('/fonts/figtree-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:500; font-display:swap; src:url('/fonts/figtree-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:600; font-display:swap; src:url('/fonts/figtree-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:normal; font-weight:700; font-display:swap; src:url('/fonts/figtree-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-style:italic; font-weight:400; font-display:swap; src:url('/fonts/figtree-latin-400-italic.woff2') format('woff2'); }

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

:root {
  --bg:        #F8F5F1;
  --bg-alt:    #F2EDE7;
  --bg-card:   #FFFFFF;
  --dark:      #1A2222;
  --mid:       #3C4A4A;
  --muted:     rgba(26,34,34,0.65);
  --border:    rgba(26,34,34,0.10);
  --border-md: rgba(26,34,34,0.16);
  --accent:    #3A9E82;
  --accent-l:  rgba(58,158,130,0.10);
  --accent-b:  rgba(58,158,130,0.28);
  --white:     #FFFFFF;
  --sans:      'Figtree', system-ui, sans-serif;
  --pad:       6%;
  --h2:        clamp(24px, 2.6vw, 34px);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--sans); background: var(--bg); color: var(--dark); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

/* ── URLAUBSHINWEIS ── */
.urlaub-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: var(--accent); color: #fff; text-align: center;
  padding: 12px 20px; font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; line-height: 1.5;
}
body.has-urlaub-banner nav { top: var(--urlaub-banner-h, 0px); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(var(--pad), calc((100% - 1440px) / 2));
  background: rgba(14,28,28,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(58,158,130,0.15);
}
.nav-cta-wrap { display: flex; align-items: center; }
.nav-logo { font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #EDF6F1; text-decoration: none; line-height: 1.3; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 500; color: rgba(180,220,205,0.65); letter-spacing: 0.07em; transition: color 0.2s; text-transform: uppercase; }
.nav-links a:hover { color: #EDF6F1; }
.nav-dropdown { position: relative; height: 64px; display: flex; align-items: center; }
.nav-dropdown-toggle::after { content: ' ▾'; font-size: 9px; opacity: 0.5; }
.nav-submenu {
  position: absolute; top: 100%; left: -16px;
  background: rgba(10,22,22,0.98); border: 1px solid rgba(58,158,130,0.18);
  border-top: none; min-width: 210px; padding: 6px 0;
  opacity: 0; pointer-events: none;
  transform: translateY(-4px); transition: opacity 0.18s, transform 0.18s;
  z-index: 300;
}
.nav-dropdown.is-open .nav-submenu { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-submenu a { display: block; padding: 10px 20px; white-space: nowrap; font-size: 13px; font-weight: 500; color: rgba(180,220,205,0.65); text-decoration: none; letter-spacing: 0.07em; text-transform: uppercase; transition: color 0.2s; }
.nav-submenu a:hover { color: #EDF6F1; }
.nav-submenu .nav-submenu-divider { height: 1px; background: rgba(58,158,130,0.12); margin: 5px 0; }
.nav-mobile-sub { padding-left: 36px !important; font-size: 12px !important; opacity: 0.7; }
.nav-cta { background: #27705A !important; color: #fff !important; border: none !important; padding: 8px 20px !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0.08em !important; transition: opacity 0.2s !important; text-align: center !important; white-space: nowrap !important; border-radius: 3px !important; }
.nav-cta:hover { opacity: 0.85; }

/* ── HERO ── */
.hero {
  min-height: 78vh; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  padding: 140px var(--pad) 100px; position: relative; overflow: hidden;
  background: #0E1C1C;
}
.hero-bg-svg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #5ABEA0; font-weight: 600; margin-bottom: 32px; position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.hero-eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--accent); }
.hero-headline { position: relative; z-index: 1; font-size: clamp(30px, 4vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; text-transform: uppercase; color: #EDF6F1; margin-bottom: 48px; width: 100%; text-align: left; max-width: 700px; }
.hero-headline em { color: var(--accent); font-style: normal; }
.hero-bottom { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; width: 100%; gap: 48px; }
.hero-sub { font-size: 19px; color: rgba(200,224,214,0.75); line-height: 1.85; max-width: 460px; font-weight: 400; }
.hero-actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn-primary { background: var(--accent); color: var(--white); padding: 22px 56px; text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: opacity 0.2s; display: inline-block; }
.btn-primary:hover { opacity: 0.82; }
.btn-outline { border: 1px solid rgba(200,224,214,0.70); color: #EDF6F1; padding: 14px 32px; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; transition: border-color 0.2s, color 0.2s; display: inline-block; background: transparent; }
.btn-outline:hover { border-color: #1F6B54; color: #1F6B54; }

/* ── QUOTE BAND ── */
.quote-band { padding: 53px var(--pad); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); display: flex; align-items: flex-start; gap: 40px; position: relative; overflow: hidden; }
.quote-band-bg { position: absolute; inset: 0; pointer-events: none; }
.quote-mark-big { font-size: 96px; line-height: 0.8; color: var(--accent); opacity: 0.16; font-weight: 700; flex-shrink: 0; position: relative; z-index: 1; }
.quote-text { font-size: clamp(17px, 1.4vw, 19px); font-weight: 400; line-height: 1.5; color: var(--dark); font-style: italic; letter-spacing: -0.01em; position: relative; z-index: 1; }
.quote-source { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-top: 20px; font-style: normal; }

/* ── SECTION ── */
section { padding: 80px var(--pad); }
.section-label { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 20px; }
h2 { font-size: var(--h2); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; text-transform: uppercase; color: var(--dark); }
h2 em { color: var(--accent); font-style: normal; }
.section-sub { font-size: 19px; color: var(--muted); font-weight: 400; max-width: 500px; margin-top: 16px; line-height: 1.8; }

/* ── ABOUT ── */
.about { background: var(--white); position: relative; overflow: hidden; }
.about-bg { position: absolute; inset: 0; pointer-events: none; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; margin-top: 48px; position: relative; z-index: 1; }
.about-portrait { background: var(--bg-alt); border: 1px solid var(--border); aspect-ratio: 4/5; position: relative; overflow: hidden; }
.portrait-inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.portrait-inner svg { width: 100%; height: 100%; }
.portrait-label { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(transparent, rgba(248,245,241,0.95)); }
.portrait-available { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--mid); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.dot-green { width: 7px; height: 7px; border-radius: 50%; background: #45B56A; flex-shrink: 0; }
.about-body p { font-size: 19px; color: var(--mid); line-height: 1.9; font-weight: 400; margin-top: 18px; }
.creds { margin-top: 48px; border-top: 1px solid var(--border); padding-top: 20px; display: flex; flex-direction: column; gap: 36px; }
.cred-row { display: flex; flex-direction: column; gap: 4px; }
.cred-num { display: none; }
.cred-title { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.cred-sub { font-size: 16px; color: var(--mid); line-height: 1.7; font-weight: 400; }

/* ── LEISTUNGEN ── */
.services { background: var(--bg); position: relative; overflow: hidden; }
.services-bg { position: absolute; inset: 0; pointer-events: none; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; position: relative; z-index: 1; background: var(--white); }
.service-card { padding: 36px 30px; background: var(--white); transition: background 0.22s; position: relative; overflow: hidden; }
.service-card:nth-child(3n) { border-right: none; }
.service-card:hover { background: var(--bg); }
.service-num { font-size: 28px; margin-bottom: 20px; display: block; line-height: 1; }
.service-title { font-size: 14px; font-weight: 700; color: var(--dark); letter-spacing: 0.01em; margin-bottom: 12px; text-transform: uppercase; }
.service-desc { font-size: 18px; color: var(--muted); line-height: 1.8; font-weight: 400; }
.service-line { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.28s; }
.service-card:hover .service-line { transform: scaleX(1); }

/* ── LEISTUNGEN – QUOTE-REIHE ── */
.svc-qrow { grid-column: 1 / -1; padding: 24px var(--pad); background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 28px; }
.svc-qrow-mark { font-size: 52px; line-height: 0.75; color: var(--accent); opacity: 0.18; font-weight: 700; flex-shrink: 0; }
.svc-qrow-text { font-size: clamp(17px, 1.4vw, 19px); font-style: italic; font-weight: 400; color: var(--dark); line-height: 1.5; letter-spacing: -0.01em; }
.svc-qrow-source { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-top: 10px; font-weight: 600; font-style: normal; }
@media (max-width: 700px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .services-grid .service-card:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .service-card { border-right: none; }
}

/* ── ABLAUF ── */
.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
.step { padding: 36px 24px 36px 0; }
.step:last-child { border-right: none; }
.step-num { font-size: 32px; line-height: 1; margin-bottom: 20px; display: block; }
.step-title { font-size: 12px; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 12px; min-height: 2.4em; display: flex; align-items: flex-start; }
.step-desc { font-size: 18px; color: var(--muted); line-height: 1.75; font-weight: 400; }

/* ── PREISE ── */
.costs { background: var(--bg-alt); }
.costs-grid { display: grid; grid-template-columns: 1fr; margin-top: 48px; }
.cost-card { padding: 44px 40px; background: var(--white); }
.cost-card:last-child { border-right: none; background: var(--bg); }
.cost-label { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; font-weight: 500; }
.cost-card-body { display: flex; align-items: stretch; gap: 72px; }
.cost-left { flex-shrink: 0; display: flex; flex-direction: column; }
.cost-right { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cost-right .cost-item { margin-bottom: 0; }
.cost-price { font-size: 68px; font-weight: 700; color: var(--dark); line-height: 1; letter-spacing: -0.05em; }
.cost-card:last-child .cost-price { color: var(--accent); }
.cost-period { font-size: 16px; color: var(--muted); margin-top: 8px; }
.cost-item { display: flex; align-items: flex-start; gap: 10px; font-size: 17px; color: var(--muted); margin-bottom: 11px; line-height: 1.5; }
.cost-check { color: var(--accent); font-size: 15px; flex-shrink: 0; margin-top: 2px; font-weight: 700; }

/* PKV NOTE */
.pkv-box { border-left: 3px solid var(--accent); background: var(--white); padding: 32px 36px; display: flex; gap: 18px; }
.pkv-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.pkv-title { font-size: 16px; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 10px; }
.pkv-text { font-size: 16px; color: var(--muted); line-height: 1.8; }
.cost-footnote { font-size: 15px; color: rgba(26,34,34,0.3); margin-top: 20px; line-height: 1.7; }

/* ── FAQ ── */
.faq { background: var(--white); border-top: 1px solid var(--border); }
.faq-list { margin-top: 48px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 28px 0; }
.faq-q { font-size: 18px; font-weight: 600; color: var(--dark); line-height: 1.5; }
.faq-a { font-size: 18px; color: var(--muted); line-height: 1.85; font-weight: 400; }
.faq-a a { color: var(--accent); text-decoration: none; }

/* ── CONTACT ── */
.contact { background: #0E1C1C; border-top: none; padding: 88px var(--pad) 72px; position: relative; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; pointer-events: none; }
.contact-headline { font-size: clamp(42px, 7.5vw, 100px); font-weight: 700; line-height: 0.92; letter-spacing: -0.035em; text-transform: uppercase; margin-bottom: 56px; position: relative; z-index: 1; color: #EDF6F1; }
.contact-headline em { color: var(--accent); font-style: normal; }
.contact-row { display: flex; gap: 80px; align-items: flex-start; position: relative; z-index: 1; }
.contact-info { flex: 1; }
.contact-info-item { margin-bottom: 28px; }
.contact-info-label { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(180,220,205,0.60); margin-bottom: 8px; font-weight: 500; }
.contact-info-value { font-size: 19px; color: #EDF6F1; font-weight: 400; }
.contact-info-note { font-size: 15px; color: rgba(180,220,205,0.55); margin-top: 4px; font-style: italic; }
.contact-actions { flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; }

/* ── FOOTER ── */
footer { background: #ffffff; border-top: 1px solid #e0e0e0; padding: 32px 0; text-align: center; }
.footer-name { font-size: 15px; color: #1a1a1a; margin-bottom: 6px; }
.footer-title { font-size: 13px; color: #555555; margin-bottom: 5px; }
.footer-email { font-size: 12px; color: #555555; margin-bottom: 10px; }
.footer-meta { font-size: 12px; color: #999999; }
.footer-meta a { font-size: 12px; color: #999999; text-decoration: none; }
.footer-meta a:hover { color: #666666; }

/* ── PORTAL ── */
.portal { background: var(--bg-alt); border-top: 1px solid var(--border); }
.portal-login { max-width: 460px; margin: 64px auto 0; border: 1px solid var(--border); background: var(--white); }
.auth-tabs { display: flex; border-bottom: 1px solid var(--border); }
.auth-tab { flex: 1; padding: 16px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; background: var(--white); font-family: var(--sans); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.2s, color 0.2s; border-right: 1px solid var(--border); }
.auth-tab:last-child { border-right: none; }
.auth-tab.active { background: var(--accent); color: #fff; }
.auth-tab:hover:not(.active) { color: var(--accent); }
#formLogin, #formRegister { padding: 36px 40px 40px; }
.auth-intro { font-size: 17px; color: var(--muted); margin-bottom: 28px; line-height: 1.65; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 4px; }
.form-check input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); width: 14px; height: 14px; }
.check-label { font-size: 16px; color: var(--muted); line-height: 1.55; }
.check-label a { color: var(--accent); text-decoration: none; }
.auth-switch { font-size: 16px; color: var(--muted); margin-top: 20px; text-align: center; }
.auth-switch a { color: var(--accent); text-decoration: none; font-weight: 500; }
.auth-success { font-size: 17px; color: #2E8B57; background: rgba(69,181,106,0.10); border: 1px solid rgba(69,181,106,0.25); padding: 12px 16px; margin-top: 14px; line-height: 1.5; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 7px; letter-spacing: 0.14em; text-transform: uppercase; }
.form-group input { width: 100%; padding: 11px 14px; border: 1px solid var(--border); font-family: var(--sans); font-size: 18px; color: var(--dark); background: var(--bg); outline: none; transition: border-color 0.2s; }
.form-group input:focus { border-color: var(--accent); }
.btn-portal { width: 100%; background: var(--accent); color: var(--white); border: none; padding: 13px; font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: opacity 0.2s; margin-top: 8px; }
.btn-portal:hover { opacity: 0.82; }
.portal-error { font-size: 12px; color: #c0392b; margin-top: 12px; text-align: center; display: none; }
.portal-dashboard { display: none; }
.portal-urlaub-banner { display: none; background: var(--accent-l); border: 1px solid var(--accent-b); color: var(--dark); padding: 14px 20px; font-size: 14px; line-height: 1.5; margin-bottom: 24px; }
.portal-urlaub-banner .urlaub-lead { display: block; font-weight: 700; font-size: 17px; margin-bottom: 2px; }
.portal-urlaub-banner .urlaub-sub { display: block; font-weight: 400; color: var(--muted); }
.portal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.portal-header h3 { font-size: 28px; font-weight: 700; color: var(--dark); letter-spacing: -0.02em; }
.btn-logout { background: none; border: 1px solid var(--border); padding: 8px 18px; font-size: 10px; color: var(--muted); cursor: pointer; font-family: var(--sans); letter-spacing: 0.1em; text-transform: uppercase; transition: border-color 0.2s, color 0.2s; }
.btn-logout:hover { border-color: var(--accent); color: var(--accent); }
.portal-tabs { display: flex; border: 1px solid var(--border); width: fit-content; margin-bottom: 40px; }
.portal-tab { padding: 10px 24px; font-size: 10px; font-weight: 600; cursor: pointer; border: none; background: none; font-family: var(--sans); color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase; transition: background 0.2s, color 0.2s; border-right: 1px solid var(--border); }
.portal-tab:last-child { border-right: none; }
.portal-tab.active { background: var(--accent); color: var(--white); }

/* Mobile Tab-Select */
.portal-tab-select-wrap { display: none; position: relative; margin-bottom: 40px; }
.portal-tab-select {
  width: 100%; border: 1px solid var(--border); background: var(--white);
  color: var(--dark); font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 13px 40px 13px 16px;
  -webkit-appearance: none; appearance: none;
  cursor: pointer; outline: none;
}
.portal-tab-select-arrow {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--muted); display: flex; align-items: center;
}

.portal-panel { display: none; }
.portal-panel.active { display: block; }

/* ── KLIENTENPORTAL: KARTEN-HUB ─────────────────────────────── */
/* Alte Reiter-Navigation entfällt – der Karten-Hub ersetzt sie */
.portal-tabs, .portal-tab-select-wrap { display: none !important; }

.px-hub-hero { background: var(--accent-l); border-radius: 20px; padding: 24px 26px; margin-bottom: 18px; }
.px-hub-hero .eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 9px; }
.px-hub-hero .big { font-size: 26px; font-weight: 700; color: var(--dark); letter-spacing: -0.02em; line-height: 1.12; }
.px-hub-hero .sub { font-size: 15px; color: var(--muted); margin-top: 4px; }
.px-hub-badge { display: inline-block; font-size: 11px; font-weight: 600; color: var(--accent); background: rgba(58,158,130,0.14); padding: 4px 11px; border-radius: 999px; margin-top: 11px; }
.px-hub-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; border: none; border-radius: 12px; padding: 13px 22px; font-family: var(--sans); font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 15px; text-decoration: none; transition: opacity 0.2s; }
.px-hub-cta:hover { opacity: 0.9; }
.px-hub-cta svg { width: 18px; height: 18px; }

.px-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.px-hub-card { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 20px; cursor: pointer; text-align: left; font-family: var(--sans); width: 100%; transition: transform 0.14s, box-shadow 0.14s, border-color 0.14s; }
.px-hub-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(26,34,34,0.08); border-color: var(--accent-b); }
.px-hub-card:active { transform: translateY(0); }
.px-hub-ic { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-l); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.px-hub-ic svg { width: 23px; height: 23px; }
.px-hub-ct { font-size: 16px; font-weight: 700; color: var(--dark); letter-spacing: -0.01em; }
.px-hub-cs { font-size: 13px; color: var(--muted); line-height: 1.4; }
.px-hub-cs.amber { color: #C0732A; font-weight: 600; }

.px-hub-back { display: inline-flex; align-items: center; gap: 5px; background: none; border: none; outline: none; color: var(--muted); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; padding: 0; margin-bottom: 28px; transition: color 0.2s; line-height: 1; }
.px-hub-back:hover { color: var(--accent); }
.px-hub-back svg { width: 13px; height: 13px; flex-shrink: 0; }

.px-hub-onb { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; margin-bottom: 18px; }

@media (max-width: 760px) {
  .px-hub-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .px-hub-hero { padding: 20px; border-radius: 18px; }
  .px-hub-hero .big { font-size: 22px; }
  .px-hub-card { padding: 16px 15px; border-radius: 15px; gap: 9px; min-height: 116px; }
  .px-hub-ic { width: 42px; height: 42px; border-radius: 12px; }
  .px-hub-ct { font-size: 15px; }
}
@media (max-width: 380px) {
  .px-hub-grid { grid-template-columns: 1fr; }
  .px-hub-card { min-height: 0; flex-direction: row; align-items: center; }
  .px-hub-card .px-hub-ic { flex-shrink: 0; }
}
#portalDashboard input:focus,
#portalDashboard select:focus,
#portalDashboard textarea:focus { outline: 2px solid #3A9E82 !important; outline-offset: 1px; }
.portal-section-label { font-size: 10px; font-weight: 600; color: var(--muted); margin-bottom: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.booked-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.booked-item { background: var(--white); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.booked-badge { border: 1px solid var(--accent-b); color: var(--accent); font-size: 10px; font-weight: 700; padding: 3px 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.doc-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.doc-item { background: var(--white); padding: 13px 18px; display: flex; justify-content: space-between; align-items: center; }
.doc-left { display: flex; align-items: center; gap: 10px; }
.doc-icon { font-size: 16px; }
.doc-name { font-size: 13px; color: var(--dark); }
.doc-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.btn-doc-del { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; transition: color 0.2s; }
.btn-doc-del:hover { color: #c0392b; }
.invoice-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 6px; }
.invoice-item { background: var(--white); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; }
.invoice-title { font-weight: 600; font-size: 13px; color: var(--dark); }
.invoice-date { font-size: 11px; color: var(--muted); margin-top: 3px; }
.invoice-right { text-align: right; }
.invoice-amount { font-size: 18px; font-weight: 700; color: var(--dark); letter-spacing: -0.02em; }
.invoice-status { font-size: 10px; font-weight: 700; padding: 3px 9px; margin-top: 4px; display: inline-block; letter-spacing: 0.1em; text-transform: uppercase; }
.status-paid { background: rgba(69,181,106,0.12); color: #2E8B57; }
.status-open { background: rgba(230,126,34,0.12); color: #C0732A; }
.status-overdue { background: rgba(192,57,43,0.10); color: #c0392b; border: 1px solid rgba(192,57,43,0.3); }
.btn-dl { background: none; border: 1px solid var(--border); padding: 5px 12px; font-size: 10px; color: var(--muted); cursor: pointer; font-family: var(--sans); letter-spacing: 0.08em; text-transform: uppercase; transition: border-color 0.2s, color 0.2s; margin-top: 7px; }
.btn-dl:hover { border-color: var(--accent); color: var(--accent); }

/* ── TERMINKALENDER ── */
.px-cal-nav { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.px-cal-nav button { background:none; border:1px solid var(--border); width:28px; height:28px; cursor:pointer; font-size:16px; color:var(--dark); display:flex; align-items:center; justify-content:center; transition:border-color 0.2s,color 0.2s; }
.px-cal-nav button:hover { border-color:var(--accent); color:var(--accent); }
.px-cal-month { font-size:16px; font-weight:700; min-width:160px; }
.px-cal-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:1px; background:var(--border); border:1px solid var(--border); }
.px-cal-head { background:var(--bg); padding:7px 4px; font-size:10px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); text-align:center; }
.px-cal-day { background:var(--white); min-height:62px; padding:8px 6px; }
.px-cal-day.other-month { background:var(--bg); }
.px-cal-day.past { opacity:0.38; }
.px-cal-day.today { outline:2px solid var(--accent); outline-offset:-2px; }
.px-cal-day.has-slots { cursor:pointer; }
.px-cal-day.has-slots:hover { background:#f0faf6; }
.px-cal-day.open-day { background:#e6f4f0; }
.px-day-num { font-size:11px; font-weight:600; color:var(--muted); margin-bottom:4px; }
.px-day-dot { display:inline-block; width:7px; height:7px; border-radius:50%; background:var(--accent); margin:2px 1px 0; vertical-align:top; }
.px-day-dot.sel { background:var(--dark); }
.px-hour-panel { border:1px solid var(--border); border-top:none; padding:16px 20px; background:#f7fbf9; margin-bottom:20px; }
.px-hour-label { font-size:10px; font-weight:700; letter-spacing:0.13em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.px-hour-grid { display:flex; flex-wrap:wrap; gap:8px; }
.px-hour-btn { border:1px solid var(--border); background:var(--white); padding:8px 14px; font-family:var(--sans); font-size:12px; font-weight:600; cursor:pointer; color:var(--dark); transition:all 0.15s; }
.px-hour-btn:hover { border-color:var(--accent); color:var(--accent); }
.px-hour-btn.sel { background:var(--accent); color:#fff; border-color:var(--accent); }
.px-basket { border:1px solid var(--border); padding:20px; background:var(--white); margin-bottom:16px; }
.px-basket-label { font-size:10px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.px-basket-empty { font-size:13px; color:var(--muted); }
.px-basket-item { display:flex; justify-content:space-between; align-items:center; padding:9px 0; border-bottom:1px solid var(--border); font-size:13px; }
.px-basket-item:last-of-type { border-bottom:none; margin-bottom:12px; }
.px-basket-rm { background:none; border:none; cursor:pointer; color:var(--muted); font-size:18px; line-height:1; padding:0 4px; }
.px-basket-rm:hover { color:#c0392b; }
.px-btn-book { background:var(--accent); color:#fff; border:none; padding:12px 28px; font-family:var(--sans); font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; cursor:pointer; transition:opacity 0.2s; }
.px-btn-book:hover { opacity:0.88; }
.px-btn-book:disabled { opacity:0.4; cursor:default; }
.px-appt-item { background:var(--white); border:1px solid var(--border); padding:16px 20px; display:flex; justify-content:space-between; align-items:center; margin-bottom:1px; }
.px-appt-left .px-appt-date { font-size:14px; font-weight:600; }
.px-appt-left .px-appt-time { font-size:12px; color:var(--muted); margin-top:3px; }
.px-appt-late { font-size:11px; color:#C0732A; margin-top:3px; }
.px-appt-actions { display:flex; gap:8px; flex-shrink:0; }
.px-btn-sm { background:none; border:1px solid var(--border); padding:6px 12px; font-family:var(--sans); font-size:10px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; cursor:pointer; color:var(--muted); transition:all 0.2s; }
.px-btn-sm:hover { border-color:var(--accent); color:var(--accent); }
.px-btn-sm.danger:hover { border-color:#c0392b; color:#c0392b; }
.px-appt-none { font-size:13px; color:var(--muted); padding:12px 0; }
.px-success-box { border-left:3px solid var(--accent); background:#f0faf6; padding:18px 22px; margin-bottom:24px; }
.px-success-title { font-size:13px; font-weight:700; color:var(--accent); margin-bottom:4px; }
.px-success-text { font-size:13px; color:var(--dark); line-height:1.6; }

/* ── KONTAKTFORMULAR MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 500;
  background: rgba(26,34,34,0.55); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--white); width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  border: 1px solid var(--border); position: relative;
}
.modal-header {
  padding: 32px 36px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.modal-title { font-size: 16px; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 0.08em; }
.modal-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.modal-close {
  background: none; border: none; cursor: pointer;
  font-size: 20px; color: var(--muted); line-height: 1;
  padding: 4px; transition: color 0.2s; flex-shrink: 0;
}
.modal-close:hover { color: var(--dark); }
.modal-body { padding: 28px 36px 36px; }
.modal-body .form-group { margin-bottom: 16px; }
.modal-body .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-body select {
  width: 100%; padding: 11px 36px 11px 14px; border: 1px solid var(--border);
  font-family: var(--sans); font-size: 14px; color: var(--dark);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23777' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  outline: none; transition: border-color 0.2s;
  appearance: none; cursor: pointer;
}
.modal-body select:focus { border-color: var(--accent); }
.modal-body textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  font-family: var(--sans); font-size: 14px; color: var(--dark);
  background: var(--bg); outline: none; transition: border-color 0.2s;
  resize: vertical; min-height: 130px; line-height: 1.6;
}
.modal-body textarea:focus { border-color: var(--accent); }
.modal-consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 4px; }
.modal-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); width: 14px; height: 14px; }
.modal-consent label { font-size: 12px; color: var(--muted); line-height: 1.55; }
.modal-consent label a { color: var(--accent); text-decoration: none; }
.modal-submit { width: 100%; background: var(--accent); color: var(--white); border: none; padding: 14px; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: opacity 0.2s; margin-top: 8px; }
.modal-submit:hover { opacity: 0.82; }
.modal-error { font-size: 12px; color: #c0392b; margin-top: 10px; display: none; }
.modal-success { font-size: 13px; color: #2E8B57; background: rgba(69,181,106,0.10); border: 1px solid rgba(69,181,106,0.25); padding: 14px 16px; margin-top: 14px; line-height: 1.6; display: none; }

/* FADE */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── CONTOUR LINES ── */
.about,
.services,
.quote-band {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='400' viewBox='0 0 800 400'%3E%3Cpath d='M-100 200 Q100 170 300 200 Q500 230 700 195 Q800 180 900 200' fill='none' stroke='rgba(26,34,34,0.045)' stroke-width='1.2'/%3E%3Cpath d='M-100 260 Q100 230 300 260 Q500 290 700 255 Q800 240 900 260' fill='none' stroke='rgba(26,34,34,0.028)' stroke-width='1'/%3E%3Cpath d='M-100 140 Q100 110 300 140 Q500 170 700 135 Q800 120 900 140' fill='none' stroke='rgba(26,34,34,0.028)' stroke-width='1'/%3E%3Cpath d='M-100 320 Q100 290 300 320 Q500 350 700 315 Q800 300 900 320' fill='none' stroke='rgba(26,34,34,0.018)' stroke-width='0.9'/%3E%3Cpath d='M-100 80 Q100 50 300 80 Q500 110 700 75 Q800 60 900 80' fill='none' stroke='rgba(26,34,34,0.018)' stroke-width='0.9'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 800px 400px;
}

/* ── RESPONSIVE ── */

/* Tablet: ≤ 900px */
@media (max-width: 900px) {
  :root { --pad: 5%; }

  /* Hero */
  .hero { padding: 100px var(--pad) 64px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
  .hero-actions { flex-wrap: wrap; }

  /* Leistungen + Ablauf: 2 Spalten auf Tablet; Phone → 1 Spalte via eigenem Breakpoint */
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { grid-column: span 1 !important; border-right: 1px solid var(--border) !important; border-bottom: 1px solid var(--border) !important; }
  .service-card:nth-child(2n) { border-right: none !important; }
  .service-card:nth-last-child(-n+2) { border-bottom: none !important; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .step { border-right: none !important; border-bottom: none !important; padding: 28px 20px; }

  /* Honorar */
  .cost-card-body { flex-direction: column; gap: 28px; }
  .cost-price { font-size: 52px; }

  /* FAQ */
  .faq-item { grid-template-columns: 1fr; gap: 12px; }

  /* Kontakt */
  .contact-row { flex-direction: column; gap: 40px; }
  .contact-actions { flex-direction: row; flex-wrap: wrap; }
  .contact-headline { font-size: clamp(36px, 8vw, 72px); }

  /* Portal */
  .portal-login { margin: 40px auto 0; }
}

/* About-Grid: 1-spaltig auf Touch-Geräten (Handy/Tablet).
   Klasse wird via JS gesetzt – zuverlässiger als pointer:coarse. */
.is-touch .about-grid { grid-template-columns: 1fr !important; gap: 32px; }
.is-touch .about-portrait { aspect-ratio: 4/5; max-height: 480px; }

/* ── PHONES: alle Formate → 1-spaltig ────────────────────────
   Deckt Hochformat (~360–430px) und Querformat (bis ~1280px) ab.
──────────────────────────────────────────────────────────── */
/* Touch-Geräte: alle Grids 1-spaltig */
.is-touch .services-grid { grid-template-columns: 1fr !important; }
.is-touch .service-card { grid-column: span 1 !important; border-right: none !important; border-bottom: 1px solid var(--border) !important; }
.is-touch .service-card:last-child { border-bottom: none !important; }
.is-touch .process-grid { grid-template-columns: 1fr !important; }
.is-touch .step { border-right: none !important; border-bottom: 1px solid var(--border); padding: 24px 0; }
.is-touch .step:last-child { border-bottom: none; }
.is-touch .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
.is-touch .btn-primary { padding: 16px 36px; font-size: 14px; }
.is-touch .btn-outline  { padding: 12px 24px; font-size: 11px; }
.is-touch .cost-card { padding: 28px 20px; }

/* Viewport ≤ 768px (Fallback ohne JS) */
@media (max-width: 768px) {
  .about-grid    { grid-template-columns: 1fr !important; gap: 32px; }
  .about-portrait { aspect-ratio: 4/5; max-height: 480px; }
  .services-grid { grid-template-columns: 1fr !important; }
  .service-card  { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .service-card:last-child { border-bottom: none !important; }
  .process-grid  { grid-template-columns: 1fr !important; }
  .step { border-right: none !important; border-bottom: 1px solid var(--border); padding: 24px 0; }
  .step:last-child { border-bottom: none; }
  .hero-actions  { flex-direction: column; align-items: flex-start; gap: 10px; }
  .btn-primary   { padding: 16px 36px; font-size: 14px; }
  .cost-card     { padding: 28px 20px; }
  section, .hero, footer { max-width: 100%; overflow-x: hidden; }
}

/* Mobile: ≤ 540px */
@media (max-width: 540px) {
  .hero { min-height: 0; padding: 48px var(--pad) 44px; }
  :root { --pad: 4%; }
  .quote-text { font-size: 16px; }

  section { padding: 56px var(--pad); }

  /* Hero */
  .hero { padding: 72px var(--pad) 52px; }

  /* Quote */
  .quote-band { flex-direction: column; gap: 8px; padding: 36px var(--pad); }
  .quote-mark-big { font-size: 60px; }

  /* Leistungen */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .service-card:last-child { border-bottom: none !important; }

  /* Ablauf */
  .process-grid { grid-template-columns: 1fr; }
  .step { border-right: none !important; border-bottom: none !important; }

  /* Honorar */
  .cost-card { padding: 28px 20px; }
  .pkv-box { flex-direction: column; gap: 10px; padding: 20px; }

  /* Portal */
  #formLogin, #formRegister { padding: 24px 20px 28px; }
  .form-row { grid-template-columns: 1fr; }
  .portal-tabs { display: none; }
  .portal-tab-select-wrap { display: none !important; }
}

/* ── HAMBURGER / RESPONSIVE NAV ── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: transparent; border: none; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #EDF6F1; border-radius: 2px; transition: all 0.25s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 199; background: rgba(14,28,28,0.97); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(58,158,130,0.15); padding: 16px 0; }
.nav-mobile.open { display: flex; flex-direction: column; }
.nav-mobile a { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(180,220,205,0.75); letter-spacing: 0.07em; text-transform: uppercase; padding: 14px 24px; transition: color 0.2s; }
.nav-mobile a:hover { color: #EDF6F1; }
.nav-mobile .nav-cta { border-top: 1px solid rgba(58,158,130,0.20); margin-top: 8px; padding: 16px 28px !important; color: #3A9E82 !important; display: block; width: fit-content; white-space: normal !important; text-align: center !important; }

@media (max-width: 1050px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { background: var(--bg); border-top: 1px solid var(--border); padding-top: 64px; padding-bottom: 64px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); background: var(--white); }
#tTrack { display: flex; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.t-page { flex-shrink: 0; width: 100%; }
.t-page-single { border: 1px solid var(--border); background: var(--white); display: flex; justify-content: center; }
.t-page-single .testimonial-card { max-width: 680px; width: 100%; border-right: none; }
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { border-right: none !important; border-bottom: 1px solid var(--border); }
  .testimonial-card:last-child { border-bottom: none; }
  .testimonial-quote { font-size: 16px; }
}
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { border-right: none !important; border-bottom: 1px solid var(--border); }
  .testimonial-card:last-child { border-bottom: none; }
  .testimonial-quote { font-size: 15px; }
}
.testimonial-card { padding: 32px 28px; border-right: 1px solid var(--border); background: var(--white); display: flex; flex-direction: column; }
.testimonial-card:last-child { border-right: none; }
.testimonial-mark { font-size: 44px; color: var(--accent); opacity: 0.25; line-height: 0.75; margin-bottom: 14px; font-weight: 700; font-family: Georgia, serif; }
.testimonial-quote { font-size: 18px; color: var(--muted); line-height: 1.85; font-weight: 400; font-style: italic; flex: 1; }
.testimonial-source { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-top: 20px; font-weight: 600; text-align: right; }
.testimonial-date { display: block; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26,34,34,0.35); font-weight: 500; margin-top: 3px; }
.testimonial-note { font-size: 10px; color: rgba(26,34,34,0.28); margin-top: 32px; line-height: 1.6; }
.t-arrow { flex-shrink: 0; background: none; border: 1px solid var(--border); width: 40px; height: 40px; font-size: 20px; line-height: 1; cursor: pointer; color: var(--dark); display: flex; align-items: center; justify-content: center; transition: border-color 0.15s, color 0.15s; }
.t-arrow:hover { border-color: var(--accent); color: var(--accent); }
.t-arrow:disabled { opacity: 0.25; cursor: default; pointer-events: none; }
.t-counter { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-align: center; margin-top: 12px; }
@media (max-width: 768px) { .t-arrow { width: 34px; height: 34px; font-size: 16px; } }

/* ── BOOKING WIZARD ──────────────────────────────────────── */
.bwiz { max-width: 620px; }
.bwiz-steps { display: flex; gap: 6px; margin-bottom: 32px; }
.bwiz-step { flex: 1; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 4px; text-align: center; border-bottom: 2px solid var(--border); color: rgba(26,34,34,0.25); transition: all .2s; }
.bwiz-step.active { color: var(--accent); border-bottom-color: var(--accent); }
.bwiz-step.done { color: var(--mid); border-bottom-color: var(--border-md); }
.bwiz-selected-bar { background: var(--accent-l); border: 1px solid var(--accent-b); padding: 10px 14px; font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 20px; }
/* Calendar */
.bwiz-cal { background: var(--white); border: 1px solid var(--border-md); padding: 20px; }
.bwiz-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bwiz-cal-nav button { background: none; border: none; font-size: 20px; color: var(--mid); cursor: pointer; padding: 0 8px; line-height: 1; transition: color .15s; }
.bwiz-cal-nav button:hover { color: var(--accent); }
.bwiz-cal-nav button:disabled { color: var(--border); cursor: default; }
.bwiz-cal-month { font-size: 14px; font-weight: 700; color: var(--dark); letter-spacing: .02em; }
.bwiz-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.bwiz-cal-hdr { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--muted); padding: 4px 0; text-transform: uppercase; }
.bwiz-cal-day { text-align: center; font-size: 13px; padding: 9px 2px; border: 1px solid transparent; transition: all .12s; position: relative; cursor: default; border-radius: 1px; }
.bwiz-cal-day.avail { cursor: pointer; color: var(--dark); }
.bwiz-cal-day.avail:hover { background: var(--accent-l); border-color: var(--accent-b); }
.bwiz-cal-day.today { border-color: var(--accent-b); background: var(--accent-l); font-weight: 700; }
.bwiz-cal-day.selected { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
.bwiz-cal-day.past, .bwiz-cal-day.weekend { opacity: .25; }
.bwiz-cal-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); margin: 2px auto 0; }
/* Slots */
.bwiz-slots { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.bwiz-slot { background: var(--white); border: 1px solid var(--border-md); padding: 13px 8px; font-size: 14px; font-weight: 700; cursor: pointer; transition: all .12s; font-family: var(--sans); color: var(--dark); text-align: center; }
.bwiz-slot:hover:not(:disabled) { border-color: var(--accent); background: var(--accent-l); }
.bwiz-slot:disabled { opacity: .38; cursor: default; background: var(--bg-alt); }
.bwiz-slot small { display: block; font-size: 10px; font-weight: 400; color: var(--accent); margin-top: 3px; }
.bwiz-slot:disabled small { color: var(--muted); }
/* Form */
.bwiz-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bwiz-field { margin-bottom: 14px; }
.bwiz-field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--mid); margin-bottom: 6px; }
.bwiz-field input, .bwiz-field select, .bwiz-field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border-md); background: var(--white); color: var(--dark); font-family: var(--sans); font-size: 13px; outline: none; transition: border-color .15s; box-sizing: border-box; }
.bwiz-field input:focus, .bwiz-field select:focus, .bwiz-field textarea:focus { border-color: var(--accent); }
.bwiz-field textarea { resize: vertical; height: 76px; }
.bwiz-field.has-error input, .bwiz-field.has-error select { border-color: #e74c3c; }
.bwiz-field-error { font-size: 11px; color: #e74c3c; margin-top: 3px; }
.bwiz-consent { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 22px; }
.bwiz-consent input[type=checkbox] { margin-top: 3px; flex-shrink: 0; accent-color: var(--accent); }
.bwiz-consent label { font-size: 12px; color: var(--muted); line-height: 1.6; cursor: pointer; }
.bwiz-consent a { color: var(--accent); }
.bwiz-consent .bwiz-field-error { display: block; }
/* Summary */
.bwiz-summary { background: var(--white); border: 1px solid var(--border-md); padding: 22px; margin-bottom: 20px; }
.bwiz-summary-row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; gap: 12px; }
.bwiz-summary-row:last-child { border-bottom: none; }
.bwiz-summary-k { color: var(--muted); font-weight: 600; flex-shrink: 0; }
.bwiz-summary-v { color: var(--dark); text-align: right; }
/* Success */
.bwiz-success { text-align: center; padding: 40px 0 20px; }
.bwiz-success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-l); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; font-size: 26px; color: var(--accent); }
/* Buttons */
.bwiz-btns { display: flex; gap: 10px; margin-top: 6px; }
.bwiz-btn-back { flex: 1; background: none; border: 1px solid var(--border); color: var(--mid); padding: 12px; font-size: 12px; font-weight: 600; cursor: pointer; font-family: var(--sans); letter-spacing: .05em; transition: border-color .15s, color .15s; }
.bwiz-btn-back:hover { border-color: var(--accent); color: var(--accent); }
.bwiz-btn-next { flex: 2; background: var(--accent); color: #fff; border: none; padding: 12px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; font-family: var(--sans); transition: opacity .2s; }
.bwiz-btn-next:hover { opacity: .84; }
.bwiz-hint { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.55; }
/* My bookings */
.my-bk-empty { font-size: 13px; color: var(--muted); padding: 14px 0; }

/* ── IMPRESSUM / DATENSCHUTZ MODAL ── */
.legal-modal { display: none; position: fixed; inset: 0; z-index: 500; background: rgba(26,34,34,0.55); backdrop-filter: blur(6px); align-items: flex-start; justify-content: center; padding: 40px 24px; overflow-y: auto; }
.legal-modal.open { display: flex; }
.legal-box { background: var(--white); width: 100%; max-width: 720px; border: 1px solid var(--border); position: relative; margin: auto; }
.legal-header { padding: 32px 40px 24px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: flex-start; }
.legal-title { font-size: 15px; font-weight: 700; color: var(--dark); text-transform: uppercase; letter-spacing: 0.08em; }
.legal-body { padding: 36px 40px 44px; font-size: 18px; color: var(--mid); line-height: 1.85; font-weight: 400; }
.legal-body h3 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 28px 0 10px; }
.legal-body h3:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 10px; }
.legal-body a { color: var(--accent); text-decoration: none; }
