/* ============================================================
   PRAXIS FÜR LOGOPÄDIE STIMMREISE — Janine Fries
   www.logopaedie-koelnsued.de
   Farbpalette von der Visitenkarte
   ============================================================ */

/* ---- CSS Variablen ---- */
:root {
    --bg-rose:        #F7ECE9;   /* sehr helles Rosé – Hintergrund */
    --powder-rose:    #DDBFC6;   /* pudriges Rosé */
    --purple-main:    #8C5A8E;   /* Haupt-Lila */
    --purple-dark:    #6F3F73;   /* dunkles Lila – Text, Buttons */
    --accent:         #C98FA0;   /* sanftes Rosé-Lila – Akzent */
    --white:          #FFFFFF;
    --text-dark:      #3D2040;
    --text-mid:       #6B4570;
    --text-light:     #9E7AA0;
    --shadow-soft:    0 4px 24px rgba(140, 90, 142, 0.10);
    --shadow-card:    0 6px 32px rgba(140, 90, 142, 0.13);
    --radius:         14px;
    --radius-sm:      8px;
    --transition:     0.3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.75;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    line-height: 1.25;
    color: var(--purple-dark);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

a { color: var(--purple-main); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple-dark); }

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--purple-dark);
    color: var(--white);
    border-color: var(--purple-dark);
}
.btn-primary:hover {
    background: var(--purple-main);
    border-color: var(--purple-main);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(111, 63, 115, 0.30);
}

.btn-outline {
    background: transparent;
    color: var(--purple-dark);
    border-color: var(--purple-dark);
}
.btn-outline:hover {
    background: var(--purple-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full { width: 100%; display: block; }
.btn-sm { padding: 0.45rem 1.2rem; font-size: 0.85rem; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-white { background-color: var(--white); }
.section-rose   { background-color: var(--bg-rose); }

/* ============================================================
   WAVE DIVIDERS
   ============================================================ */
.section-wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    transform: rotate(180deg);
}
.section-wave-top svg {
    display: block;
    width: calc(100% + 2px);
    height: 45px;
}

.section-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}
.section-wave-bottom svg {
    display: block;
    width: calc(100% + 2px);
    height: 45px;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}
.divider span {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--powder-rose), var(--accent));
    border-radius: 999px;
}
.divider::before,
.divider::after {
    content: '';
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--powder-rose);
    border-radius: 999px;
}

.section-intro {
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.75rem 0;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 1px 16px rgba(140, 90, 142, 0.08);
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 24px rgba(140, 90, 142, 0.15);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-logo-link { text-decoration: none; }

.nav-bubble {
    width: 110px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--purple-dark);
    transition: background var(--transition), color var(--transition);
}
.nav-link:hover, .nav-link.active {
    background: var(--bg-rose);
    color: var(--purple-dark);
}

.nav-cta {
    padding: 0.5rem 1.4rem;
    background: var(--purple-dark);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all var(--transition);
}
.nav-cta:hover {
    background: var(--purple-main);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(111, 63, 115, 0.25);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.3rem;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--purple-dark);
    border-radius: 999px;
    transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(145deg, #F7ECE9 0%, #EDD8E1 40%, #F0E0E8 70%, #F7ECE9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 1.5rem 5rem;
    position: relative;
}

