/*
Theme Name: Phoenix Therapy
Theme URI: https://toelsner.at
Author: Toelsner Digital
Author URI: https://toelsner.at
Description: Custom Theme für Phoenix Therapy – Charlotte Schlenker, Purkersdorf
Version: 4.4.2
License: GNU General Public License v2 or later
Text Domain: phoenix-therapy
*/

/* =============================================
   VARIABLES
   ============================================= */
:root {
  --dark:      #1a1a1a;
  --dark-2:    #242424;
  --dark-3:    #2e2e2e;
  --coral:     #ED8974;
  --coral-l:   #f0957f;
  --gold:      #C9A84C;
  --gold-l:    #dfc070;
  --white:     #ffffff;
  --off-white: #f5f0ea;
  --muted:     #aaaaaa;
  --border:    rgba(255,255,255,0.08);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-w:     1200px;
  --radius:    12px;
  --transition: 0.3s ease;
}

/* =============================================
   VACATION BANNER
   ============================================= */
.vacation-banner {
  background: var(--coral);
  color: #fff;
  text-align: center;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

/* =============================================
   EMOJI-SYMBOLE AUS  (Customizer: „Emoji-Symbole anzeigen")
   Blendet nur die dekorativen Symbole aus, alle Texte
   bleiben. Die Häkchen der Trust-Leiste und der
   Abrechnungs-Punkte bleiben ebenfalls erhalten.
   ============================================= */
body.emoji-aus .leistung-icon,
body.emoji-aus .service-icon,
body.emoji-aus .ablauf-icon,
body.emoji-aus .abrechnung-check--emoji,
body.emoji-aus .contact-card-icon,
body.emoji-aus .meta-icon {
    display: none;
}
/* Ohne Symbol rückt die Ablauf-Nummer aus der Ecke in die Mitte */
body.emoji-aus .ablauf-nummer {
    position: static;
    display: block;
    font-size: 1.6rem;
    opacity: 1;
    margin-bottom: 12px;
}
/* Karten ohne Symbol brauchen oben etwas weniger Luft */
body.emoji-aus .leistung-card { padding-top: 32px; }
body.emoji-aus .service-card  { padding-top: 30px; }

/* =============================================
   COOKIE-BANNER (nur wenn Analytics aktiv ist)
   Beide Knöpfe bewusst gleich auffällig – eine
   hervorgehobene Zustimmung gilt als unzulässige
   Beeinflussung der Entscheidung.
   ============================================= */
#cookie-banner {
    display: none;                 /* wird per JS auf flex gesetzt */
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 28px rgba(0,0,0,0.4);
    padding: 18px 24px;
    align-items: center;
    justify-content: center;
    gap: 16px 32px;
    flex-wrap: wrap;
}
#cookie-banner p {
    margin: 0;
    color: rgba(255,255,255,0.82);
    font-size: 0.88rem;
    max-width: 62ch;
}
#cookie-banner a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__aktionen { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner__aktionen button {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.45);
    border-radius: 8px;
    padding: 11px 26px;
    min-width: 132px;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}
.cookie-banner__aktionen button:hover { border-color: var(--coral); background: rgba(237,137,116,0.12); }
.cookie-banner__aktionen button:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }
@media (max-width: 600px) {
    #cookie-banner { padding: 16px; gap: 14px; }
    .cookie-banner__aktionen { width: 100%; }
    .cookie-banner__aktionen button { flex: 1; min-width: 0; padding: 12px 10px; }
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--dark); color: var(--white); font-family: var(--font-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral-l); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }
p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }
ul { list-style: none; }

/* =============================================
   ACCESSIBILITY
   ============================================= */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--coral);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus {
    top: 16px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Honeypot field */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* =============================================
   LAYOUT
   ============================================= */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--alt { background: var(--dark-2); border-top: 1px solid var(--border); }

.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral); margin-bottom: 16px; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.section-intro { font-size: 1.125rem; color: var(--muted); max-width: 600px; margin-bottom: 56px; }
.section-cta { text-align: center; margin-top: 48px; }
.placeholder-hint { color: var(--muted); text-align: center; padding: 40px 0; }

