/*!
Theme Name: Entspannungsklang (FSE)
Theme URI: https://entspannungsklang.de
Author: Andreas Ehret für Entspannungsklang
Author URI: https://entspannungsklang.de
Description: Block-Theme (Full-Site-Editing) für entspannungsklang.de — OnePager mit einem Angebot („Das Klangerlebnis"), Buchung per WhatsApp. Schwester-Theme zu Wildflower Circle (FSE). Designsystem: Salbei #A2B1B4 / #5C6E72 + Graugrün #575B5B auf Creme #F5F1EC, Aboreto + Inter.
Version: 1.2.0
Requires at least: 6.5
Requires PHP: 8.0
Tested up to: 7.1
License: Proprietär
Text Domain: entspannungsklang-fse
*/

/* ==================================================================
   Schriften — lokal gehostet (woff2 in /assets/fonts/), keine externen
   Requests. theme.json registriert sie ebenfalls; hier fuer den Fall,
   dass ein Block/Shortcode ausserhalb des Block-Kontexts rendert.
   ================================================================== */
@font-face { font-family: 'Aboreto'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('assets/fonts/aboreto-latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Aboreto'; font-style: normal; font-weight: 400; font-display: swap;
    src: url('assets/fonts/aboreto-latin-ext-400-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/inter-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }

/* ==================================================================
   Design-Tokens (Spiegel von theme.json — fuer Nicht-Block-Elemente)
   ================================================================== */
:root {
    --salbei:        #A2B1B4;
    --salbei-tief:   #5C6E72;
    --salbei-dunkel: #6F8286;
    --salbei-hell:   #DCE3E4;
    --graugruen:     #575B5B;
    --text:          #2B2F2F;
    --text-muted:    #6B6F6F;
    --creme:         #F5F1EC;
    --sand:          #E9E2DA;
    --rose:          #D9B8AE;
    --kupfer:        #B98A5E;
    --white:         #FFFFFF;
    --border:        #D8D2CA;
    --radius-karte:  16px;
    --radius-bild:   20px;
    --font-display:  'Aboreto', Georgia, serif;
    --font-text:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==================================================================
   Reset + Base
   ================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    font-family: var(--font-text);
    color: var(--text);
    background: var(--creme);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 16px; }
p { margin: 0 0 16px; }
a { color: var(--salbei-tief); text-decoration: none; transition: color 200ms ease; }
a:hover { color: var(--graugruen); }
.wp-block-list { padding-left: 1.2em; }
:focus-visible { outline: 2px solid var(--salbei-tief); outline-offset: 3px; }

@media (max-width: 768px) {
    body { font-size: 16px; }
    h1.wp-block-heading, .wp-block-heading h1, h1 { font-size: 34px !important; }
    h2.wp-block-heading, h2 { font-size: 27px !important; }
    h3 { font-size: 20px !important; }
}

/* Kleine Kapitelzeile ueber Ueberschriften */
.eyebrow {
    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--salbei-tief);
    margin-bottom: 12px;
}
.eyebrow-hell { color: var(--salbei-hell); }
.section-lead { max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 48px; }

/* ==================================================================
   Buttons (Shortcode [ek_buchen] + Links mit .ek-btn)
   ================================================================== */
.ek-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: var(--font-text);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.03em;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: background 250ms ease, color 250ms ease, transform 250ms ease, border-color 250ms ease;
    white-space: nowrap;
}
.ek-btn .ek-icon { flex: 0 0 auto; }
.ek-btn-primary { background: var(--salbei-tief); color: var(--white); border-color: var(--salbei-tief); }
.ek-btn-primary:hover { background: var(--salbei-dunkel); border-color: var(--salbei-dunkel); color: var(--white); transform: translateY(-1px); }
.ek-btn-outline { background: transparent; color: var(--salbei-tief); border-color: var(--salbei-tief); }
.ek-btn-outline:hover { background: rgba(162, 177, 180, 0.22); color: var(--graugruen); }
/* Button-Bloecke (core/button) — das sind die Buttons, die Bella im Editor pflegt.
   Grundfarben/Radius kommen aus theme.json; hier Symbol, Outline-Stil, Hover. */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; line-height: 1.2; white-space: nowrap; transition: background 250ms ease, color 250ms ease, transform 250ms ease, border-color 250ms ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.wp-block-button__link .ek-icon { flex: 0 0 auto; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--salbei-tief); border: 1px solid var(--salbei-tief); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: rgba(162, 177, 180, 0.22); color: var(--graugruen); }
.wp-block-buttons { gap: 14px; }

/* Kontaktzeile (Shortcode [ek_kontaktzeile]) */
.ek-kontaktzeile { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; margin: 0 0 8px; }
.ek-kontaktzeile a { display: inline-flex; align-items: center; gap: 8px; }
.footer .ek-kontaktzeile { justify-content: flex-start; flex-direction: column; gap: 6px; align-items: flex-start; }
/* Editor-Hinweis: Startseiten-Sektionen liegen in der Seite — kein Titel ueber dem OnePager */
.onepager .wp-block-post-content > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }

