/* =========================================================
   1. DESIGN TOKENS / VARIABLEN
========================================================= */

:root {
    --bg: #f3f3f3;
    --bg-soft: #f8f5f6;
    --white: #ffffff;

    --text-dark: #11151b;
    --text-medium: #495766;
    --text-blue: #356184;

    --pink: #d46c93;
    --pink-dark: #bf5b80;
    --pink-light: #f4d8e4;

    --border: #dddde2;
    --border-soft: rgba(221, 221, 226, 0.8);

    --shadow: 0 10px 30px rgba(17, 21, 27, 0.06);
    --shadow-soft: 0 6px 18px rgba(17, 21, 27, 0.04);

    --radius: 24px;
    --radius-small: 14px;

    --container: 1240px;
    --section-space: 90px;
}


/* =========================================================
   2. BASE / GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
    background: var(--bg);
    color: var(--text-dark);
}

main {
    flex: 1;
}

img {
    display: block;
    max-width: 100%;
    border-radius: var(--radius);
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin-top: 0;
    color: var(--text-medium);
    font-size: 18px;
}

ul {
    color: var(--text-medium);
    font-size: 18px;
}

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--text-dark);
    line-height: 1.12;
}

h1 {
    margin-bottom: 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 78px);
}

h2 {
    margin-bottom: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 50px);
}

h3 {
    margin-bottom: 12px;
    font-size: 24px;
}


/* =========================================================
   3. GLOBALE LAYOUT-BAUSTEINE
========================================================= */

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.section {
    padding: var(--section-space) 0;
}

.alt-bg {
    background: var(--bg-soft);
}

.narrow {
    max-width: 900px;
}

.center-text {
    text-align: center;
}

.section-tag {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--pink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.section-link {
    margin-top: 40px;
    text-align: center;
}


/* =========================================================
   4. BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 16px 28px;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.2s ease;
    font-size: 17px;
    font-weight: 700;
}

.btn-primary {
    background: var(--pink);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    background: var(--pink-dark);
}

.btn-outline {
    background: transparent;
    border-color: var(--pink);
    color: var(--pink);
}

.btn-outline:hover {
    background: var(--pink-light);
}


/* =========================================================
   5. HEADER / NAVIGATION
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 22px 0;
    border-bottom: 1px solid rgba(221, 221, 226, 0.7);
    backdrop-filter: blur(12px);
    background: rgba(243, 243, 243, 0.94);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: auto;
    height: 70px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-wrap: wrap;
}

.main-nav a {
    position: relative;
    padding-bottom: 8px;
    color: var(--text-blue);
    font-size: 18px;
    font-weight: 600;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: var(--pink);
}

.main-nav a.active {
    color: var(--pink);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 2px;
    border-radius: 999px;
    background: var(--pink);
}

/* Burger */

.menu-toggle {
    display: none;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 1px solid rgba(221, 221, 226, 0.9);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-dark);
    transition: 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   6. FOOTER
========================================================= */

.site-footer {
    padding: 28px 0;
    border-top: 1px solid #ececf0;
    background: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-inner p {
    margin: 0;
    font-size: 16px;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-blue);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--pink);
}


/* =========================================================
   7. STARTSEITE
========================================================= */

/* Hero */

.hero {
    display: flex;
    align-items: center;
    min-height: 78vh;
    padding: 40px 0 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
    padding: 40px 0 60px;
}

.hero-content h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.5px;
}

.hero-content p {
    max-width: 560px;
    margin-bottom: 34px;
    color: var(--text-blue);
    font-size: 20px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 680px;
}