/* =============================================
   BUTTONS
   ============================================= */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; cursor: pointer; border: none; transition: all var(--transition); text-decoration: none; }
.btn--primary { background: var(--coral); color: var(--white); }
.btn--primary:hover { background: var(--coral-l); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,115,90,0.35); }
.btn--outline { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.25); }
.btn--outline:hover { border-color: var(--coral); color: var(--coral); transform: translateY(-2px); }
.btn--large { padding: 18px 40px; font-size: 1.05rem; }
.btn--gold { background: var(--gold); color: var(--dark); }
.btn--gold:hover { background: var(--gold-l); color: var(--dark); transform: translateY(-2px); }

/* =============================================
   HEADER
   ============================================= */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; transition: background var(--transition), padding var(--transition); }
.site-header.scrolled { background: rgba(26,26,26,0.95); backdrop-filter: blur(12px); padding: 14px 0; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.25rem; color: var(--white); text-decoration: none; }
.site-logo:hover { color: var(--white); }
.logo-icon { width: 38px; height: 38px; }
.logo-sub { display: block; font-family: var(--font-body); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.current { color: var(--white); }
.nav-cta { background: var(--coral); color: var(--white) !important; padding: 10px 22px; border-radius: 8px; font-weight: 600 !important; }
.nav-cta:hover { background: var(--coral-l); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all var(--transition); border-radius: 2px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* Logo und Schließen-Kreuz müssen über dem Menü-Overlay liegen,
   sonst ist das offene Menü nicht mehr schließbar. */
body.nav-open .site-logo, body.nav-open .nav-toggle { position: relative; z-index: 101; }
body.nav-open { overflow: hidden; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: var(--dark-2); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.85rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: var(--muted); transition: color var(--transition); }
.footer-legal a:hover { color: var(--coral); }

/* =============================================
   HERO BANNER (Startseite)
   Desktop: Foto vollflächig, Text darüber links.
   Mobil:   Foto als Band oben, Text darunter.
   ============================================= */
.hero-banner { position: relative; background: var(--dark); }
.hero-banner__media { position: absolute; inset: 0; overflow: hidden; }
.hero-banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; display: block; }
.hero-banner__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(18,18,18,0.95) 0%, rgba(18,18,18,0.88) 24%, rgba(18,18,18,0.55) 48%, rgba(18,18,18,0.20) 70%, rgba(18,18,18,0.34) 100%),
        linear-gradient(to bottom, rgba(18,18,18,0.72) 0%, rgba(18,18,18,0) 24%, rgba(18,18,18,0) 58%, var(--dark) 100%);
}
.hero-banner__inner { position: relative; z-index: 1; display: flex; align-items: flex-end; min-height: clamp(560px, 78vh, 740px); padding: 150px 0 72px; }
.hero-banner .hero-content { max-width: 620px; }
.hero-banner .hero-title, .hero-banner .hero-text { text-shadow: 0 2px 18px rgba(0,0,0,0.5); }
.hero-banner .hero-text { color: rgba(255,255,255,0.86); max-width: 530px; }
.hero-banner--plain .hero-banner__inner { min-height: 62vh; padding: 150px 0 64px; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(232,115,90,0.16); border: 1px solid rgba(232,115,90,0.35); border-radius: 100px; font-size: 0.8rem; font-weight: 500; color: var(--coral); margin-bottom: 28px; backdrop-filter: blur(4px); }
.hero-badge::before { content: ''; width: 6px; height: 6px; background: var(--coral); border-radius: 50%; }
.hero-title { font-size: clamp(2.3rem, 5vw, 4rem); margin-bottom: 24px; line-height: 1.15; text-wrap: balance; }
.hero-title em { font-style: italic; color: var(--coral); }
.hero-text { font-size: 1.125rem; color: var(--muted); margin-bottom: 40px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image-placeholder { width: 100%; aspect-ratio: 3/4; border-radius: 20px; background: var(--dark-3); border: 2px dashed var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 0.9rem; }

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar { padding: 32px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-items { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.trust-icon { color: var(--gold); font-size: 1.2rem; }

/* =============================================
   STATS
   ============================================= */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-item { background: var(--dark-2); padding: 40px 32px; text-align: center; }
.stat-number { font-family: var(--font-head); font-size: 3rem; color: var(--coral); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 0.85rem; color: var(--muted); font-weight: 500; }

/* =============================================
   LEISTUNGEN
   ============================================= */
.leistungen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.leistung-card { background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; transition: all var(--transition); display: flex; flex-direction: column; }
.leistung-card:hover { border-color: rgba(232,115,90,0.35); transform: translateY(-6px); }
.leistung-icon { width: 60px; height: 60px; border-radius: 14px; background: rgba(232,115,90,0.1); border: 1px solid rgba(232,115,90,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 28px; }
.leistung-title { font-size: 1.3rem; margin-bottom: 14px; }
.leistung-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; flex: 1; }
.leistung-meta { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; gap: 16px; font-size: 0.82rem; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; }
.leistung-dauer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--gold); font-weight: 600; letter-spacing: 0.05em; }

/* =============================================
   TESTIMONIALS / BEWERTUNGEN
   ============================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.testimonial-stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 20px; }
.testimonial-text { font-size: 0.95rem; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.testimonial-author span { margin-left: 8px; font-weight: 400; }

/* =============================================
   ABOUT / ÜBER MICH
   ============================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image img, .about-image-placeholder { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px; }
.about-image-placeholder { background: var(--dark-3); border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 0.9rem; }

/* =============================================
   CTA SECTION
   ============================================= */
.section--cta { background: var(--dark-2); border-top: 1px solid var(--border); text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-titel { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 16px; }
.cta-text { font-size: 1.1rem; color: var(--muted); margin-bottom: 32px; }

/* =============================================
   CHARLOTTE IN ACTION
   ============================================= */
.section--action { background: var(--dark-2); border-top: 1px solid var(--border); }
.action-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: center; }
.action-text-col { display: flex; flex-direction: column; gap: 16px; }
.action-text-col .btn { align-self: flex-start; margin-top: 8px; }

.action-mosaic { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; height: 560px; }
.mosaic-main { overflow: hidden; border-radius: 4px; height: 100%; }
.mosaic-side { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.mosaic-side-top, .mosaic-side-bottom { flex: 1; overflow: hidden; border-radius: 4px; }
.mosaic-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.mosaic-main:hover .mosaic-img,
.mosaic-side-top:hover .mosaic-img,
.mosaic-side-bottom:hover .mosaic-img { transform: scale(1.03); }

.mosaic-placeholder { width: 100%; height: 100%; background: var(--dark-3); border: 2px dashed var(--border); border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 0.75rem; text-align: center; padding: 12px; }
.mosaic-placeholder span { font-size: 1.8rem; }

/* =============================================
   PRAXIS GALERIE
   ============================================= */
.praxis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 32px; }
.praxis-foto { overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; }
.praxis-foto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.praxis-foto:hover img { transform: scale(1.04); }

.placeholder-box { background: var(--dark-3); border: 2px dashed var(--border); border-radius: 6px; padding: 48px; text-align: center; color: var(--muted); margin-top: 32px; }
.placeholder-box p:nth-child(2) { color: var(--white); font-weight: 600; margin-bottom: 4px; }
.placeholder-box p:first-child { font-size: 1.8rem; margin-bottom: 8px; }

/* =============================================
   ABLAUF & KOSTEN
   ============================================= */
.ablauf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.ablauf-step { background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; text-align: center; position: relative; }
.ablauf-nummer { position: absolute; top: 16px; left: 20px; font-size: 0.75rem; font-weight: 700; color: var(--coral); opacity: 0.6; }
.ablauf-icon { font-size: 2rem; margin-bottom: 16px; }
.ablauf-titel { font-size: 1.1rem; margin-bottom: 10px; }
.ablauf-text { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* =============================================
   ABRECHNUNG
   ============================================= */
.abrechnung-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.abrechnung-content { display: flex; flex-direction: column; }
.abrechnung-punkte { display: flex; flex-direction: column; gap: 14px; }
.abrechnung-punkt { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; color: rgba(255,255,255,0.8); }
.abrechnung-check { color: var(--coral); font-weight: 700; flex-shrink: 0; }
.abrechnung-box { background: var(--dark-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }

/* =============================================
   SERVICES / PHILOSOPHY CARDS
   ============================================= */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; text-align: center; transition: border-color var(--transition); }
.service-card:hover { border-color: rgba(232,115,90,0.3); }
.service-icon { font-size: 2.2rem; margin-bottom: 20px; }
.service-title { font-size: 1.15rem; margin-bottom: 12px; }
.service-text { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* =============================================
   ENTRY CONTENT (Generic Pages)
   ============================================= */
.entry-content { max-width: 720px; margin: 0 auto; padding: 0 24px; font-size: 1rem; line-height: 1.8; color: rgba(255,255,255,0.85); }
.entry-content h1, .entry-content h2, .entry-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--coral-l); }
.entry-content blockquote { border-left: 3px solid var(--coral); padding-left: 20px; margin: 1.5rem 0; font-style: italic; color: var(--muted); }

/* =============================================
   SUB-PAGES
   ============================================= */
.leistungen-hero { padding: 160px 0 80px; text-align: center; }
.page-hero { padding: 140px 0 60px; position: relative; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 100%; background: radial-gradient(ellipse at 70% 0%, rgba(232,115,90,0.06) 0%, transparent 60%); pointer-events: none; }

.ueber-hero { padding: 160px 0 80px; }
.ueber-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.ueber-image img, .ueber-image-placeholder { width: 100%; border-radius: 20px; aspect-ratio: 3/4; object-fit: cover; position: sticky; top: 100px; }
.ueber-image-placeholder { background: var(--dark-3); border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.9rem; }
.ueber-content h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 12px; }
.ueber-role { font-size: 1rem; color: var(--coral); font-weight: 500; margin-bottom: 32px; letter-spacing: 0.05em; }
.ueber-text { color: rgba(255,255,255,0.8); margin-bottom: 48px; }
.qualifikationen h3 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.quali-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.quali-list li::before { content: '✓'; color: var(--coral); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

.zertifikat-badge { margin-top: 32px; padding: 24px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--radius); display: inline-flex; align-items: center; gap: 16px; }
.zertifikat-img { height: 60px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; }