.hero-content {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-logo-wrap {
    margin-bottom: 0.5rem;
    animation: floatLogo 5s ease-in-out infinite;
}

.hero-bubble {
    width: min(340px, 78vw);
    height: auto;
    filter: drop-shadow(0 4px 22px rgba(140, 90, 142, 0.22));
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.hero-title {
    font-family: 'Libre Bodoni', 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    color: var(--purple-dark);
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.015em;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.8vw, 1.05rem);
    color: var(--purple-main);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
    opacity: 0.85;
    margin-bottom: 0;
}

.hero-btn {
    font-size: 1rem;
    padding: 0.85rem 2.5rem;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ============================================================
   ÜBER DIE PRAXIS
   ============================================================ */
/* ============================================================
   ÜBER MICH – Hero
   ============================================================ */
.praxis-hero {
    position: relative;
    padding: 0;
    overflow: visible;
    z-index: 1;
}

.praxis-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('pics/janine-logopaedie.jpg');
    background-size: cover;
    background-position: center top;
    z-index: 0;
    pointer-events: none;
}

.praxis-hero-container {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.praxis-hero-top {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

.praxis-quote-col {
    padding-bottom: 1rem;
}

.quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: var(--powder-rose);
    line-height: 0.8;
    margin-bottom: 0.5rem;
}

.quote-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--purple-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.quote-author {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

.praxis-photo-center {
    display: flex;
    justify-content: center;
}

.praxis-hero-photo {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
}

.praxis-hero-bottom {
    max-width: 720px;
}

.praxis-hero-bottom .lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.praxis-hero-bottom .btn {
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.tag {
    color: var(--purple-main);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* ============================================================
   LEISTUNGEN / CARDS
   ============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 3px solid var(--powder-rose);
    transition-delay: calc(var(--card-i, 0) * 0.08s);
}

.card:nth-child(1) { --card-i: 0; }
.card:nth-child(2) { --card-i: 1; }
.card:nth-child(3) { --card-i: 2; }
.card:nth-child(4) { --card-i: 3; }

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(140, 90, 142, 0.20);
    border-top-color: var(--purple-main);
}

.card-icon-wrap {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--bg-rose), #EDD8E1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.3rem;
    transition: background var(--transition);
}

.card:hover .card-icon-wrap {
    background: linear-gradient(135deg, #EDD8E1, #ddbfc6);
}

.card-svg {
    width: 32px;
    height: 32px;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--purple-dark);
}

.card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card-list {
    text-align: left;
    margin-top: 1rem;
}

.card-list li {
    font-size: 0.82rem;
    color: var(--text-light);
    padding: 0.25rem 0;
    padding-left: 1.1rem;
    position: relative;
}

.card-list li::before {
    content: '·';
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 1rem;
}

/* ============================================================
   ÜBER MICH
   ============================================================ */
/* Full-bleed Janine section */
#ueber-mich {
    position: relative;
    background-image: url('pics/janine-logopaedie.jpg');
    background-size: cover;
    background-position: right center;
    padding: 0;
    overflow: hidden;
}

#ueber-mich::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        #F7ECE9 0%,
        rgba(247, 236, 233, 0.98) 20%,
        rgba(247, 236, 233, 0.6) 32%,
        transparent 44%,
        transparent 100%
    );
    z-index: 0;
    pointer-events: none;
}

#ueber-mich > .container {
    position: relative;
    z-index: 1;
}

.about-fullbleed {
    display: grid;
    grid-template-columns: 38% 1fr;
    min-height: 600px;
    align-items: center;
}

.about-spacer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    height: 100%;
    padding: 5rem 0 3rem 0;
}

.about-text-panel {
    padding: 5rem 1.5rem 5rem 1rem;
}

.about-title {
    text-align: left;
    margin-bottom: 0.8rem;
}

.about-divider {
    justify-content: flex-start;
    margin-bottom: 1.8rem;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1.5px solid var(--powder-rose);
    border-radius: 50px;
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--purple-main);
    backdrop-filter: blur(4px);
}

.about-text-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--purple-dark);
}

.values-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--purple-main);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.value-icon {
    font-size: 1.4rem;
    color: var(--accent);
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon-wrap {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--bg-rose), #EDD8E1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text strong {
    display: block;
    color: var(--purple-dark);
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}

.info-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-mid);
}

.info-text a {
    color: var(--purple-main);
    font-weight: 600;
}
.info-text a:hover { color: var(--purple-dark); }

.map-placeholder {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.map-svg { width: 100%; height: auto; display: block; }

.map-label {
    font-size: 0.88rem;
    color: var(--text-light);
    padding: 0.6rem 1rem 0;
    margin: 0;
}

.map-placeholder .btn {
    margin: 0.75rem auto 1.2rem;
    display: inline-block;
}

/* ---- Formular ---- */
.kontakt-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-card);
}