/* ==================================================================
   Kopfzeile
   ================================================================== */
.topnav {
    background: rgba(245, 241, 236, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(216, 210, 202, 0.6);
}
.topnav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.topnav-brand { display: flex; align-items: center; gap: 14px; }
.topnav-logo { margin: 0; }
.topnav-logo img { width: 56px; height: 56px; display: block; }
.topnav-wortmarke { margin: 0; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; }
.topnav-wortmarke a { color: var(--graugruen); }
.topnav-wortmarke a:hover { color: var(--salbei-tief); }
.topnav-right { display: flex; align-items: center; gap: 28px; }
.topnav-links { font-size: 14px; }
.topnav-links a { color: var(--text); font-weight: 500; letter-spacing: 0.02em; }
.topnav-links a:hover { color: var(--salbei-tief); }
.topnav .wp-block-navigation .wp-block-navigation-item__content { padding: 4px 0; }
.topnav-cta { margin: 0; }
.topnav-cta .wp-block-button__link { padding: 10px 22px; font-size: 14px; }
@media (max-width: 782px) {
    .topnav-logo img { width: 42px; height: 42px; }
    .topnav-brand { gap: 10px; }
    .topnav-wortmarke { font-size: 14px; }
    .topnav-right { gap: 12px; }
    .topnav-cta .ek-btn-text { display: none; }   /* nur das WhatsApp-Symbol */
    .topnav-cta .wp-block-button__link { padding: 10px 12px; }
}
/* Mobile Overlay-Menue (core/navigation) im Theme-Look */
.wp-block-navigation__responsive-container.is-menu-open { background: var(--creme); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; }
.wp-block-navigation__responsive-container.is-menu-open a { font-size: 20px; font-family: var(--font-display); letter-spacing: 0.06em; }

/* ==================================================================
   Sektionen + Fade-In
   ================================================================== */
.section { padding: 112px 24px; }
.section-creme  { background: var(--creme); }
.section-sand   { background: var(--sand); }
.section-salbei { background: var(--salbei-tief); color: var(--white); }
.section-salbei h2, .section-salbei h3, .section-salbei a { color: var(--white); }
.section-salbei a:hover { color: var(--salbei-hell); }
.section-salbei .ek-btn-primary, .section-salbei .wp-block-button__link { background: var(--white); color: var(--salbei-tief); border-color: var(--white); }
.section-salbei .ek-btn-primary:hover, .section-salbei .wp-block-button__link:hover { background: var(--salbei-hell); border-color: var(--salbei-hell); color: var(--salbei-tief); }
.section-salbei .buchen-adresse { color: var(--salbei-hell); margin-top: 24px; }
@media (max-width: 768px) { .section { padding: 72px 20px; } }

.section, .outro {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.section.ek-in-view, .outro.ek-in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .section, .outro { opacity: 1; transform: none; transition: none; }
}
/* Kein Block-Abstand zwischen den Vollbreiten-Sektionen des OnePagers */
.onepager > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.wp-site-blocks > main, .wp-site-blocks > footer, .wp-site-blocks > header { margin-block-start: 0 !important; }

/* ==================================================================
   Hero
   ================================================================== */
.hero { padding: 72px 24px 96px; }
.hero-columns { gap: 56px; }
.hero h1 { font-size: 48px; margin-bottom: 20px; }
.hero-subtitle { color: var(--text-muted); font-weight: 300; margin-bottom: 32px; max-width: 520px; }
.hero-buttons { margin-bottom: 20px; }
.hero-facts { letter-spacing: 0.04em; }
.hero-bild img { border-radius: var(--radius-bild); box-shadow: 0 24px 48px -28px rgba(87, 91, 91, 0.45); }
@media (max-width: 768px) {
    .hero { padding: 40px 20px 64px; }
    .hero-columns { gap: 28px; }
    .hero-bild img { border-radius: 14px; }
}

/* ==================================================================
   Klangerlebnis — Karte „Auf einen Blick"
   ================================================================== */
.klangerlebnis-columns { gap: 48px; margin-top: 8px; }
.klangerlebnis-bild img { border-radius: var(--radius-bild); margin-top: 24px; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 60%; }
.karte {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-karte);
    padding: 36px 32px;
    position: sticky;
    top: 96px;
}
.karte-titel { margin-bottom: 4px; }
.karte-preis { font-size: 40px; color: var(--salbei-tief); letter-spacing: 0.04em; margin: 0 0 20px; }
.karte-fakten { padding: 0; margin: 0 0 28px; list-style: none; }
.karte-fakten li {
    padding: 10px 0 10px 28px;
    border-top: 1px solid var(--border);
    position: relative;
    font-size: 15px;
}
.karte-fakten li:last-child { border-bottom: 1px solid var(--border); }
.karte-fakten li::before {
    content: '';
    position: absolute; left: 4px; top: 19px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--rose);
}
.karte .wp-block-buttons { margin-bottom: 4px; }
.karte-hinweis { margin: 14px 0 0; }
@media (max-width: 768px) {
    .klangerlebnis-columns { gap: 24px; }
    .karte { position: static; padding: 28px 22px; }
}

