



@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/OpenSans-Regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/OpenSans_SemiCondensed-SemiBold.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', sans-serif;
    background: #fff;
    color: #333;
    font-size: 16px;
}

@media (min-width: 861px) {
    body {
        font-size: 15px;
    }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    max-width: 1000px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    height: 60px;
}
.logo-text {
    color: #96bb3c;
    font-weight: bold;
    line-height: 1.2;
}
.logo-text small {
    display: block;
    font-size: 0.75em;
    color: #96bb3c;
}

nav {
    position: relative;
}

.menu-toggle {
    display: none;
    font-size: 1.8em;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hide mobile menu in desktop view */
.mobile-menu {
    display: none;
}

.desktop-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.1em;
}

/* ========= Kursplan (Desktop Grid + Mobile Stacks) ========= */
.kursplan { margin: 20px 0; }

/* Desktop Grid (default visible on >= 860px) */
.kp-grid { display: grid; grid-auto-rows: auto; border-radius: 10px; overflow: hidden; }
.kp-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.kp-row-head { color: #2b3b4a; font-weight: 600;text-align: center; }
.kp-head { padding: 12px 14px; }
.kp-head:last-child { border-right: none; }
.kp-time { padding: 12px 14px; background: #f7fbff; font-weight: 600; white-space: nowrap; }
.kp-cell { padding: 5px; display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.kp-row > .kp-cell:last-child { border-right: none; }
.kp-empty { color: #98a6b3; }
.kp-empty-global { padding: 14px; text-align: center; color: #5b6b79; background: #f8fbfe; border: 1px dashed #d9e7f3; border-radius: 8px; margin-top: 10px; }

/* Course card */
.kp-card { display:flex; flex-direction: column; background:white; /* light green like sample */ border: 1px solid #c0d1d3; border-radius: 10px; padding: 6px 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.06); text-decoration:none; color: inherit; transition: box-shadow .15s ease, transform .15s ease; text-align: left; height: 100%; }
.kp-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.10); transform: translateY(-1px); }
.kp-card:focus { outline: 2px solid #2d9cff; outline-offset: 2px; }
.kp-title { font-size: 1.05em; line-height: 1.3; color:black; font-weight:700; margin: 4px 0 2px; }
.kp-title--accent { color: #d12b6a; }
.kp-prevention-line { font-size: 0.95em; line-height: 1.2; color: #6a7480; min-height: 1.2em; margin: 0 0 2px; }
.kp-time-in { font-size: 0.92em; color:black;}
.kp-teacher { font-size: 0.92em; color:black;}
.kp-availability { font-size: 0.9em;  color:#52677d;}

/* Card meta row: availability left, "mehr >>" right (apply globally so it also works in Kursübersicht) */
.kp-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  padding-top: 4px;
}
.kp-more {
  font-size: 0.8em;
  text-decoration: none;
  white-space: nowrap;
    color: #52677d;
}
.kp-more:hover {
  text-decoration: underline;
}
.kp-more:focus { outline: 2px solid #2d9cff; outline-offset: 2px; }

/* Legacy button (not used in new cards but kept for compatibility) */
.kp-btn { display: inline-block; font-size: 0.9em; color: #ffffff; background: #d12b6a; padding: 6px 10px; border-radius: 6px; text-decoration: none; }
.kp-btn:hover { background: #b9245b; }
.kp-btn:focus { outline: 2px solid #2d9cff; outline-offset: 2px; }

/* Mobile stacked view (hidden by default on desktop) */
.kp-mobile { display: none; }
.kp-day { border: 1px solid #e5eef6; border-radius: 10px; padding: 0; margin-bottom: 14px; }
.kp-day-title { font-size: 1.05em; color: #2b3b4a; margin-bottom: 10px; }
.kp-day-slot { padding: 10px 0; display: flex; flex-direction: column; gap: 8px; }
.kp-day-slot:first-of-type { border-top: none; padding-top: 0; }
.kp-day-time { font-weight: 600; color: #405261; font-size: 0.95em; margin-bottom: 4px; }
.kp-empty-day { color: #98a6b3; font-size: 0.95em; padding: 8px 0; }

/* Responsive: switch to mobile at <= 860px */
@media (max-width: 860px) {
  .kp-grid { display: none; }
  .kp-mobile { display: block; }
}

.hero {
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    max-height: 400px;
    overflow: hidden;
    margin-bottom: 15px; /* Add more space under the hero image */
    padding: 0 15px;
}
.hero img {
    width: 100%;
    object-fit: cover;
}

.welcome {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 800px; /* Set maximum width to match textboxes */
    margin: 0 auto 30px;
}

.welcome-img-startseite {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto; /* center quote images and other welcome images */
}

.welcome-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto; /* center quote images and other welcome images */
}

@media (min-width: 861px) {
    .welcome-img {
        max-width: 50%;
    }
}

.main-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 15px;
    /* zentriert die Hauptspalte auf der Seite */
    margin: 0 auto 60px auto;
    gap: 30px;
    /* responsive Breite: füllt den verfügbaren Platz bis max. 1000px */
    width: 100%;
    max-width: 1000px;
}

.textbox-container {
    flex: 1;

}

.infobox {
    background: #dff2fc;
    border: 2px solid #b4dfff;
    padding: 20px;
    width: 300px;
    border-radius: 8px;
    align-self: flex-start;
    position: sticky;
    top: 20px;
}

/* --- Kursübersicht: 3-Blöcke-Layout (Desktop 3 Spalten, Mobile gestapelt) --- */
.ko-wrap { width: 100%; max-width: 1000px; margin: 0 auto; }
.ko-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px; /* etwas Abstand zwischen den Karten */
  width: 100%;
  margin: 0 0 32px 0; /* Abstand nach unten */
  align-items: stretch; /* Karten in einer Zeile auf gleiche Höhe strecken */
}

.ko-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 2px solid #aad4f3; /* blauer Rahmen wie gewünscht */
  border-radius: 12px;
  overflow: hidden;
  height: 100%; /* volle Zeilenhöhe einnehmen, damit der Button innerhalb jeder Zeile bündig unten sitzt */
}

.ko-card .ko-media {
  width: 100%;
  background: #e9eef2; /* Platzhalter-Hintergrund */
}
.ko-card .ko-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9; /* gleichmäßige Höhe für Platzhalterbilder */
}

.ko-card .ko-title {
  font-size: 1.4em;
  line-height: 1.25;
  color: #d12b6a; /* Titel/Schrift in pink */
  margin: 14px 18px 8px;
}

/* Zitat-Bild unter dem Namen in Team-Karten */
.ko-card .ko-quote {
  margin: 4px 18px 10px;
}
.ko-card .ko-quote img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.ko-card .ko-teaser {
  color: #405261;
  margin: 0 18px 16px;
}

.ko-card .ko-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: auto 18px 16px;
}

.ko-card .ko-count {
  color: #405261;
  font-weight: 600;
}

.ko-card .ko-button {
  display: block;
  width: 100%;
  text-align: right;
  color: #7998b8;
  background: #e5edea;
  padding: 12px 16px;

  text-decoration: none;
  font-weight: 600;
  margin: 0; /* volle Breite ohne Innenabstand zu den Kartenseiten */
  border-top: 1px solid #e5eef6; /* feine Trennung zur Metazeile */
}
.ko-card .ko-button:hover { background: #c6d7d1; }


/* Volle-Breite-Buttons für Formulare */
.btn-wide {
    font-weight: 600;
  font-size: 1em;
  display: inline-block;
  text-align: center;
  color: #ffffff;
  background: #68839f;
  padding: 14px 40px;
  border: none;
  border-radius: 12px; /* Abgerundet */

  cursor: pointer;
  text-decoration: none;



  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-wide:hover {
  background: #52677d; /* Etwas dunkler beim Hover */
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-wide:active {
  transform: translateY(1px);
}

/* Spezialfall: Button in einer Textbox soll bündig mit dem unteren Rand abschließen (wie Kacheln) */
/* .textbox .btn-wide {
  margin: 20px -15px -15px -15px;
  width: calc(100% + 30px);
  border-radius: 0 0 10px 10px;
} */
.btn-wide:focus { outline: 2px solid #2d9cff; outline-offset: 2px; }

@media (max-width: 980px) {
  .ko-grid { grid-template-columns: 1fr; }
}
.infobox h3 {
    color: #d12b6a;
    font-size: 1.2em;
    margin: 20px 0 10px 0;
}

.infobox h3:first-child {
    margin-top: 0;
}

/* Divider line before each subsequent heading inside right blue boxes */
.infobox h3:not(:first-of-type) {
    border-top: 1px solid #aad4f3;
    padding-top: 12px;
}
.infobox a {
    color: #0066cc;
    text-decoration: none;
}
.infobox a:hover {
    text-decoration: underline;
}
.infobox p {
    margin-bottom: 10px;
    line-height: 1.4;
}
.infobox-links {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}
.infobox-links li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}
.infobox-links li:before {
    content: "»";
    position: absolute;
    left: 0;
    color: #96bb3c;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.social-icon {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}
.social-icon:hover {
    transform: scale(1.1);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 4px;
    padding: 10px 0;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu li {
    display: block;
    padding: 5px 15px;
}

.submenu li a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 5px 0;
    font-size: 1em;
}

.submenu li a:hover {
    color: #2d9cff;
}

/* Responsive Layout */
@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .desktop-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
        cursor: pointer;
        width: 30px;
        height: 30px;
        background: none;
        border: none;
        padding: 0;
    }

    .menu-toggle span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #333;
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, left 0.3s ease, top 0.3s ease;
    }

    .menu-toggle span:nth-child(1) {
        top: 6px;
    }

    .menu-toggle span:nth-child(2),
    .menu-toggle span:nth-child(3) {
        top: 15px;
    }

    .menu-toggle span:nth-child(4) {
        top: 24px;
    }

    .menu-toggle.open span:nth-child(1) {
        top: 15px;
        width: 0;
        left: 50%;
    }

    .menu-toggle.open span:nth-child(2) {
        transform: rotate(45deg);
    }

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

    .menu-toggle.open span:nth-child(4) {
        top: 15px;
        width: 0;
        left: 50%;
    }

    nav {
        position: static;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: #fff;
        z-index: 1000;
        overflow-y: auto;
        transition: right 0.3s ease;
        display: flex; /* Show the container in mobile view */
        flex-direction: column;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .mobile-menu.open {
        right: 0;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        border-bottom: 1px solid #eee;

    }

    .mobile-menu-body {
        padding: 20px;
        flex-grow: 1;
    }

    .mobile-menu ul {
        display: block;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .mobile-menu ul li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #eee;
    }

    .mobile-menu ul li a {
        display: block;
        padding: 15px 5px;
        color: #333;
        font-size: 23px;

        text-decoration: none;
    }

    .mobile-menu .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu .dropdown > a::after {
        content: '+';
        font-size: 20px;
        font-weight: normal;
        transition: transform 0.3s ease;
    }

    .mobile-menu .dropdown.open > a::after {
        content: '-';
    }

    .mobile-menu .submenu {
        display: none;
        position: static;
        background: transparent;
        box-shadow: none;
        width: 100%;
        padding: 0 0 10px 20px;
        margin: 0;
        border-radius: 0;
    }

    .mobile-menu .dropdown.open .submenu {
        display: block;
    }

    .mobile-menu .submenu li {
        border-bottom: none;
    }

    .mobile-menu .submenu li a {
        padding: 10px 0;
        font-weight: normal;
        font-size: 20px;
    }

    .main-content {
        flex-direction: column;
        align-items: stretch;
    }

    .textbox-container {
        max-width: 100%;
    }

    .infobox {
        width: 100%;
        margin-top: 30px;
        position: static;
        padding: 25px;
    }

    .infobox .social-links {
        justify-content: center;
        margin: 15px 0;
    }

    .infobox .social-icon {
        width: 40px;
        height: 40px;
    }

    /* Mobile styles for welcome section */
    .welcome {
        margin: 0 auto 20px auto;
        gap: 15px;
        max-width: 100%; /* Allow full width in mobile */
    }

    .welcome-img {
        max-width: 100%; /* Match width of textboxes in mobile */
    }

    /* Ensure textboxes have correct width in mobile */
    .textbox {
        max-width: 100%;
    }

    .logo {
        flex-direction: row;
        align-items: center;
    }

    .logo img {
        height: 50px;
    }

    .logo-text {
        font-size: 0.9em;
    }
}

#tcform {
    scroll-margin-top: 105px;
}

.textbox {
    border-radius: 10px;
    border: 1px solid #aad4f3;
    padding: 15px;
    margin: 0 auto 15px auto; /* Center the textboxes and add 40px bottom margin */
    font-size: 1em;
    line-height: 1.6;
    background: white;
    width: 100%;
    max-width: 1000px; /* Fixed desktop width for middle content */
}

.textbox h2,
.textbox h1.bh,
.infobox h1.bh {
    color: #d12b6a;
    font-size: 1.3em;
    margin-bottom: 1em;
    font-weight: bold;
    font-style: italic;
}

.infobox p strong {
    font-style: italic;
}

.textbox p {
    margin-bottom: 10px;
}

/* Blaue Box */
.blue-box {
    border: 2px solid #aad4f3;
    background-color: #f9fcff;
}

/* Blaue Box */
.white-box {
    border: 2px solid #aad4f3;
    background-color: white;
}

/* Blumenbox mit Hintergrundbild */
.flower-box {
    position: relative;
    background-color: #d2eef6;
    border: 2px solid #aad4f3;
    color: #333;
    /* Flower image behind the content */
    background-image: url('gfx/entry2_bg.png');
    background-repeat: no-repeat;
    background-size: 100% auto;

}

/* Responsive tuning for flower background */
@media (max-width: 860px) {
  .flower-box {
      background-image: url('gfx/entry2_bg.png');
      background-repeat: no-repeat;
      background-size: 100% auto;
  }
}

/* Transparente Überlagerung bei heller Schrift, falls gewünscht */
.flower-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: -1;
    border-radius: 10px;
}

/* ===== Kursübersicht (Overview) components ===== */
/* Altes Rest-Stylesheet umbenannt, damit es die neue .ko-grid (mit gap: 24px) nicht überschreibt */
.ko-grid-old { display: grid; gap: 0; }
.ko-group { background: #ffffff; border: 1px solid #e5eef6; border-radius: 12px; padding: 14px; }
.ko-title { font-size: 1.15em; color: #2b3b4a; margin-bottom: 10px; }
.ko-terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.ko-term { display:block; background:#ffffff; border:1px solid #e0e9c8; border-radius:10px; padding:12px 14px; box-shadow:0 2px 6px rgba(0,0,0,.06); text-decoration:none; color:inherit; transition: box-shadow .15s ease, transform .15s ease; text-align:center; }
.ko-term:hover { box-shadow:0 4px 12px rgba(0,0,0,.10); transform: translateY(-1px); }
.ko-term:focus { outline:2px solid #2d9cff; outline-offset:2px; }
/* Old layout emnants (kept for potential reuse) */
.ko-term-top { display:none; }
.ko-dates { font-weight:600; }
.ko-time { opacity:.9; }
.ko-name { display:none; }
/* New 4-line compact layout */

/* ===== Accordion for Kursübersicht ===== */
.acc { display: grid; gap: 12px; }
.acc-item { padding: 0; }
.acc-header { display:flex; align-items:center; justify-content:space-between; cursor:pointer; padding: 12px 16px; background: #2b3b4a; color: #e6f1f6; border-radius: 8px; user-select:none; }
.acc-header:focus { outline:2px solid #2d9cff; outline-offset:2px; }
.acc-title { font-weight: 700; font-size: 1.05em; }
.acc-icon { flex: 0 0 auto; }
.acc-icon-minus { opacity: 0; transition: opacity .15s; }
.acc-icon-plus { opacity: 1; transition: opacity .15s; }
.acc-item.is-open .acc-icon-minus { opacity: 1; }
.acc-item.is-open .acc-icon-plus { opacity: 0; }

.acc-panel { padding: 14px 14px 16px 14px; }

/* Hero image block inside panel */
.acc-hero { position: relative; margin: 8px 0 14px 0; }
.acc-hero img { width: 100%; max-width: 960px; height: auto; display: block; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
/* Center the hero headline and give equal top/bottom spacing */
.acc-hero .kp-title { text-align: center; margin: 12px 0; }
.acc-cta { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,0.55); color: #fff; padding: 6px 10px; border-radius: 6px; text-decoration: none; }
.acc-cta:hover { background: rgba(0,0,0,0.7); }

/* Within panel, reuse ko-terms grid; stack on small screens */
@media (max-width: 680px) {
  .ko-terms { grid-template-columns: 1fr; }
}
.ko-weekline { font-size: 1.02em; font-weight:700; color:#2b3b4a; margin: 4px 0; }
.ko-timedur { font-size: 0.98em; color:#2b3b4a; margin: 2px 0; }
.ko-teacher { color:#6a7480; font-size:.95em; margin: 2px 0; }
.ko-availability { font-size: 0.95em; color:#2b3b4a; margin-top: 4px; }

@media (max-width: 860px) {
  .ko-terms { grid-template-columns: 1fr; }
}


/* Global horizontal rule styling: theme blue line */
hr {
    border: 0;
    border-top: 1px solid #aad4f3; /* matches infobox/blue accents */
    height: 0;
}


/* ===== List styling: consistent indentation and spacing in new design ===== */
.textbox ul,
.textbox ol {
    margin-top: 0.25em;
    margin-bottom: 0;
    margin-left: 0; /* create visible indent */
    padding-left: 1em;   /* ensure bullets/numbers sit outside text */
    list-style-position: outside;
}

/* Default bullet/number styles */
.textbox ul { list-style-type: disc; }
.textbox ul ul { list-style-type: circle; }
.textbox ul ul ul { list-style-type: square; }
.textbox ol { list-style-type: decimal; }
.textbox ol ol { list-style-type: lower-alpha; }

/* Space between items, compact but readable */
.textbox li { margin: 0.5em 0; }

/* Ensure lists in right blue info boxes are also properly indented */
.infobox ul,
.infobox ol {
    margin-top: 0.25em;
    margin-bottom: 0.75em;
    margin-left: 0;
    padding-left: 0.9em;
    list-style-position: outside;
}
.infobox li { margin: 0.2em 0; }


/* ===== Image alignment utilities for textboxes (yoga-einstieg) ===== */
.textbox .img-right { float: right; max-width: 45%; margin: 0 0 10px 16px; }
.textbox .img-left { float: left; max-width: 45%; margin: 0 16px 10px 0; }

/* Clear floats inside textbox to keep borders and background intact */
.textbox::after { content: ""; display: block; clear: both; }

.lftp {
    float: left;
    width: 70%;
    text-align: left;
}
.rgtp {
    float: right;
    width: 25%;
    text-align: right;
}

/* Preis-Layout (Desktop nebeneinander, Mobil untereinander) */
@media (max-width: 860px) {
    .lftp, .rgtp {
        float: none;
        width: 100%;
        text-align: left;
    }
    .rgtp {
        margin-bottom: 20px;
        padding-left: 0;
    }
    .rgtp p {
        font-weight: bold;
    }
}
.clear {
  clear: both;
}

.price-row {
  margin-bottom: 15px;
}

@media (max-width: 860px) {
  .lft, .rgt {
    float: none;
    width: 100%;
    text-align: center;
  }
    .mdl {
        text-align: center;
    }
  .rgt {
    margin-bottom: 20px;
  }
}

/* Responsive: disable floats on small screens */
@media (max-width: 860px) {
  .textbox .img-right,
  .textbox .img-left {
    float: none;
    display: block;
    margin: 0 auto 14px auto;
    max-width: 100%;
  }
}


/* ===== Form layout utilities for responsive forms ===== */
.form-row { display: flex; gap: 10px; }
.form-col { flex: 1; margin-bottom: 12px; }
.form-col-wide { flex: 3; }
@media (max-width: 860px) {
  .form-row { flex-direction: column; gap: 0; }
}


/* ===== Kursart & Kontakt: Formulartypografie ===== */
#anmeldeform input[type="text"],
#anmeldeform input[type="email"],
#anmeldeform input[type="tel"],
#anmeldeform input[type="number"],
#anmeldeform select,
#anmeldeform textarea,
#tcform input[type="text"],
#tcform input[type="email"],
#tcform textarea {
  font-family: inherit;
  font-size: 1em;
  line-height: 1.4;
}


/* ===== Kursplan: align with global desktop width ===== */
@media (min-width: 861px) {
  .kp-wide .textbox {
    max-width: 1000px; /* fixed desktop width, centered via margins */
    width: 100%;
  }
}


/* ===== Studio Galerie (yoga-studio-suedcenter.php) ===== */
.studio-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 20px 0;
}
.studio-gallery img {
  max-width: 49%;
  height: auto;
}

@media (max-width: 860px) {
  .studio-gallery {
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Abstand verringern */
  }
  .studio-gallery img {
    max-width: 100%;
    width: 100%;
  }
}

/* Nur das Wort "ausgebucht" grau einfärben */
.kp-availability .is-ausgebucht { color: #98a6b3; }

.mobile-br { display: none; }

@media (max-width: 860px) {
  .mobile-br { display: block; }
}

/* ===== Mobile Card Meta (availability left, "mehr >>" right) ===== */
@media (max-width: 860px) {
  .kp-card-wrap { /* wrapper for card + meta row */ }
  .kp-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 6px;
    gap: 8px;
  }
  .kp-more {
    font-size: 0.95em;
    text-decoration: none;
    white-space: nowrap;
  }
  .kp-more:hover {
    text-decoration: underline;
  }
  .kp-more:focus { outline: 2px solid #2d9cff; outline-offset: 2px; }
}

/* ===== Team: Profil-Layout (alle Lehrer-Seiten) ===== */
.profile {
  display: flex;
  flex-direction: column; /* mobil: Text unter dem Bild */
  gap: 16px;
  align-items: center;
}
.profile-image {
  max-width: 320px; /* angenehme Bildbreite mobil/desktop */
  height: auto;
  display: block;

}
.profile-text {
  text-align: center;
}
@media (min-width: 861px) {
  .profile {
    flex-direction: row; /* desktop: Name/Zertifizierungen neben dem Bild */
    align-items: flex-start;
  }
  .profile-text {
    margin-left: 18px;
    text-align: left;
  }
}

/**____________________________FOOTER_________________________________________*/
.footer {
  clear: both;
  display: block;
  margin: 30px auto 0;
  padding: 40px 0;
  background-color: #F1F1F1;
  width: 100%;
}
.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 250px;
  padding: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  font-weight: 400;
  font-size: 0.925em;
  color: #888;
  line-height: 1.6;
  margin-bottom: 5px;
}

.footer-col ul li a {
  color: #888;
  text-decoration: none;
  font-weight: 400;
  transition: color .25s;
}

.footer-col ul li a:hover {
  color: #9cc60c;
}

.footer-col .title {
  margin: 0 0 15px;
  font-weight: 300;
  color: #57A3E4;
  font-size: 1.125em;
  text-transform: uppercase;
}

/* Mobile Footer: Spalten untereinander */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
  .footer-col {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
  }
  .footer-col:last-child {
    border-bottom: none;
  }
  .footer-col .title {
    margin-bottom: 10px;
  }
}
