/* ==========================================================================
   Sabine Schäfer | Heilpraktikerin – Stylesheet
   Flat, responsive, mobile-first. Alle Farben/Fonts zentral in :root.
   ========================================================================== */

/* --- Self-hosted Fonts (DSGVO-konform, kein externer CDN-Request) --- */
/* Dosis ist Variable Font: eine Datei für alle Gewichte. */
@font-face {
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('../fonts/dosis-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 300 600;
    font-display: swap;
    src: url('../fonts/dosis-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/pt-sans-400-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/pt-sans-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/pt-sans-700-latin.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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'PT Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/pt-sans-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --color-primary: #ffda66;        /* Header/Footer */
    --color-primary-soft: #ffe08a;
    --color-accent: #706300;         /* Überschriften, Akzente */
    --color-accent-hover: #a19456;
    --color-text: #3b3b3b;
    --color-muted: #6b6b6b;
    --color-bg: #ffffff;
    --color-bg-soft: #faf7ec;
    --color-border: #e7e2cc;

    --font-heading: 'Dosis', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;

    --container: 1100px;
    --radius: 6px;
    --transition: 0.2s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover, a:focus { color: var(--color-accent-hover); text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0 0 0.5em;
    line-height: 1.25;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Header ---------- */
.site-header {
    background: var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    max-width: var(--container);
    margin: 0 auto;
    gap: 1rem;
}
.site-logo {
    font-size: 1.4rem;
    color: var(--color-accent);
    font-weight: 400;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.site-logo a { color: inherit; }
.site-logo a:hover { text-decoration: none; }

/* ---------- Navigation ---------- */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 0.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-accent);
    margin: 5px auto;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.6rem;
    align-items: center;
}
.main-nav a {
    color: var(--color-accent);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    padding: 0.25rem 0;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
    text-decoration: none;
    border-bottom-color: var(--color-accent);
}
.main-nav a[aria-current="page"] {
    border-bottom-color: var(--color-accent);
}

/* Dropdown submenu */
.main-nav .has-submenu { position: relative; }
.main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: var(--color-primary);
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}
.main-nav .has-submenu:hover > .submenu,
.main-nav .has-submenu:focus-within > .submenu,
.main-nav .has-submenu.open > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav .submenu li { width: 100%; }
.main-nav .submenu a {
    display: block;
    padding: 0.5rem 1rem;
    border-bottom: 0;
    text-transform: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}
.main-nav .submenu a:hover { background: var(--color-primary-soft); }

.submenu-toggle {
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.25rem 0;
    color: var(--color-accent);
    border-bottom: 2px solid transparent;
}
.submenu-toggle.is-active { border-bottom-color: var(--color-accent); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #888 center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 4rem 1.25rem;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}
.hero h1 {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    margin: 0;
    font-weight: 300;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.hero p {
    color: #fff;
    margin-top: 0.5rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

/* Per-Seite Hero-Bilder */
.hero--start     { background-image: url('../images/hero-start.jpg'); }
.hero--therapien { background-image: url('../images/hero-therapien.jpg'); }
.hero--seminare  { background-image: url('../images/hero-seminare.jpg'); }
.hero--workshops { background-image: url('../images/hero-workshops.jpg'); }
.hero--preise    { background-image: url('../images/hero-preise.jpg'); }
.hero--kontakt   { background-image: url('../images/hero-workshops.jpg'); }
.hero--impressum { background-image: url('../images/hero-impressum.jpg'); }
.hero--datenschutz { background-image: url('../images/hero-datenschutz.jpg'); }

/* ---------- Main / Sections ---------- */
main { display: block; }

.section {
    padding: 3.5rem 0;
}
.section--soft { background: var(--color-bg-soft); }
.section--intro { padding: 5.5rem 0 6rem; }
.section--intro .section-title { margin-bottom: 3.5rem; }
@media (min-width: 720px) {
    .section--intro { padding: 7rem 0 7.5rem; }
}

.section-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
}
.section-title::after {
    content: "";
    display: block;
    width: 180px;
    max-width: 60%;
    height: 2px;
    background: var(--color-accent);
    margin: 1rem auto 0;
}
.section-lead {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

/* Intro-Block auf Startseite */
.intro {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    align-items: center;
    justify-content: center;
    max-width: 1080px;
    margin: 0 auto;
}
.intro__image {
    max-width: 520px;
    width: 100%;
    flex-shrink: 0;
}
.intro__image img {
    width: 100%;
    height: auto;
    display: block;
}
.intro__text {
    text-align: center;
    max-width: 480px;
}
.intro__text p { margin-bottom: 1.4em; }

@media (min-width: 720px) {
    .intro {
        flex-direction: row;
        align-items: center;
        gap: 4.5rem;
    }
    .intro__text { text-align: left; }
}

/* ---------- Cards (Therapien-Übersicht) ---------- */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}
.card h3 { margin-top: 0; }
.card p { flex: 1; }
.card a.button {
    margin-top: 1rem;
    align-self: flex-start;
}

/* ---------- Preisliste ---------- */
.price-list {
    max-width: 700px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}
.price-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}
.price-list li:last-child { border-bottom: 0; }
.price-list .price-title {
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    display: block;
}
.price-list .price-meta { color: var(--color-muted); font-size: 0.95rem; }

/* ---------- Angebotsblöcke (Seminare/Workshops) ---------- */
.offer {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-border);
}
.offer:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.offer h3 { margin-bottom: 0.5rem; }
.offer__meta {
    color: var(--color-accent);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* ---------- Kontakt-Seite ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }

.contact-info h3 { margin-top: 0; }
.contact-info address {
    font-style: normal;
    margin-bottom: 1.5rem;
}

.form-row { margin-bottom: 1rem; }
.form-row label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    color: var(--color-muted);
}
.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.75rem;
    font: inherit;
    color: inherit;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(112, 99, 0, 0.15);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row--checkbox {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--color-muted);
}
.form-row--checkbox input {
    width: auto;
    margin-top: 0.3rem;
    flex-shrink: 0;
}
.honeypot {
    position: absolute !important;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.button {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border: 0;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.button:hover,
.button:focus {
    background: var(--color-accent-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.button--ghost {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}
.button--ghost:hover { background: var(--color-accent); color: #fff; }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}
.alert--success { background: #e8f0d9; color: #3c5a13; border: 1px solid #bfd396; }
.alert--error   { background: #f7dada; color: #7a1d1d; border: 1px solid #e2a3a3; }

.transport {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}
.transport h4 { color: var(--color-accent); margin-bottom: 0.25rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-primary);
    color: var(--color-accent);
    padding: 2.5rem 1.25rem 1.25rem;
    margin-top: 3rem;
}
.site-footer a { color: var(--color-accent); }
.site-footer a:hover,
.site-footer a:focus { color: var(--color-accent-hover); }
.site-footer address {
    font-style: normal;
    line-height: 1.7;
}
.site-footer p { margin: 0 0 0.5em; }

.site-footer .tagline {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    text-align: center;
    letter-spacing: 0.5px;
    max-width: 760px;
    margin: 0 auto 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(112, 99, 0, 0.25);
}
.footer-grid {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
}
@media (min-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 2rem;
    }
    .footer-grid .footer-col {
        display: inline-block;
        text-align: left;
    }
}
.footer-col h4 {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-body);
    margin: 0 0 0.3rem;
}
.footer-col h4:not(:first-child) { margin-top: 0.9rem; }
.footer-col p { font-size: 1rem; }

.footer-bottom {
    max-width: 760px;
    margin: 1.75rem auto 0;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(112, 99, 0, 0.25);
    display: flex;
    justify-content: center;
    font-size: 0.95rem;
}
.footer-bottom nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-bottom nav a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    font-weight: 700;
}
.footer-copyright {
    text-align: center;
    margin: 1rem 0 0;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    opacity: 0.75;
}

/* ---------- Credits-Block (Impressum) ---------- */
.credits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.credits__logo {
    display: inline-block;
    max-width: 220px;
    transition: opacity var(--transition);
}
.credits__logo:hover,
.credits__logo:focus { opacity: 0.75; }
.credits__logo img { display: block; width: 100%; height: auto; }
.credits p { margin: 0; }

/* ---------- Prose (Impressum, Datenschutz) ---------- */
.prose {
    max-width: 820px;
    margin: 0 auto;
}
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; font-size: 1.2rem; }
.prose p, .prose ul { font-size: 1rem; }
.prose ul { padding-left: 1.5rem; }

/* ---------- Responsive Navigation ---------- */
@media (max-width: 899px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-primary);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    .main-nav.open { max-height: 100vh; overflow-y: auto; }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        align-items: stretch;
    }
    .main-nav a,
    .submenu-toggle {
        display: block;
        padding: 0.9rem 1.5rem;
        border-bottom: 1px solid rgba(112, 99, 0, 0.15);
        width: 100%;
        text-align: left;
    }
    .main-nav a[aria-current="page"] { background: var(--color-primary-soft); border-bottom-color: rgba(112, 99, 0, 0.15); }
    .main-nav .has-submenu { position: static; }
    .main-nav .submenu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--color-primary-soft);
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease;
    }
    .main-nav .has-submenu.open > .submenu { max-height: 600px; padding: 0.25rem 0; }
    .main-nav .submenu a { padding: 0.75rem 2.5rem; }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .hero, .nav-toggle { display: none; }
    a { color: inherit; text-decoration: none; }
}