.kontakt-form-wrap h3 {
    font-size: 1.3rem;
    margin-bottom: 1.8rem;
    color: var(--purple-dark);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--purple-dark);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.required { color: var(--accent); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.8px solid var(--powder-rose);
    border-radius: var(--radius-sm);
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-rose);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
    appearance: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--purple-main);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(140, 90, 142, 0.12);
}

select {
    background-image: 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='%238C5A8E' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

textarea { resize: vertical; min-height: 110px; }

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.1rem;
    accent-color: var(--purple-main);
    cursor: pointer;
}

.form-check label {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--text-light);
    margin: 0;
    cursor: pointer;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1rem;
    gap: 0.75rem;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--bg-rose), #EDD8E1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--purple-main);
    border: 2px solid var(--powder-rose);
    margin-bottom: 0.5rem;
}

.form-success h4 {
    font-family: 'Playfair Display', serif;
    color: var(--purple-dark);
    font-size: 1.3rem;
}

.form-success p { color: var(--text-light); font-size: 0.95rem; }

.form-error {
    background: #fff0f0;
    border: 1.5px solid #e8a0a0;
    color: #c0392b;
    border-radius: 10px;
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: var(--purple-dark);
    color: var(--bg-rose);
    padding-bottom: 1.5rem;
}

.footer-wave {
    line-height: 0;
    margin-bottom: 2.5rem;
}

.footer-wave svg {
    width: 100%;
    height: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(221, 191, 198, 0.2);
}

.footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-bubble { width: 130px; }

.footer-tagline {
    font-size: 0.82rem;
    color: var(--powder-rose);
    letter-spacing: 0.05em;
    font-weight: 300;
    margin: 0;
}

.footer-info-col {
    text-align: center;
}

.footer-info-col p {
    color: var(--powder-rose);
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
}

.footer-info-col a {
    color: var(--powder-rose);
    font-weight: 600;
}

.footer-info-col a:hover { color: var(--white); }

.footer-legal-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer-legal-col a {
    color: var(--powder-rose);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color var(--transition);
}

.footer-legal-col a:hover { color: var(--white); }

.footer-copy {
    text-align: center;
    color: rgba(221, 191, 198, 0.5);
    font-size: 0.78rem;
    padding-top: 1.5rem;
    letter-spacing: 0.03em;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal.active { display: flex; }

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(63, 32, 64, 0.55);
    backdrop-filter: blur(4px);
}

.modal-box {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.5rem;
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(63, 32, 64, 0.35);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition);
}
.modal-close:hover { color: var(--purple-dark); }

.modal-box h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--bg-rose);
}

.modal-box h3 {
    font-size: 1rem;
    margin: 1.2rem 0 0.4rem;
    color: var(--purple-main);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================================================
   FORTBILDUNGEN
   ============================================================ */
.fortb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.fortb-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2.2rem 2rem;
    box-shadow: var(--shadow-card);
    border-top: 3px solid var(--powder-rose);
}

.fortb-block .card-icon-wrap {
    margin-bottom: 1.2rem;
}

.fortb-block h3 {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    color: var(--purple-dark);
}

.fortb-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    list-style: none;
}

.fortb-list li {
    font-size: 0.9rem;
    color: var(--text-mid);
    padding-left: 1.4rem;
    position: relative;
    line-height: 1.5;
}

.fortb-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

/* ============================================================
   KOSTEN & INFORMATIONEN
   ============================================================ */
.kosten-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.kosten-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow-card);
    border-top: 3px solid var(--accent);
    transition: transform var(--transition), box-shadow var(--transition);
}

.kosten-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(140, 90, 142, 0.15);
}

.kosten-icon-wrap {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--bg-rose), #EDD8E1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.kosten-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.kosten-card p {
    font-size: 0.9rem;
    color: var(--text-mid);
    margin-bottom: 0.5rem;
}

.kosten-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--bg-rose), #EDD8E1);
    color: var(--purple-dark);
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    margin-top: 0.6rem;
    border: 1px solid var(--powder-rose);
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 900px)
   ============================================================ */
