:root {
    --hellblau: #00AFF0;
    --eigelb: #F9D28F;
    --hellorange: #E67800;
    --mittelorange: #FF9420;
    --dunkelorange: #BC6201;
    --bg: #fff;
    --text: #1f2937;
    --muted: #6b7280;
    --card: #ffffff;
    --shadow: 0 8px 24px rgba(0,0,0,.08);
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font: 16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fff 0%, #fff 50%, rgba(249,210,143,.12) 100%);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(180%) blur(8px);
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
}

.logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: url("assets/images/firmenlogo-64x50-72dpi.png") center center / contain no-repeat;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
}

/* burger */
#menu-toggle {
    display: none;
}

.menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

    .menu a {
        display: inline-block;
        text-decoration: none;
        color: var(--text);
        padding: .6rem .9rem;
        border-radius: 12px;
    }

        .menu a:hover {
            background: rgba(0,175,240,.08);
        }

.cta {
    background: var(--hellblau);
    color: #fff !important;
}

    .cta:hover {
        filter: brightness(.95);
    }

.burger {
    display: none;
    cursor: pointer;
    border: none;
    background: transparent;
    padding: .4rem;
    border-radius: 10px;
}

    .burger:focus {
        outline: 2px solid var(--hellblau);
    }

.burger-box {
    width: 24px;
    height: 2px;
    background: var(--text);
    position: relative;
}

    .burger-box::before, .burger-box::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--text);
    }

    .burger-box::before {
        top: -7px;
    }

    .burger-box::after {
        top: 7px;
    }

@media (max-width:800px) {
    .burger {
        display: block;
    }

    .menu {
        position: fixed;
        inset: 56px 12px auto 12px;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 16px;
        box-shadow: var(--shadow);
        padding: 8px;
        display: none;
    }

    #menu-toggle:checked + label + nav .menu {
        display: flex;
    }

    .menu a {
        padding: .9rem 1rem;
    }
}

/* Hero */
.hero {
    padding: 72px 0 28px;
    background: linear-gradient(180deg, rgba(0,175,240,.07), rgba(255,148,32,.05));
}

    .hero .wrap {
        display: grid;
        grid-template-columns: 1.1fr .9fr;
        gap: 28px;
        align-items: center;
    }

.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(90deg,var(--eigelb),rgba(249,210,143,.5));
    border: 1px solid rgba(0,0,0,.06);
    color: #5b3a00;
    padding: .35rem .6rem;
    border-radius: 999px;
    font-size: .9rem;
}

.h1 {
    font-size: clamp(1.8rem,4vw,3rem);
    line-height: 1.2;
    margin: .6rem 0;
}

.lead {
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-card {
    background: var(--card);
    border: 1px solid #f1f1f1;
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow);
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    border-radius: 14px;
    padding: .8rem 1rem;
    border: 1px solid #e5e7eb;
}

    .btn.primary {
        background: var(--hellblau);
        color: #fff;
        border-color: transparent;
    }

    .btn.secondary {
        background: var(--eigelb);
        color: var(--text);
        border-color: transparent;
    }

@media (max-width:900px) {
    .hero .wrap {
        grid-template-columns: 1fr;
    }
}

/* Sections */
section {
    scroll-margin-top: 80px;
    padding: 60px 0;
}

.section-title {
    font-size: 1.6rem;
    margin: 0 0 10px;
}

.section-sub {
    color: var(--muted);
    margin: 0 0 22px;
}

.card {
    background: var(--card);
    border: 1px solid #eee;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
}

/* Über mich – Intro (zweispaltig) */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

    .about .photo {
        border-radius: 20px;
        box-shadow: var(--shadow);
        overflow: hidden;
        background: #f7f7f7;
        aspect-ratio: 300/260;
        min-height: 0;
    }

        .about .photo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            background-color: #fff;
        }

    /* kleine Verfeinerungen für die Bio-Typografie */
    .about .card h3 {
        margin: 0 0 .4rem;
    }

    .about .card h4 {
        margin: 1rem 0 .3rem;
        font-size: 1.05rem;
    }

    .about .card ul {
        padding-left: 18px;
        margin: .2rem 0 .8rem;
    }

/* Über mich – Features (alternierende Bild/Text-Blöcke) */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 24px;
}

.feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 18px;
    align-items: start;
}

    .feature.reverse {
        grid-template-columns: .9fr 1.1fr;
        align-items: start;
    }
/* Elemente explizit oben ausrichten */
.feature-media, .feature-text {
    align-self: start;
}

/* Single-column features (Fortbildungen / Sonstige) links ausgerichtet */
.feature.single {
    display: block;
}

    .feature.single .feature-text {
        padding: 0;
    }

.about-features .feature.single {
    max-width: 720px;
}

/* Brand-Bullets statt Standard-Punkte */
.feature.single .feature-text ul {
    list-style: none;
    padding-left: 0;
    margin: .2rem 0 .8rem;
}

    .feature.single .feature-text ul li {
        position: relative;
        padding-left: 32px;
    }
        /* vorhandene Inline-SVG-Placebo-Icons ausblenden */
        .feature.single .feature-text ul li > span {
            display: none;
        }

/* Fortbildungen: Stern in Marken-Orange */
ul.morange-star-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    width: 22px;
    height: 22px;
    background: var(--mittelorange);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l3 6 6 .9-4.4 4.3 1 6.3L12 16.8 6.4 19.5l1-6.3L3 8.9 9 8z"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2l3 6 6 .9-4.4 4.3 1 6.3L12 16.8 6.4 19.5l1-6.3L3 8.9 9 8z"/></svg>') no-repeat center / contain;
}

