@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap");

:root {
    --navy: #07384a;
    --teal: #008ca5;
    --cyan: #bdeef6;
    --orange: #ff7900;
    --pale: #ecfbfe;
    --shadow: 0 9px 24px #07566d15;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Nunito,"Trebuchet MS",Arial,sans-serif;
    color: var(--navy);
    background: #f8fdfe;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.wrap {
    max-width: 1190px;
    margin: auto;
    padding: 0 28px;
}

.site-header {
    background: linear-gradient(105deg,#fff 8%,#e0f8fc 52%,#fff 100%);
    position: relative;
    z-index: 3;
    box-shadow: 0 3px 16px #0c7b9210;
}

.site-header:after {
    content: "";
    position: absolute;
    bottom: -19px;
    height: 34px;
    left: 0;
    right: 0;
    background: #f3fcfe;
    clip-path: ellipse(65% 48% at 45% 0);
    z-index: -1;
}

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

.logo {
    width: 268px;
    max-height: 112px;
    object-fit: contain;
    object-position: left center;
}

.nav {
    display: flex;
    align-items: center;
    gap: 31px;
}

.nav a {
    font-weight: 900;
    text-decoration: none;
    font-size: 16px;
    color: #14232a;
    white-space: nowrap;
    padding: 10px 0;
    border-bottom: 3px solid transparent;
}

.nav a:hover,.nav a.active {
    border-color: var(--orange);
}

.menu-toggle {
    display: none;
    border: 0;
    border-radius: 12px;
    background: var(--teal);
    color: white;
    padding: 10px 14px;
    font-weight: 800;
}


/* Bild Hinweis - KI generiert  --> */
.course-photo {
  position: relative;
  display: block;
}

.course-photo:hover>a img {
    transform: scale(1.04);
}

.ki-badge {
position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.3); /* halbtransparentes Schwarz für guten Kontrast */
  color: #ffffff;
  font-size: 0.4rem;
  line-height: 1.2;
  padding: 3px 7px;
  border-radius: 4px;
  pointer-events: none; /* Klick auf das Badge leitet normal den Bild-Link weiter */
}
/* <-- Bild Hinweis - KI generiert*/