@media (max-width: 900px) {
    /* ---- Hamburger Nav at Tablet ---- */
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 75vw;
        max-width: 320px;
        height: 100vh;
        background: rgba(255,255,255,0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        box-shadow: -4px 0 30px rgba(63, 32, 64, 0.15);
        z-index: 999;
        list-style: none;
    }

    .nav-links.open { display: flex; }

    .nav-link, .nav-cta {
        width: 100%;
        padding: 0.7rem 1rem;
    }

    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fortb-grid { grid-template-columns: 1fr; }
    .kosten-grid { grid-template-columns: 1fr 1fr; }

    .praxis-hero-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .praxis-quote-col {
        order: 2;
    }

    .praxis-photo-center {
        order: 1;
    }

    .praxis-hero-photo {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-fullbleed {
        grid-template-columns: 1fr;
    }

    .about-spacer {
        min-height: 360px;
        padding: 3rem 0 1.5rem 0;
        align-items: center;
        order: 1;
    }

    #ueber-mich {
        background-position: 68% center;
    }

    #ueber-mich::before {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 38%,
            rgba(247, 236, 233, 0.88) 55%,
            #F7ECE9 70%
        );
    }

    .about-text-panel {
        padding: 0 1.5rem 3.5rem 1.5rem;
        order: 2;
    }

    .about-title,
    .about-divider {
        text-align: center;
        justify-content: center;
    }

    .values-row {
        justify-content: center;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-legal-col {
        align-items: flex-start;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 620px)
   ============================================================ */
@media (max-width: 620px) {
    .section { padding: 4rem 0; }

    #ueber-mich {
        background-position: center top;
        background-size: cover;
    }

    .about-spacer {
        min-height: 480px;
    }

    #ueber-mich::before {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 50%,
            rgba(247, 236, 233, 0.92) 65%,
            #F7ECE9 78%
        );
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .kosten-grid { grid-template-columns: 1fr; }
    .praxis-gallery { grid-template-columns: 1fr; }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo-col { align-items: center; }
    .footer-legal-col { align-items: center; flex-direction: row; justify-content: center; gap: 1.5rem; }

    .tag-row { justify-content: center; }

    .kontakt-form-wrap { padding: 1.5rem 1.2rem; }
    .info-card { padding: 1.5rem; }
}

.section-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}
.section-wave-bottom svg { width: 100%; height: 70px; }

.section-wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
    pointer-events: none;
}
.section-wave-top svg { width: 100%; height: 70px; }

/* Hero Slider */
.hero-bg-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; background-color: transparent; } 
.hero-bg-slider .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 2s ease-in-out; } 
.hero-bg-slider .slide.active { opacity: 1; } 
.hero-content { position: relative; z-index: 1; text-shadow: none; background: rgba(255, 255, 255, 0.38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 2.2rem 2.5rem; border-radius: 28px; box-shadow: 0 8px 40px rgba(111, 63, 115, 0.10); border: 1px solid rgba(255, 255, 255, 0.55); max-width: 580px; }

/* Praxis Hero Update */
.praxis-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: #f4e8ee; }
.praxis-hero-bg::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 40%; background-image: url('pics/janine-uebermich.jpeg'); background-size: contain; background-repeat: no-repeat; background-position: center right; z-index: 0; }
.praxis-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.85) 45%, rgba(255,255,255,0) 80%); z-index: 1; pointer-events: none; }
.praxis-hero-content-wrap { max-width: 550px; position: relative; z-index: 2; margin-left: -2rem; }
.text-box-white { background: rgba(255,255,255,0.85); padding: 2rem; border-radius: 12px; max-width: 550px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
@media (max-width: 900px) { 
    .praxis-hero::before { background: rgba(255,255,255,0.85); }
    .praxis-hero-bg::after { left: 10%; }
}

/* Leistungen Background */
#leistungen { position: relative; background-image: url('pics/slideshow/schluckstoerung-therapie-erwachsene.jpg'); background-size: cover; background-position: center; background-attachment: fixed; }
#leistungen::before { content: ''; position: absolute; inset: 0; background: rgba(247, 236, 233, 0.45); z-index: 0; }
#leistungen > .container { position: relative; z-index: 1; }
.section-header-glass { max-width: 800px; margin: 0 auto 4rem; padding: 2rem; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.section-header-glass .section-title { margin-bottom: 0.5rem; }
.section-header-glass .divider { margin-bottom: 1.5rem; }

@media (max-width: 900px) {
    #leistungen { background-attachment: scroll; }
}

/* ============================================================
   DESKTOP PRAXIS GALLERY (Slideshow)
   ============================================================ */
.praxis-desktop-gallery {
    display: block;
    padding-bottom: 2rem;
}

.desktop-slider-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.ds-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ds-track::-webkit-scrollbar { display: none; }

.ds-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: 500px;
}
.ds-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ds-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.ds-btn:hover {
    background: var(--white);
    color: var(--purple-main);
    transform: translateY(-50%) scale(1.05);
}
.ds-prev { left: 1rem; }
.ds-next { right: 1rem; }

.ds-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.ds-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.ds-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

@media (max-width: 900px) {
    .praxis-desktop-gallery {
        display: none !important;
    }
}

/* ============================================================
   MOBILE PRAXIS GALLERY
   ============================================================ */
.praxis-mobile-gallery {
    display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
    .praxis-mobile-gallery {
        display: block;
        overflow: hidden;
        background: #f4e8ee;
        padding-top: 2.25rem;
    }

    .pmg-header {
        margin-bottom: 1.25rem;
    }

    .pmg-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .pmg-track::-webkit-scrollbar { display: none; }

    .pmg-slide {
        flex: 0 0 100%;
        scroll-snap-align: start;
        height: 280px;
    }

    .pmg-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .pmg-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 10px 0;
    }

    .pmg-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        border: none;
        background: var(--powder-rose);
        opacity: 0.45;
        cursor: pointer;
        padding: 0;
        transition: opacity 0.3s, transform 0.3s;
    }

    .pmg-dot.active {
        opacity: 1;
        background: var(--purple-main);
        transform: scale(1.25);
    }
}