/* ==================================================================
   Ablauf — drei Kacheln
   ================================================================== */
.ablauf-columns { gap: 56px; margin-bottom: 64px; }
.ablauf-bild img { border-radius: var(--radius-bild); }
.ablauf-tipps-titel { margin-bottom: 32px; }
.kacheln { gap: 24px; }
.kachel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-karte);
    padding: 28px 26px;
    height: 100%;
    transition: border-color 250ms ease;
}
.kachel:hover { border-color: var(--salbei); }
.kachel-nr { font-size: 28px; color: var(--salbei); margin: 0 0 8px; }
.kachel h4 { margin-bottom: 8px; }
.kachel p:last-child { margin-bottom: 0; font-size: 15px; }
@media (max-width: 768px) { .ablauf-columns { gap: 24px; margin-bottom: 40px; } }

/* ==================================================================
   Über mich
   ================================================================== */
.ueber-mich-columns { gap: 56px; }
.ueber-mich-bild img { border-radius: 50%; max-width: 380px; margin: 0 auto; }
.signatur { font-size: 26px; color: var(--salbei-tief); letter-spacing: 0.08em; margin-top: 8px; }
@media (max-width: 768px) { .ueber-mich-columns { gap: 24px; } .ueber-mich-bild { max-width: 260px; margin: 0 auto; } }

/* ==================================================================
   FAQ (native <details>)
   ================================================================== */
.faq-liste { margin-top: 32px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0 24px;
    margin-bottom: 12px;
    transition: border-color 250ms ease;
}
.faq-item:hover, .faq-item[open] { border-color: var(--salbei); }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 36px 18px 0;
    font-weight: 500;
    font-size: 17px;
    color: var(--graugruen);
    position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 24px; font-weight: 300;
    color: var(--salbei-tief);
    transition: transform 250ms ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding-bottom: 18px; margin: 0; color: var(--text); }

/* ==================================================================
   Buchen / Kontakt (dunkle Salbei-Sektion)
   ================================================================== */
.buchen-section .section-lead { color: var(--salbei-hell); }
.buchen-cta { margin: 32px 0 28px; }
.buchen-cta .wp-block-shortcode { margin: 0; }
.buchen-section .ek-kontaktzeile a { color: var(--white); }

/* ==================================================================
   Outro (Cover)
   ================================================================== */
.outro { display: flex; align-items: center; }
.outro-logo { margin: 0 auto 20px; }
.outro-logo img { width: 150px; height: auto; opacity: 0.95; }
.outro-satz { max-width: 760px; margin: 0 auto; line-height: 1.4; letter-spacing: 0.03em; text-shadow: 0 2px 18px rgba(43, 47, 47, 0.55); }
/* Cover-Block: Textfarbe wird sonst von einer !important-Regel ueberstimmt -> hier festnageln. */
.wp-block-cover .outro-satz { color: var(--white) !important; }
@media (max-width: 768px) { .outro-satz { font-size: 22px !important; } }

/* ==================================================================
   Fußzeile
   ================================================================== */
.footer { background: var(--graugruen); color: rgba(255, 255, 255, 0.85); padding: 64px 24px 28px; }
.footer .container { max-width: 1140px; margin: 0 auto; }
.footer .grid { display: grid; grid-template-columns: 1.3fr 1fr 0.8fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--white); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { color: rgba(255, 255, 255, 0.85); }
.footer a:hover { color: var(--white); }
.footer .wp-block-list { list-style: none; padding: 0; margin: 0; }
.footer .wp-block-list li { margin-bottom: 8px; }
.footer-logo { margin: 0 0 12px; }
.footer-logo img { width: 140px; height: auto; }
.footer-tagline, .footer-adresse { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 22px; font-size: 13px; color: rgba(255, 255, 255, 0.6); }
.footer-bottom p { margin: 0; }
@media (max-width: 768px) { .footer .grid { grid-template-columns: 1fr; gap: 28px; } }

/* ==================================================================
   Unterseiten (Impressum / Datenschutz / AGB) — inkl. Divi-Fallback
   ================================================================== */
.unterseite h1 { font-size: 40px; margin-bottom: 32px; }
.unterseite h2 { font-size: 26px; margin-top: 40px; }
.unterseite h3, .unterseite h4 { margin-top: 28px; }
.unterseite .wp-block-post-content > p:first-child { margin-top: 0; }
.unterseite ul { padding-left: 1.2em; }

/* ==================================================================
   Editor-Feinheiten (add_editor_style): Sektionen im Editor sichtbar
   ================================================================== */
.editor-styles-wrapper .section, .editor-styles-wrapper .outro { opacity: 1; transform: none; }
.editor-styles-wrapper .topnav { position: static; }
