/* yogakurse-bautzen.de – Nachbau des bisherigen Designs */

@font-face {
    font-family: "Antic";
    src: url("../fonts/antic/Antic-Regular.woff2") format("woff2"), url("../fonts/antic/Antic-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Bilbo Swash Caps";
    src: url("../fonts/bilbo/BilboSwashCaps-Regular.woff2") format("woff2"), url("../fonts/bilbo/BilboSwashCaps-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --braun: rgb(83, 65, 50);
    --braun-hell: rgb(119, 104, 91);
    --creme: rgb(247, 243, 238);
    --sand: rgb(231, 221, 211);
    --sand-a: rgba(237, 230, 221, .65);
    --blau: rgb(109, 137, 163);
    --blau-a: rgba(109, 137, 163, .5);
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Oxygen-Sans, Ubuntu, Cantarell, Arial, sans-serif;
    --font-schmuck: "Bilbo Swash Caps", cursive;
    --font-nav: "Antic", sans-serif;
    --bar-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100%;
    background: #fff;
    color: #000;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.4;
}

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

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 200;
    background: #fff;
    padding: .5rem 1rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Navigation ---------- */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: var(--bar-h);
    padding: .2em 3rem;
    background: #fff;
}

.logo { padding: .5rem; line-height: 1.3; }
.logo a { display: block; }
.logo img { display: block; width: 43px; height: 43px; object-fit: contain; object-position: left; }

.burger { display: none; }

.topbar nav {
    flex: 1;
    display: flex;
    align-items: center;
    margin-left: 2em;
}

.topbar ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .2em;
    margin: 0;
    padding: 0;
    list-style: none;
}

.topbar li a {
    display: block;
    padding: .8em 1em;
    font-family: var(--font-nav);
    font-size: 1.5rem;
    line-height: 1.2;
    color: #000;
    text-decoration: none;
    transition: color .3s ease-in-out;
}
.topbar li a:hover,
.topbar li a:focus-visible,
.topbar li.active a { color: var(--braun); }
.topbar li.active a { opacity: .8; }

/* ---------- Hinweise ---------- */

.notices { margin-top: var(--bar-h); }
.notice {
    padding: .9rem 3rem;
    background: var(--blau);
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
}
.notice p { margin: 0; }
.notice a { color: #fff; font-weight: 700; }
.notice.n-wichtig { background: rgb(150, 72, 48); }

/* ---------- Kopfbereich ---------- */

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 10rem;
    min-height: 30vh;
    background-color: #000;
    background-image: var(--hero-l);
    background-size: cover;
    background-position: 50% 0%;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, .02);
}
.notices + .hero { margin-top: 0; }
.is-start .hero { min-height: 70vh; }

.hero-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 45%;
    min-height: 30vh;
    margin: 5rem 3rem;
    padding: 2rem;
    border-radius: 5px;
    background: rgba(255, 255, 255, .7);
}

.hero-title {
    font-size: 5.333rem;
    line-height: 1.3;
    color: var(--braun);
    text-align: center;
}
.hero-title a { color: inherit; text-decoration: none; }
.hero-title span,
.hero-sub span { display: inline-block; }

.hero-sub {
    font-family: var(--font-schmuck);
    font-size: 3.333rem;
    line-height: 1.3;
    color: var(--blau);
    text-align: center;
}

.headline {
    margin: 0;
    padding: 1rem 3rem;
    font-family: var(--font-schmuck);
    font-size: 2.167rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--braun);
    text-align: center;
}

/* ---------- Bereiche, Zeilen, Spalten ---------- */

.content { color: var(--braun); }