/* ============================================================
   MOBILE PRAXIS-HERO PHOTO FIX (≤620px)
   ============================================================ */
@media (max-width: 620px) {
    /* Janine photo fills top 300px of section, text starts below */
    .praxis-hero-bg::after {
        left: 0;
        background-size: cover;
        background-position: top center;
        bottom: auto;
        height: 300px;
    }

    /* Gradient fades photo into white at ~260–320px from top */
    .praxis-hero::before {
        background: linear-gradient(
            to bottom,
            transparent 0px,
            transparent 220px,
            rgba(255,255,255,0.92) 270px,
            rgba(255,255,255,1) 300px
        );
    }

    /* Push container content below the photo */
    .praxis-hero-container {
        padding-top: 300px;
    }

    .praxis-hero-content-wrap {
        margin-left: 0;
    }
}

/* ============================================================
   MOBILE JANINE FRIES (#ueber-mich) — same approach as praxis-hero (≤620px)
   ============================================================ */
@media (max-width: 620px) {
    /* Strip the section-wide background — photo now lives inside .about-spacer */
    #ueber-mich {
        background-image: none;
        background-color: #ffffff;
        overflow: visible; /* allow spacer to break out of container padding */
    }

    #ueber-mich::before {
        display: none;
    }

    /* about-spacer becomes the self-contained photo block,
       negative margins break it out of .container's 1.5rem padding → full bleed */
    .about-spacer {
        background-image: url('pics/janine-logopaedie.jpg');
        background-size: cover;
        background-position: 60% top;
        min-height: 420px;
        position: relative;
        overflow: hidden;
        padding: 0;
        align-items: flex-end;
        justify-content: flex-end;
        /* break out of container padding */
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        width: calc(100% + 3rem);
    }

    /* Gradient fades the photo cleanly into white at the bottom */
    .about-spacer::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 110px;
        background: linear-gradient(to bottom, transparent 0%, white 100%);
        pointer-events: none;
        z-index: 1;
    }

    /* Badge sits above the fade */
    .about-badge {
        position: relative;
        z-index: 2;
        margin: 0 1.2rem 1.4rem auto;
    }

    /* Clean white text panel below */
    .about-text-panel {
        background: #ffffff;
        padding: 2rem 1.5rem 3.5rem;
    }

    .about-title,
    .about-divider {
        text-align: center;
        justify-content: center;
    }
}