/* Sonstige Ausbildungen: Blatt in Marken-Hellblau */
ul.hblue-star-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    width: 22px;
    height: 22px;
    background: var(--hellblau);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 3C12 5 7 10 6 15c0 3 2.5 6 6 6 5-1 10-6 11-12-2-.3-4-1.5-5-4z"/></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 3C12 5 7 10 6 15c0 3 2.5 6 6 6 5-1 10-6 11-12-2-.3-4-1.5-5-4z"/></svg>') no-repeat center / contain;
}

.feature-media {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}

    .feature-media img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* sorgt dafür, dass das Bild den Rahmen schön ausfüllt */
        display: block;
    }

    /* Illustrationen: nicht beschneiden, Marken-Hintergrund zeigt durch Transparenz */
    .feature-media.illustration {
        padding: 10px 14px; /* etwas Luft um die Zeichnung */
    }

    .feature-media.illustration {
        background: var(--bg);
        padding: 10px 14px; /* etwas Luft um die Zeichnung */
    }

        .feature-media.illustration.eigelb {
            background: linear-gradient(25deg, var(--dunkelorange), var(--eigelb));
        }

        .feature-media.illustration.hellblau {
            background: linear-gradient(199deg, var(--hellblau), var(--eigelb));
        }

        .feature-media.illustration img {
            object-fit: contain; /* Illustration vollständig zeigen */
        }

.feature-text {
    padding: 0;
}

    .feature-text h4 {
        margin: 0 0 .5rem;
        font-size: 1.15rem;
    }

    .feature-text p {
        margin: 0 0 .6rem;
    }

    /* kleine Akzentlinie unter h4 */
    .feature-text h4::after {
        content: "";
        display: block;
        width: 56px;
        height: 3px;
        margin-top: 6px;
        background: linear-gradient(90deg, var(--mittelorange), var(--mittelorange));
        border-radius: 2px;
    }

@media (max-width:1000px) {
    .feature {
        grid-template-columns: 1fr 1fr;
    }

        .feature.reverse {
            grid-template-columns: 1fr 1fr;
        }
}

@media (max-width:900px) {
    .about {
        grid-template-columns: 1fr;
    }

    .feature, .feature.reverse {
        grid-template-columns: 1fr;
    }

    .feature-media, .feature-text {
        order: 0 !important;
    }
}

/* Termine */
.grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.event h4 {
    margin: .2rem 0;
}

.event .meta {
    font-size: .95rem;
    color: var(--muted);
}

@media (max-width:1000px) {
    .grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:640px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* Impressum */
.impressum dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 8px 12px;
}

.impressum dt {
    font-weight: 700;
}

/* Footer */
footer {
    padding: 36px 0;
    border-top: 1px solid #eee;
    background: linear-gradient(180deg, rgba(188,98,1,.06), rgba(230,120,0,.05));
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}

.copy {
    font-size: .9rem;
    color: var(--muted);
}

/* Termine – Kachel-Layout & Badges (zusammengeführt) */
.event {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}

.event .badge {
    border-color: transparent;
    box-shadow: none;
}

/* Gradient-Badges in Brandfarben */
.badge.date {
    background: linear-gradient(90deg, var(--hellblau), rgba(0,175,240,.6));
    color: #fff;
}

.badge.time {
    background: linear-gradient(90deg, var(--dunkelorange), rgba(188,98,1,.6));
    color: #fff;
}

.event-title {
    margin: .1rem 0 .2rem;
    font-size: 1.05rem;
}

.event-subtitel {
    margin: .1rem 0 .2rem;
    font-size: 1rem;
    color: var(--muted);
    font-weight: normal;
}

.event-desc {
    padding-left: .6rem;
    border-left: 0.2rem dotted;
    border-color: var(--dunkelorange);
    font-size: .8rem;
    color: var(--muted);
    text-align: justify;
}

.event-place {
    margin: 0 0 .2rem;
    color: var(--text);
}

.event .btn {
    align-self: flex-start;
    margin-top: 6px;
}


/* Über die Methode */
.methods {
}

.methods-text h3::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 6px;
    background: linear-gradient(90deg, var(--hellblau), var(--hellblau));
    border-radius: 2px;
}


/* Einheitliche Höhe für Kurskarten (Titel kann umbrechen, Fuß bleibt bündig) */
.grid {
    align-items: stretch;
}

.card.event {
    display: flex;
    flex-direction: column;
}

.event-desc {
    min-height: 5.2rem; /* Platz für ca. 3-4 Textzeilen */
}

.event-place {
    margin-top: auto; /* schiebt Ort + Button nach unten */
}


/* Links im Text */
a.hlink {
    display: inline-block;
    text-decoration: underline;
    color: var(--dunkelorange);
}

    a.hlink:hover {
        color: var(--hellorange);
        text-decoration: underline;
    }

/* Text Styles */
.uppercase {
    text-transform: uppercase;
}

.underline {
    text-decoration: underline;
    text-decoration-color: var(--eigelb);
}

.mittelorange {
    color: var(--mittelorange);
}

.dunkelorange {
    color: var(--dunkelorange);
}

.hellblau {
    color: var(--hellblau);
}

.bold {
    font-weight: bold;
}

.emphasized {
    font-style: italic;
    font-style: oblique;
}

.small {
    font-size: small;
}