.sec {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 16px;
    padding: 8px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.sec.full { min-height: 100vh; }
.sec.bg-creme { background-color: var(--creme); }
.sec.bg-sand { background-color: var(--sand); }
.sec.bg-braun { background-color: var(--braun); }
.sec.bg-braun:not(.has-img) { background-image: linear-gradient(180deg, var(--braun-hell) 0%, var(--braun) 100%); }
.sec.has-img { background-image: var(--bg-l); box-shadow: inset 0 0 0 100vmax var(--tint, transparent); }
.sec.img-contain { background-size: contain; }
.sec.pos-top { background-position: center top; }
.sec.pos-bottom { background-position: center bottom; }
@media (min-width: 1025px) and (hover: hover) {
    .sec.has-img.fixed { background-attachment: fixed; }
}

.sec-in {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

.row { display: flex; width: 100%; }
.col {
    flex: 0 0 var(--w, 100%);
    width: var(--w, 100%);
    min-width: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.col.v-center { justify-content: center; }
.col.v-bottom { justify-content: flex-end; }

.box { padding: 20px; background: var(--sand-a); }

.line { padding: 8px 0; }
.line hr {
    height: 2px;
    margin: 0;
    border: 0;
    background: linear-gradient(to right, transparent 0%, var(--braun) 30%, var(--braun) 70%, transparent 100%);
}

/* ---------- Blöcke ---------- */

.blk { padding: 8px; }
.blk.spacer { padding: 0; }
.a-left { text-align: left; }
.a-center { text-align: center; }
.a-right { text-align: right; }

.txt {
    display: inline-block;
    max-width: 100%;
    vertical-align: top;
    text-align: inherit;
    overflow-wrap: break-word;
}
.txt > :first-child { margin-top: 0; }
.txt > :last-child { margin-bottom: 0; }

.content p { margin: 1rem 0; }
.content h2 {
    margin: 0 0 1rem;
    font-family: var(--font-schmuck);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--braun);
}
.content h3 {
    margin: 0 0 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
}
.content h4 { margin: 0 0 .5rem; font-size: 1.1rem; }
.content ul, .content ol { margin: 1rem 0; padding-left: 40px; }
.content li { text-align: left; }
.content li > p { margin: 1rem 0; }
.content a { color: var(--blau); }
.content a:hover { color: var(--braun); }
.content table { border-collapse: collapse; margin: 1rem 0; }
.content th, .content td { padding: 2px 16px 2px 0; text-align: left; vertical-align: top; }
.content td > p { margin: 0; }
.content blockquote { margin: 0 40px; }

/* Textfarben */
.c-standard { color: var(--braun); }
.c-schwarz { color: #000; }
.c-blau { color: var(--blau); }
.c-blau_hell { color: var(--blau-a); }
.c-creme { color: var(--creme); }
.c-blau h2, .c-blau_hell h2, .c-creme h2 { color: inherit; }

/* Textvorlagen */
.t-kasten, .t-gestrichelt { padding: 22px; background: var(--sand-a); background-clip: padding-box; }
.t-kasten { border: 10px solid var(--blau); }
.t-gestrichelt { border: 1px dashed var(--braun); }
.t-kasten h2 { font-size: 1.833rem; line-height: 3.5rem; font-weight: 700; }
.t-kreis { padding: 50px; border-radius: 244px; background: var(--blau-a); }
.t-zitat { background: var(--blau-a); font-size: 3rem; line-height: 1.4; }
.t-zitat p { margin: 0 40px; font-size: 2.167rem; line-height: 4.2rem; }
.t-zierschrift { font-family: var(--font-schmuck); font-size: 2.167rem; line-height: 1.4; }
.t-zierschrift h2, .t-zierschrift h3, .t-zierschrift p {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    color: inherit;
}

/* Bilder */
.img { display: inline-block; max-width: 100%; margin: 0; vertical-align: top; }
.img img { display: block; width: 100%; height: auto; }
.img .i-rahmen { border: 10px solid var(--blau); background: var(--sand-a); }
.img .i-bogen { border-radius: 0 250px; box-shadow: 5px 5px 5px 0 rgba(83, 65, 50, .8); }

/* Schaltfläche */
.btn {
    display: inline-block;
    max-width: 100%;
    padding: 16px 32px;
    border-radius: 2px;
    background: linear-gradient(135deg, rgb(169, 152, 137) 0%, var(--braun) 100%);
    color: #fff !important;
    font-size: 2rem;
    line-height: 1.4;
    text-decoration: none;
    transition: filter .3s ease, box-shadow .3s ease;
}
.btn:hover, .btn:focus-visible { filter: brightness(1.12); box-shadow: 0 2px 8px rgba(83, 65, 50, .35); }

/* ---------- Module (Kursplan, Kursarten, Massagen) ---------- */

.grid { display: grid; gap: 0 16px; }
.grid-courses { grid-template-columns: repeat(auto-fill, minmax(max(240px, calc(25% - 12px)), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(max(280px, calc(50% - 8px)), 1fr)); }
.grid-massages { grid-template-columns: repeat(auto-fill, minmax(max(260px, calc(33.333% - 11px)), 1fr)); }
.grid .cell { padding: 8px 0; min-width: 0; }
.grid .cell > :last-child { margin-bottom: 0; }

.mod .slots { margin: 1rem 0; }
.mod .slot { white-space: normal; }
.reg {
    display: inline-block;
    margin: 2px 0 2px 4px;
    padding: 0 8px;
    border: 1px solid var(--blau);
    border-radius: 10px;
    color: var(--blau) !important;
    font-size: .8rem;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: 1px;
    transition: background-color .2s, color .2s;
}
.reg:hover, .reg:focus-visible { background: var(--blau); color: #fff !important; }
.reg.full { border-color: rgb(169, 152, 137); color: rgb(130, 110, 95) !important; }
.reg.full:hover { background: rgb(169, 152, 137); color: #fff !important; }

.mod-massagen .price { margin: 1rem 0; }
.mod-massagen .compact p { margin: 1rem 0; }

/* ---------- Formulare ---------- */

.form-box {
    padding: 35px;
    border: 5px solid rgba(148, 110, 68, .65);
    background-color: var(--sand-a);
    background-size: cover;
    background-position: center;
    text-align: left;
    color: var(--braun);
}
.form label { display: block; max-width: 500px; margin: 0 0 2.4px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea {
    display: block;
    width: 500px;
    max-width: 100%;
    margin: 0 0 16px;
    padding: 4.8px 6.4px;
    border: 1px solid rgba(0, 0, 0, .25);
    border-radius: 3px;
    background: #fff;
    color: #000;
    font: inherit;
    line-height: 1.4;
}
.form textarea { height: 124px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--blau); outline-offset: 1px; }
.form .check { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 16px; max-width: 600px; }
.form .check input { margin-top: 4px; flex: none; }
.form button {
    display: inline-block;
    padding: 8px 16px;
    border: 0;
    border-radius: 2px;
    background: var(--braun);
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: filter .2s;
}
.form button:hover { filter: brightness(1.25); }
.form-hint { font-size: .85rem; max-width: 600px; }
.form-msg { margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid var(--blau); background: rgba(255, 255, 255, .75); }
.form-msg p { margin: .25rem 0; }
.form-msg.err { border-left-color: rgb(170, 60, 40); }
.form-msg.ok { border-left-color: rgb(90, 140, 90); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.reg-info { width: 100%; }

/* ---------- Fußzeile ---------- */

.foot {
    padding: 1rem 3rem;
    background: var(--braun);
    color: var(--creme);
    font-family: var(--font-nav);
}
.foot-row { display: flex; }
.foot-col { flex: 1 1 0; padding: 8px; }
.foot h3 {
    margin: 0 0 1rem;
    font-family: var(--font-schmuck);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.4;
}
.foot p { margin: 0 0 1rem; }
.foot a { color: var(--creme); text-decoration: none; transition: color .3s; }
.foot a:hover, .foot a:focus-visible { color: rgb(222, 206, 185); }
.foot-links { line-height: 2.4; margin-top: -.5rem !important; }
.foot-logo { text-align: right; }
.foot-logo img { width: 134px; }
.foot hr { height: 2px; margin: 0; border: 0; background: var(--braun); }
.copy { padding: 8px; margin: 0 !important; }

/* ---------- Tablet & Handy ---------- */

@media (max-width: 1024px) {
    .sec.has-img.fixed { background-attachment: scroll; }
}

@media (max-width: 834px) {
    :root { --bar-h: 50px; }

    .topbar {
        display: block;
        min-height: 0;
        height: 50px;
        padding: 0;
    }
    .logo { padding: 8px; }
    .logo img { width: 34px; height: 34px; }

    .burger {
        display: block;
        position: absolute;
        top: 13px;
        right: 24px;
        width: 24px;
        height: 24px;
        padding: 0;
        border: 0;
        background: none;
        color: #000;
        cursor: pointer;
    }
    .burger svg { display: block; fill: currentColor; }
    .burger .close { display: none; }
    .nav-open .burger .open { display: none; }
    .nav-open .burger .close { display: block; }

    .topbar nav { margin: 0; display: block; }
    .topbar ul {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 110;
        display: none;
        padding: 16px 0;
        background: #fff;
        overflow-y: auto;
    }
    .nav-open .topbar ul { display: block; }
    .nav-open { overflow: hidden; }
    .topbar li a { padding: .8em 1em; font-size: .9rem; }

    .hero { margin-top: 3rem; }
    .hero-box { width: auto; margin: 5rem 3rem; }
    .hero-title { font-size: 2rem; }
    .hero-sub { font-size: 1.333rem; }
    .headline { padding: 1rem; font-size: 1.5rem; }

    .sec.has-img { background-image: var(--bg-s, var(--bg-l)); }

    .row { display: block; }
    .col { width: 100%; display: block; }
    .col > .spacer:first-child, .col > .spacer:last-child { display: none; }

    .t-kreis { border-radius: 120px; padding: 40px 30px; }
    .t-zitat p { margin: 0 16px; }
    .btn { font-size: 1.5rem; padding: 12px 24px; }
    .form-box { padding: 20px; }

    .foot { padding: 1rem; text-align: center; }
    .foot-row { display: block; }
    .foot-logo { text-align: center; }
}

@media (max-width: 480px) {
    .hero-box { margin: 5rem 3rem; padding: 2rem; }
    .t-kasten, .t-gestrichelt { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