.hero-image-wrap img {
    max-height: 660px;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Intro */

.intro-section {
    padding: var(--section-space) 0;
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: start;
}

.info-card {
    padding: 30px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.info-card h3 {
    color: var(--text-dark);
}

.info-card p {
    margin-bottom: 0;
}


/* =========================================================
   8. KURSE / ANGEBOTE
========================================================= */

.card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 30px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(17, 21, 27, 0.08);
}

.card h2,
.card h3 {
    color: var(--text-dark);
}

.card p {
    margin-bottom: 0;
}

.course-text {
    margin-bottom: 0;
}

.course-info {
    margin-top: 18px;
    color: var(--text-medium);
    font-size: 17px;
}

/* Preisbox in Kurskarten */

.price-box {
    margin-top: auto;
    padding: 22px;
    border: 1px solid #ecd7e0;
    border-radius: 20px;
    background: #fbf8f9;
}

.price-label {
    margin: 0 0 6px;
    color: var(--pink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-intro {
    margin: 0 0 16px;
    color: var(--text-dark);
    font-size: 17px;
    font-weight: 600;
}

.price-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #eadfe4;
    color: var(--text-medium);
    font-size: 17px;
}

.price-option:first-of-type {
    padding-top: 0;
    border-top: none;
}

.price-option strong {
    white-space: nowrap;
    color: var(--text-dark);
    font-size: 20px;
}


/* =========================================================
   9. ÜBER MICH / ABOUT
========================================================= */

.about-layout {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 36px;
    align-items: start;
}

.about-layout img {
    box-shadow: var(--shadow);
}

.about-box {
    padding: 30px;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}


/* =========================================================
   10. KURSPLAN
========================================================= */

/* Desktop-Tabelle */

.schedule {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.schedule th,
.schedule td {
    padding: 16px 18px;
    border-bottom: 1px solid #ececf0;
    text-align: left;
    font-size: 17px;
}

.schedule th {
    background: #fbf8f9;
    color: var(--text-dark);
    font-weight: 700;
}

.schedule td {
    color: var(--text-medium);
}

.schedule tr:last-child td {
    border-bottom: none;
}

.desktop-schedule {
    display: table;
}

.mobile-schedule {
    display: none;
}

/* Mobile-Karten */

.schedule-card {
    margin-top: 16px;
    padding: 20px;
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.schedule-card p {
    margin-bottom: 10px;
}

.schedule-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   11. KONTAKT
========================================================= */

.contact-page {
    padding: 60px 0 90px;
}

.contact-wrapper {
    max-width: 860px;
}

.contact-intro {
    margin-bottom: 34px;
}

.contact-form {
    padding: 34px;
    border: 1px solid var(--border-soft);
    border-radius: 30px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 17px 18px;
    border: 1px solid #cfcfd6;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: var(--text-dark);
    font-size: 17px;
    transition: 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(212, 108, 147, 0.12);
}

.input-error {
    border-color: #d35f86 !important;
    box-shadow: 0 0 0 3px rgba(211, 95, 134, 0.12);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.group-label {
    display: block;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
}

.checkbox-group {
    display: grid;
    gap: 10px;
}

.checkbox-group label,
.consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-medium);
    font-size: 17px;
}

.checkbox-group input[type="checkbox"],
.consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--pink);
}

.checkbox-group.has-error {
    padding: 14px;
    border: 1px solid #e8b7c9;
    border-radius: 14px;
    background: #fff7fa;
}

.form-hint {
    margin-top: 10px;
    margin-bottom: 0;
    color: #7a7f87;
    font-size: 15px;
}

.form-error {
    margin-top: 10px;
    margin-bottom: 0;
    color: #b14067;
    font-size: 15px;
    font-weight: 600;
}

.consent a {
    color: var(--text-blue);
    text-decoration: underline;
}

.message {
    margin-bottom: 20px;
    padding: 15px 18px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
}

.message.success {
    background: #e8f5ea;
    color: #24653a;
}

.message.error {
    background: #fde8ec;
    color: #8c3152;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* =========================================================
   12. RECHTLICHES
========================================================= */

.legal-page {
    padding: 60px 0 90px;
    background: var(--white);
}

.legal-content {
    max-width: 900px;
}

.legal-content h1 {
    margin-bottom: 24px;
}

.legal-content h2 {
    margin-top: 38px;
    margin-bottom: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.legal-content p,
.legal-content li {
    color: var(--text-medium);
    font-size: 18px;
}

.legal-content ul {
    padding-left: 22px;
}


/* =========================================================
   13. HELPER
========================================================= */

.spacer-top {
    margin-top: 18px;
}

.spacer-bottom {
    margin-bottom: 18px;
}

.text-blue {
    color: var(--text-blue);
}

.text-pink {
    color: var(--pink);
}


/* =========================================================
   14. RESPONSIVE
========================================================= */

@media (max-width: 1100px) {
    .hero-grid,
    .intro-grid,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .hero-image-wrap {
        min-height: auto;
    }

    .hero-image-wrap img {
        max-height: 520px;
    }
}

@media (max-width: 820px) {
    .header-inner {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        z-index: 30;

        flex-direction: column;
        align-items: flex-start;
        gap: 16px;

        padding: 18px;
        border: 1px solid rgba(221, 221, 226, 0.95);
        border-radius: 22px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.nav-open {
        display: flex;
    }

    .main-nav a {
        width: 100%;
        padding: 8px 0;
        font-size: 18px;
    }

    .main-nav a.active::after {
        width: 36px;
    }

    .form-row,
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .btn {
        min-width: auto;
        width: 100%;
    }

    .contact-form,
    .info-card,
    .card,
    .about-box {
        padding: 24px;
    }

    .desktop-schedule {
        display: none;
    }

    .mobile-schedule {
        display: block;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .site-header {
        padding: 16px 0;
    }

    .logo img {
        height: 58px;
    }

    .hero {
        min-height: auto;
        padding-top: 20px;
    }

    .hero-content {
        padding: 16px 0 24px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p,
    .legal-content p,
    .legal-content li,
    p,
    ul {
        font-size: 16px;
    }

    .contact-form {
        padding: 20px;
        border-radius: 22px;
    }

    .section {
        padding: 68px 0;
    }

    .price-option {
        font-size: 16px;
    }

    .price-option strong {
        font-size: 18px;
    }
}