/* =============================================
   KONTAKT
   ============================================= */
.kontakt-hero { padding: 160px 0 80px; text-align: center; }
.kontakt-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.7); letter-spacing: 0.04em; }
/* min-width:0 ist entscheidend: Eingabefelder haben sonst eine intrinsische
   Mindestbreite, die Grid-Spalten über den Seitenrand hinausschiebt. */
.form-group input, .form-group textarea, .form-group select { background: var(--dark-3); border: 1px solid var(--border); border-radius: 8px; color: var(--white); font-family: var(--font-body); font-size: 0.95rem; padding: 14px 16px; transition: border-color var(--transition); width: 100%; min-width: 0; outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--coral); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--dark-2); }
/* Zwei Felder nebeneinander. minmax(0,1fr) ist nötig, weil Eingabefelder
   eine Mindestbreite haben und 1fr die Spalte sonst über den Rand schiebt. */
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.form-group--checkbox { flex-direction: row; align-items: flex-start; gap: 0; }
.form-group--checkbox label { display: flex; align-items: flex-start; gap: 10px; font-size: 0.82rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.form-group--checkbox input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; accent-color: var(--coral); width: 16px; height: 16px; }
.form-group--checkbox a { color: var(--coral); text-decoration: underline; text-underline-offset: 2px; }
.form-submit .btn { width: 100%; justify-content: center; }