.hero {
    min-height: 430px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(90deg,#e4f8fc 0%,#d7f4fa 33%,#b5e8f0 65%,#74d1df 100%);
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0 0 0 36%;
    background: url("hero-design.jpg") center center/cover no-repeat;
    z-index: -2;
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#e9faff 0%,#e4f9fc 25%,#dff7fbdc 36%,#d7f4f83d 49%,transparent 66%);
    z-index: -1;
}

.hero-content {
    padding-top: 67px;
    padding-bottom: 65px;
}

.hero h1 {
    font-size: clamp(35px,4.4vw,60px);
    line-height: 1.02;
    letter-spacing: -2px;
    max-width: 550px;
    margin: 0 0 13px;
    font-weight: 900;
}

.hero .eyebrow {
    color: #f36e00;
    font-size: clamp(19px,2.2vw,30px);
    font-weight: 900;
    font-style: italic;
    margin-bottom: 3px;
}

.hero p {
    font-size: 23px;
    line-height: 1.25;
    max-width: 380px;
    margin: 0 0 21px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg,#ff9600,#f26900);
    color: white;
    border-radius: 40px;
    padding: 13px 24px;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 3px 0 #cf690030;
    transition: transform .2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.teal {
    background: linear-gradient(180deg,#12b5c4,#007c95);
}

.btn.ghost {
    background: white;
    color: var(--teal);
    border: 2px solid #80d3de;
    box-shadow: none;
}

.wave-divider {
    height: 48px;
    margin-top: -30px;
    position: relative;
    z-index: 1;
    background: #f8fdfe;
    clip-path: polygon(0 40%,10% 66%,22% 43%,36% 79%,51% 42%,66% 74%,81% 36%,100% 61%,100% 100%,0 100%);
    border-top: 0;
}

.section {
    padding: 34px 0 45px;
}

.section-title {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 18px;
    letter-spacing: -.6px;
}

.muted {
    color: #4b7180;
}

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

.course-card {
    border: 1px solid #bcebf4;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(160deg,#fff 25%,#e4f8fd 100%);
    box-shadow: 0 6px 17px #0d839218;
}

.course-card>a {
    display: block;
    height: 195px;
    overflow: hidden;
}

.course-card>a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.course-card:hover>a img {
    transform: scale(1.04);
}

.course-body {
    padding: 17px 24px 22px;
}

.course-body h3 {
    font-size: 27px;
    font-weight: 900;
    margin: 0 0 9px;
    letter-spacing: -.8px;
}

.course-body .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    font-size: 18px;
    margin-bottom: 15px;
}

.course-body .meta span:first-child {
    width: 100%;
}

.course-body .btn {
    padding: 9px 17px;
    font-size: 15px;
}


/* Bereich in kontakt.html, impressum.html  -->*/
.ki-info-text {
font-size: small;
}
/* <-- Bereich in kontakt.html, impressum.html */


.locations {
    background: linear-gradient(100deg,#e1f7fc,#fff 60%,#fff0e5);
    border-radius: 55px 55px 0 0;
}

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

.location-list {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.location {
    background: #ffffffd9;
    border-radius: 22px;
    padding: 20px 22px;
    flex: 1;
    min-width: 200px;
}

.location h3 {
    margin: 0 0 5px;
    font-size: 20px;
}

.location p {
    margin: 0;
}

.panel {
    padding: 28px;
    border-radius: 40px;
    background: #fff;
}

.panel.peach {
    background: linear-gradient(120deg,#fff1e6,#ffe0c6);
}

.panel p {
    font-size: 18px;
}

.footer {
    position: relative;
    background: linear-gradient(110deg,#00677f,#0c9caf 55%,#00677f);
    color: #fff;
    margin-top: 34px;
    padding: 50px 0 25px;
}

.footer:before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 42px;
    background: #e4faff;
    clip-path: polygon(0 42%,12% 72%,26% 33%,40% 78%,55% 30%,69% 69%,84% 38%,100% 62%,100% 100%,0 100%);
}

.footer .logo {
    width: 230px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 28px;
}

.footer a {
    display: block;
    text-decoration: none;
    margin: 8px 0;
}

.footer a:hover {
    text-decoration: underline;
}

.footer strong {
    display: block;
    margin-bottom: 12px;
}

.copyright {
    border-top: 1px solid #ffffff50;
    margin-top: 26px;
    padding-top: 18px;
    font-size: 14px;
    text-align: center;
}

.page-hero {
    padding: 65px 0 48px;
    background: linear-gradient(105deg,#dff7fc,#fff4ea);
    border-radius: 0 0 45px 45px;
}

.page-hero h1 {
    font-size: clamp(32px,4vw,48px);
    margin: 0;
}

.page-hero p {
    font-size: 19px;
    max-width: 730px;
}

.content-card {
    max-width: 950px;
    background: white;
    border: 1px solid #d4edf2;
    border-radius: 25px;
    padding: 30px;
    margin: 30px auto;
    box-shadow: var(--shadow);
}

.content-card h2,.content-card h3 {
    color: var(--navy);
}

.content-card a:not(.btn) {
    color: #007f99;
}

.content-card table {
    width: 100%;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
}

.content-card td,.content-card th {
    padding: 12px;
    border-bottom: 1px solid #d5edf2;
    text-align: left;
}

.content-card details {
    padding: 14px 0;
    border-bottom: 1px solid #d6edf1;
}

.content-card summary {
    cursor: pointer;
    font-weight: 900;
}

.contact-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.notice {
    background: #fff4e8;
    border-left: 4px solid #ff7900;
    padding: 14px;
    border-radius: 8px;
}

@media (max-width:850px) {
    .header-inner {
        min-height: 95px;
    }

    .logo {
        width: 210px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 94px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 10px 20px #00445520;
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .nav.open {
        display: flex;
    }

    .hero {
        min-height: 410px;
    }

    .hero:before {
        left: 26%;
    }

    .hero:after {
        background: linear-gradient(90deg,#e9faff 0%,#e9faffef 34%,#e9faff8a 60%,transparent 100%);
    }

    .grid {
        gap: 14px;
    }

    .course-body {
        padding: 15px;
    }

    .course-body h3 {
        font-size: 21px;
    }

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

@media (max-width:650px) {
    .wrap {
        padding: 0 18px;
    }

    .hero {
        min-height: 460px;
    }

    .hero:before {
        inset: 0 0 0 10%;
        background-position: 57% center;
    }

    .hero:after {
        background: linear-gradient(90deg,#e9fafff5 0%,#e9faffd9 53%,#e9faff55 100%);
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero h1 {
        max-width: 360px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 19px;
    }

    .grid,.footer-grid {
        grid-template-columns: 1fr;
    }

    .course-card>a {
        height: 220px;
    }

    .course-body h3 {
        font-size: 27px;
    }

    .section-title {
        font-size: 27px;
    }

    .footer {
        padding-top: 42px;
    }

    .content-card {
        padding: 20px;
    }
}

/* Design 2026: echte, fließende SVG-Wellen statt eckiger Polygone */

.site-header:after {
    display: none;
}

.site-header {
    box-shadow: none;
    background: linear-gradient(105deg,#fff 5%,#ddf7fb 58%,#fff);
}

.site-header .header-inner {
    position: relative;
    z-index: 4;
}

.hero {
    min-height: 475px;
    margin-top: -1px;
    background: #d8f5fa;
}

.hero:before {
    inset: 0;
    background: url("hero-design.jpg") 68% 49%/cover no-repeat;
}

.hero:after {
    background: linear-gradient(90deg,#e6faff 0%,#e6faffee 25%,#e6faffb5 39%,#e6faff1c 60%,transparent 78%);
}

.hero-content {
    padding-top: 77px;
    padding-bottom: 91px;
}

.hero h1 {
    max-width: 530px;
    font-size: clamp(38px,4.6vw,61px);
}

.hero .eyebrow {
    margin: 12px 0 8px;
    font-size: clamp(21px,2.5vw,30px);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 78px;
    z-index: 2;
    pointer-events: none;
}

.header-wave {
    height: 57px;
    margin-bottom: -35px;
    position: relative;
    z-index: 4;
    pointer-events: none;
}

.header-wave svg,.hero-wave svg,.footer-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.section.courses {
    padding-top: 17px;
}

.course-card {
    display: flex;
    flex-direction: column;
    min-height: 370px;
    border-radius: 24px;
}

.course-card>a.course-photo {
    height: 205px;
    display: block;
    flex-shrink: 0;
}

.course-card>a.course-photo img {
    object-position: center 45%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 17px 22px 19px;
}

.course-body h3 {
    font-size: clamp(22px,2.3vw,29px);
    line-height: 1.13;
}

.course-description {
    font-size: 15px;
    line-height: 1.35;
    margin: 0 0 14px;
    color: #1d3e4c;
    min-height: 41px;
}

.course-bottom {
    margin-top: auto;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
}

.course-body .meta {
    margin: 0;
    display: block;
    font-size: 17px;
}

.course-body .meta span {
    display: block;
    margin: 5px 0;
}

.round-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(#ff9a00,#f36d00);
    color: white;
    display: grid;
    place-items: center;
    text-decoration: none;
    font-size: 30px;
    font-weight: 900;
    flex-shrink: 0;
}

.round-arrow:hover {
    filter: brightness(1.08);
}

.locations {
    border-radius: 0;
    background: linear-gradient(110deg,#ddf7fd,#f4fcfe 52%,#fff0e6);
    padding: 46px 0;
}

.locations .location-list {
    display: flex;
    gap: 16px;
}

.locations .location {
    box-shadow: 0 3px 12px #008aa014;
}

.locations .panel.peach {
    border-radius: 42px;
}

.footer {
    margin-top: 0;
    padding-top: 35px;
}

.footer:before {
    display: none;
}

.footer-wave {
    height: 74px;
    margin-bottom: -2px;
    background: #f8fdfe;
}

.footer .logo {
    filter: drop-shadow(0 2px 1px #fff5);
}

.footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
}

.page-hero {
    position: relative;
}

.page-hero:after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: #f8fdfe;
    clip-path: ellipse(70% 55% at 50% 100%);
}

@media (max-width:850px) {
    .header-wave {
        height: 35px;
        margin-bottom: -20px;
    }

    .hero:before {
        background-position: 62% center;
    }

    .course-card>a.course-photo {
        height: 170px;
    }

    .course-body {
        padding: 14px;
    }

    .course-description {
        min-height: 60px;
    }

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

@media (max-width:650px) {
    .hero {
        min-height: 490px;
    }

    .hero:before {
        background-position: 58% center;
    }

    .hero:after {
        background: linear-gradient(90deg,#e6fafff2 0%,#e6faffdc 52%,#e6faff42 100%);
    }

    .hero-content {
        padding-top: 70px;
    }

    .hero-wave {
        height: 52px;
    }

    .course-card>a.course-photo {
        height: 230px;
    }

    .course-description {
        min-height: 0;
    }

    .course-body {
        padding: 20px;
    }

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

    .footer-wave {
        height: 52px;
    }

    .locations .location-list {
        flex-direction: column;
    }
}