.form-message { border-radius: var(--radius); padding: 20px 24px; margin-bottom: 28px; }
.form-message--success { background: rgba(232,115,90,0.1); border: 1px solid rgba(232,115,90,0.3); }
.form-message--error { background: rgba(220,50,50,0.1); border: 1px solid rgba(220,50,50,0.3); }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card { background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.contact-card-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(232,115,90,0.1); border: 1px solid rgba(232,115,90,0.2); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-card-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-card-value { font-size: 0.95rem; color: var(--white); font-weight: 500; }
.contact-card-value a { color: var(--white); transition: color var(--transition); }
.contact-card-value a:hover { color: var(--coral); }

.karten-block { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.karten-block__route { padding: 12px; background: var(--dark-3); }
.karten-block__route .btn { width: 100%; justify-content: center; }
.maps-consent { background: var(--dark-3); border-bottom: 1px solid var(--border); padding: 32px; text-align: center; color: var(--muted); }
.maps-consent p { margin-bottom: 12px; }
.maps-consent__symbol { font-size: 1.5rem; margin-bottom: 8px; }
.maps-consent__hinweis { font-size: 0.8rem; margin-bottom: 16px; }
.maps-consent .btn { font-size: 0.85rem; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 8px; height: 220px; background: var(--dark-3); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.85rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .about-grid, .ueber-grid, .kontakt-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
    .ueber-grid { display: flex; flex-direction: column; }
    .ueber-image { max-width: 320px; }
    .ueber-image img { position: static; aspect-ratio: 1/1; border-radius: 50%; object-position: top center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-banner__inner { min-height: clamp(480px, 68vh, 600px); padding: 130px 0 60px; }
    .hero-banner .hero-content { max-width: 540px; }
}

/* Navigation braucht ca. 875px – davor auf Burger-Menü umschalten,
   sonst kollidiert sie mit dem Logo. */
@media (max-width: 940px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    body.nav-open .nav-links {
        display: flex; flex-direction: column; position: fixed; inset: 0;
        background: var(--dark); align-items: center; justify-content: center;
        gap: 32px; z-index: 99; font-size: 1.25rem;
    }
}

@media (max-width: 900px) {
    /* Banner wird zum Bildband oben, Text rutscht darunter */
    .hero-banner { padding-top: 86px; }
    .hero-banner__media { position: relative; inset: auto; }
    .hero-banner__media img { height: auto; aspect-ratio: 16/10; object-position: 43% center; }
    .hero-banner__media::after {
        background: linear-gradient(to bottom, rgba(18,18,18,0.28) 0%, rgba(18,18,18,0) 34%, rgba(18,18,18,0) 56%, var(--dark) 100%);
    }
    .hero-banner__inner { display: block; min-height: 0; padding: 30px 0 56px; }
    .hero-banner .hero-content { max-width: none; }
    .hero-banner .hero-title, .hero-banner .hero-text { text-shadow: none; }
    .hero-banner .hero-text { color: var(--muted); max-width: none; }

    .action-inner { grid-template-columns: 1fr; gap: 36px; }
    .action-mosaic { height: 360px; }
    .praxis-grid { grid-template-columns: 1fr 1fr; }
    .praxis-grid .praxis-foto:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .about-grid { grid-template-columns: 1fr; }
    .kontakt-grid { grid-template-columns: minmax(0, 1fr); }
    .trust-items { gap: 24px; }
    .abrechnung-layout { grid-template-columns: 1fr; gap: 40px; }
    .ablauf-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero-banner__media img { aspect-ratio: 5/4; }
    .hero-actions { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .action-mosaic { grid-template-columns: 1fr; height: auto; }
    .mosaic-main { height: 280px; }
    .mosaic-side { flex-direction: row; height: 160px; }
    .praxis-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .leistungen-grid { grid-template-columns: 1fr; }
    .ablauf-grid { grid-template-columns: 1fr; }
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .mosaic-img { transition: none !important; }
    .leistung-card:hover, .testimonial-card:hover, .btn:hover { transform: none !important; }
}
