@charset "UTF-8";

:root{
    --primary:#0b3558;
    --primary-dark:#07263f;
    --secondary:#14b8c9;
    --accent:#ff7a59;
    --bg:#f4f8fb;
    --surface:#ffffff;
    --text:#143047;
    --muted:#5d7284;
    --border:#d9e5ef;
    --success:#1f8f5f;
    --danger:#c0392b;
    --shadow:0 12px 30px rgba(7,38,63,.08);
    --radius:18px;
    --radius-sm:12px;
    --container:1140px;
}

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

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    color:var(--text);
    background:var(--surface);
    line-height:1.65;
    overflow-x:hidden;
}

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

a{
    color:var(--primary);
    text-decoration:none;
}

a:hover{
    color:var(--secondary);
}

.container{
    width:min(100% - 2rem, var(--container));
    margin-inline:auto;
}

/* =========================================
   Header
========================================= */
.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.94);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(217,229,239,.8);
}

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

.logo{
    display:flex;
    align-items:center;
    gap:.85rem;
    color:var(--text);
    min-width:0;
}

.logo-image{
    width:160px;
    height:auto;
    object-fit:contain;
    flex-shrink:0;
    display:block;
}

.logo-text{
    display:flex;
    flex-direction:column;
    line-height:1.1;
}

.logo-text strong{
    font-size:1.05rem;
}

.logo-text small{
    color:var(--muted);
    font-size:.82rem;
}

.main-nav ul{
    margin:0;
    padding:0;
    list-style:none;
    display:flex;
    align-items:center;
    gap:1rem;
}

.main-nav a{
    padding:.7rem .85rem;
    border-radius:999px;
    font-weight:600;
    color:var(--text);
}

.main-nav a.active,
.main-nav a:hover{
    background:#eaf5f8;
    color:var(--primary);
}

.nav-toggle{
    display:none;
    background:none;
    border:0;
    padding:.25rem;
    cursor:pointer;
}

.nav-toggle span{
    display:block;
    width:28px;
    height:3px;
    background:var(--primary);
    margin:5px 0;
    border-radius:10px;
}

/* Desktop: nur Logo anzeigen, dafür größer */
@media (min-width: 821px){
    .header-inner{
        min-height:110px;
    }

    .logo{
        gap:0;
        align-items:center;
    }

    .logo-text{
        display:none;
    }

    .logo-image{
        width:220px;
        height:auto;
    }
}
		
@media (max-width: 820px){
    .header-inner{
        min-height:102px;
    }

    .logo{
        gap:.85rem;
        align-items:center;
    }

    .logo-text{
        display:flex;
    }

    .logo-image{
        width:106px;
        height:auto;
    }
}

/* =========================================
   Allgemein
========================================= */
.section{
    padding:4.5rem 0;
}

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

.section-header{
    max-width:740px;
    margin-bottom:2rem;
}

.section-eyebrow{
    display:inline-block;
    font-size:.86rem;
    font-weight:700;
    color:var(--secondary);
    text-transform:uppercase;
    letter-spacing:.12em;
    margin-bottom:.6rem;
}

h1,h2,h3{
    line-height:1.2;
    margin:0 0 1rem;
}

h1{
    font-size:clamp(2rem, 6vw, 4rem);
}

h2{
    font-size:clamp(1.6rem, 4vw, 2.4rem);
}

h3{
    font-size:1.2rem;
}

p{
    margin:0 0 1rem;
}

.lead{
    font-size:1.1rem;
    color:var(--muted);
}

.hidden{
    display:none !important;
}

/* =========================================
   Buttons
========================================= */
.btn-group{
    display:flex;
    flex-wrap:wrap;
    gap:.9rem;
    margin-top:1.4rem;
}

.btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.5rem;
    padding:.95rem 1.35rem;
    border-radius:999px;
    font-weight:700;
    transition:.25s ease;
    border:2px solid transparent;
    cursor:pointer;
    text-decoration:none;
    overflow:hidden;
    isolation:isolate;
}

.btn-primary{
    color:#fff;
    background:transparent;
    box-shadow:var(--shadow);
}

.btn-primary::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    z-index:-1;
}

.btn-primary:hover{
    transform:translateY(-2px);
    color:#fff;
    filter:saturate(1.08);
}

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

.btn-secondary:hover{
    border-color:var(--secondary);
}

.btn-outline{
    border-color:#fff;
    color:#fff;
    background:transparent;
}

.btn-outline:hover{
    background:rgba(255,255,255,.1);
    color:#fff;
}
/* =========================================
   Hero / Page Hero
========================================= */
.hero{
    position:relative;
    color:#fff;
    background:
      linear-gradient(135deg, rgba(7,38,63,.92), rgba(20,184,201,.72)),
      url("../images/hero.jpg") center/cover no-repeat;
}

.hero .container{
    min-height:78vh;
    display:grid;
    align-items:center;
    padding:5rem 0;
}

.hero-content{
    max-width:100%;
}

.hero p,
.page-hero p{
    color:rgba(255,255,255,.92);
    font-size:1.08rem;
}

.page-hero{
    background:linear-gradient(135deg, rgba(11,53,88,.96), rgba(20,184,201,.82));
    color:#fff;
    padding:5rem 0 3.5rem;
}

.page-hero p{
    max-width:760px;
}

.kicker{
    display:inline-block;
    margin-bottom:.8rem;
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:.85rem;
    font-weight:700;
    color:#9feef5;
}

.hero-badges{
    display:flex;
    flex-wrap:wrap;
    gap:.75rem;
    margin:1.4rem 0 0;
}

.badge{
    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.18);
    color:#fff;
    padding:.55rem .9rem;
    border-radius:999px;
    font-weight:600;
    backdrop-filter:blur(8px);
}

/* Hero mit PADI Logo oben rechts */
.hero-split{
    display:grid;
    grid-template-columns:minmax(0, 1.2fr) minmax(180px, 0.8fr);
    gap:2rem;
    width:100%;
}

.hero-split-top{
    align-items:start;
}

.hero-copy{
    min-width:0;
}

.hero-padi-logo-wrap{
    display:flex;
}

.hero-padi-logo-top{
    justify-content:flex-end;
    align-items:flex-start;
    padding-top:0;
}

.hero-padi-logo{
    width:clamp(180px, 26vw, 320px);
    height:auto;
    display:block;
}

/* =========================================
   Cards / Layout
========================================= */
.grid{
    display:grid;
    gap:1.25rem;
}

.grid > *{
    min-width:0;
}

.grid-2{
    grid-template-columns:repeat(2,minmax(0,1fr));
}

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

.grid-4{
    grid-template-columns:repeat(4,minmax(0,1fr));
}

.card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:1.5rem;
    box-shadow:var(--shadow);
    height:100%;
}

.card-icon{
    width:54px;
    height:54px;
    border-radius:16px;
    display:grid;
    place-items:center;
    font-size:1.4rem;
    background:linear-gradient(135deg, rgba(11,53,88,.12), rgba(20,184,201,.14));
    margin-bottom:1rem;
}

.card p{
    color:var(--muted);
}

.split{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:2rem;
    align-items:center;
}

.split-stretch{
    align-items:stretch;
}

/* =========================================
   Bild-Container
========================================= */
.image-card{
    overflow:hidden;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    border:1px solid var(--border);
    background:#dcecf3;
    min-height:340px;
    height:100%;
    display:block;
}

.image-card img{
    width:100%;
    height:100%;
    min-height:340px;
    object-fit:cover;
    object-position:center;
    display:block;
}

/* =========================================
   Map
========================================= */
.map-embed{
    border-radius:var(--radius);
    overflow:hidden;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    background:#dcecf3;
    min-height:340px;
    height:100%;
    display:flex;
    flex-direction:column;
}

.map-embed iframe{
    display:block;
    width:100%;
    border:0;
    flex:1 1 auto;
    min-height:340px;
    height:100%;
}

.map-credit{
    display:block;
    padding:.6rem .9rem;
    font-size:.9rem;
    background:#fff;
    color:var(--muted);
    border-top:1px solid var(--border);
    flex-shrink:0;
}

.map-credit a{
    color:var(--primary);
    font-weight:600;
}

/* =========================================
   Info / Notices / Listen
========================================= */
.info-box{
    background:#eef7fb;
    border:1px solid #cfe8ef;
    border-radius:var(--radius-sm);
    padding:1rem 1.1rem;
    color:var(--text);
}

.notice{
    padding:1rem 1.1rem;
    border-radius:var(--radius-sm);
    margin-bottom:1rem;
    font-weight:600;
}

.notice.success{
    background:#ebf8f1;
    color:var(--success);
    border:1px solid #bfe6cf;
}

.notice.error{
    background:#fdeeee;
    color:var(--danger);
    border:1px solid #f2c5c1;
}

.check-list{
    list-style:none;
    padding:0;
    margin:1rem 0 0;
}

.check-list li{
    position:relative;
    padding-left:1.8rem;
    margin-bottom:.8rem;
}

.check-list li::before{
    content:"\2713";
    position:absolute;
    left:0;
    top:0;
    color:var(--secondary);
    font-weight:800;
}

/* =========================================
   Tabellen
========================================= */
.table-hint{
    display:none;
    align-items:center;
    gap:.55rem;
    margin:0 0 .65rem;
    color:var(--muted);
    font-size:.92rem;
    font-weight:600;
}

.table-hint::before{
    content:"\2194";
    display:inline-grid;
    place-items:center;
    width:28px;
    height:28px;
    border-radius:999px;
    background:#eef7fb;
    color:var(--primary);
    flex-shrink:0;
}

.table-wrap{
    position:relative;
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-x:contain;
    touch-action:pan-x pan-y;
    border:1px solid var(--border);
    border-radius:var(--radius);
    background:#fff;
    box-shadow:var(--shadow);
    scrollbar-width:thin;
    scrollbar-color:rgba(11,53,88,.35) transparent;
}

.table-wrap::-webkit-scrollbar{
    height:10px;
}

.table-wrap::-webkit-scrollbar-track{
    background:transparent;
}

.table-wrap::-webkit-scrollbar-thumb{
    background:rgba(11,53,88,.28);
    border-radius:999px;
}

.table-wrap::-webkit-scrollbar-thumb:hover{
    background:rgba(11,53,88,.42);
}

/* Desktop-Basis */
.table-wrap table{
    width:100%;
    table-layout:fixed;
    border-collapse:separate;
    border-spacing:0;
}

th, td{
    padding:1rem;
    text-align:left;
    border-bottom:1px solid var(--border);
    vertical-align:top;
    background:#fff;
    white-space:normal;
    word-break:break-word;
}

th{
    background:#f0f7fa;
    font-size:.95rem;
    position:sticky;
    top:0;
    z-index:2;
}

/* Erste Spalte standardmäßig sticky */
.table-wrap table th:first-child,
.table-wrap table td:first-child{
    position:sticky;
    left:0;
    z-index:2;
    background:#fff;
    box-shadow:8px 0 12px rgba(7,38,63,.04);
}

.table-wrap table th:first-child{
    z-index:4;
    background:#f0f7fa;
}

tbody tr:hover td{
    background:#fbfdff;
}

.table-wrap table tbody tr:hover td:first-child{
    background:#fbfdff;
}

/* Preislisten: Zahlen mittig */
.table-wrap.table-pricing th:not(:first-child),
.table-wrap.table-pricing td:not(:first-child){
    text-align:center;
}

/* Zwei-Spalten-Tabellen */
.table-two-col table{
    width:100%;
    min-width:100%;
    table-layout:fixed;
}

.table-two-col th:first-child,
.table-two-col td:first-child{
    width:72%;
}

.table-two-col th:last-child,
.table-two-col td:last-child{
    width:28%;
}

/* Speziell für Leihservice */
.leihservice-section,
.leihservice-section .container,
.leihservice-section .grid,
.leihservice-section article{
    max-width:100%;
    min-width:0;
}

/* =========================================
   CTA
========================================= */
.cta{
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff;
    border-radius:28px;
    padding:2.2rem;
    box-shadow:var(--shadow);
}

.cta p{
    color:rgba(255,255,255,.92);
}

/* =========================================
   Formulare
========================================= */
.form-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:1rem;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:.4rem;
}

.form-group.full{
    grid-column:1 / -1;
}

label{
    font-weight:700;
    font-size:.95rem;
}

input,
textarea{
    width:100%;
    border:1px solid var(--border);
    border-radius:14px;
    padding:.95rem 1rem;
    font:inherit;
    color:var(--text);
    background:#fff;
}

input:focus,
textarea:focus{
    outline:none;
    border-color:var(--secondary);
    box-shadow:0 0 0 4px rgba(20,184,201,.12);
}

textarea{
    min-height:160px;
    resize:vertical;
}

.checkbox{
    display:flex;
    align-items:flex-start;
    gap:.8rem;
}

/* =========================================
   Footer
========================================= */
.site-footer{
    background:var(--primary-dark);
    color:#e8f3f7;
    margin-top:4rem;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:2rem;
    padding:3.5rem 0 2rem;
}

.site-footer h3{
    color:#fff;
    margin-bottom:.9rem;
}

.site-footer a{
    color:#d8edf3;
}

.site-footer a:hover{
    color:#fff;
}

.footer-links{
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    gap:.55rem;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.12);
}

.footer-bottom-inner{
    padding:1rem 0;
    display:flex;
    justify-content:center;
    text-align:center;
    color:#c7dbe4;
    font-size:.92rem;
}

/* =========================================
   Kurs-Roadmap / Accordions
========================================= */
.course-journey{
    position:relative;
    display:grid;
    gap:1.4rem;
}

.course-journey::before{
    content:"";
    position:absolute;
    left:28px;
    top:16px;
    bottom:220px;
    width:3px;
    background:linear-gradient(to bottom, var(--secondary), rgba(20,184,201,.15));
}

.journey-step{
    position:relative;
    display:grid;
    grid-template-columns:72px 1fr;
    gap:1rem;
    align-items:start;
}

.journey-marker{
    position:relative;
    z-index:2;
    width:56px;
    height:56px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff;
    font-weight:800;
    font-size:1rem;
    box-shadow:0 16px 32px rgba(11,53,88,.18);
    margin-top:.35rem;
}

.journey-card{
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(10px);
    border:1px solid rgba(217,229,239,.95);
    border-radius:24px;
    padding:1.35rem;
    box-shadow:0 18px 42px rgba(7,38,63,.08);
}

.journey-topline{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:1rem;
    flex-wrap:wrap;
}

.journey-title{
    margin:0;
    font-size:1.28rem;
}

.journey-subtitle{
    margin:.3rem 0 0;
    color:var(--muted);
}

.journey-badges{
    display:flex;
    flex-wrap:wrap;
    gap:.45rem;
    margin-top:.8rem;
}

.journey-badge{
    display:inline-flex;
    align-items:center;
    padding:.4rem .75rem;
    border-radius:999px;
    background:#eef7fb;
    border:1px solid #cfe8ef;
    color:var(--primary);
    font-size:.82rem;
    font-weight:700;
}

.course-accordion{
    margin-top:1rem;
    border-top:1px solid var(--border);
    padding-top:1rem;
}

.course-accordion details{
    border:1px solid var(--border);
    border-radius:18px;
    background:#fbfdff;
    overflow:hidden;
}

.course-accordion summary{
    list-style:none;
    cursor:pointer;
    padding:1rem 1.1rem;
    font-weight:800;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
}

.course-accordion summary::-webkit-details-marker{
    display:none;
}

.course-accordion summary::after{
    content:"+";
    flex-shrink:0;
    width:30px;
    height:30px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#eaf6fb;
    color:var(--primary);
    font-size:1.2rem;
    font-weight:700;
    line-height:1;
}

.course-accordion details[open] summary::after{
    content:"-";
}

.course-accordion-content{
    padding:0 1.1rem 1.1rem;
    color:var(--muted);
}

.course-accordion-content p:last-child{
    margin-bottom:0;
}

.branch-zone{
    position:relative;
    margin-top:1rem;
    padding-top:1.2rem;
}

.branch-zone::before{
    content:"";
    position:absolute;
    left:28px;
    top:0;
    width:2px;
    height:42px;
    background:var(--secondary);
}

.branch-header{
    margin-left:72px;
    margin-bottom:.85rem;
    padding:1rem 1.2rem;
    border-radius:18px;
    background:linear-gradient(135deg, rgba(11,53,88,.96), rgba(20,184,201,.82));
    color:#fff;
    box-shadow:0 16px 40px rgba(11,53,88,.14);
}

.branch-header h3{
    margin:0 0 .35rem;
    color:#fff;
}

.branch-header p{
    margin:0;
    color:rgba(255,255,255,.92);
}

.branch-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1.2rem;
    margin-left:72px;
}

.branch-card{
    position:relative;
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:24px;
    padding:1.25rem;
    box-shadow:0 18px 42px rgba(7,38,63,.08);
}

.branch-card::before{
    content:"";
    position:absolute;
    left:22px;
    top:-26px;
    width:2px;
    height:26px;
    background:linear-gradient(to bottom, rgba(20,184,201,.15), var(--secondary));
}

.branch-label{
    display:inline-block;
    margin-bottom:.65rem;
    font-size:.8rem;
    letter-spacing:.08em;
    text-transform:uppercase;
    font-weight:800;
    color:var(--secondary);
}

.branch-card h3{
    margin-bottom:.45rem;
}

.branch-note{
    color:var(--muted);
    margin-bottom:1rem;
}

.path-stack{
    display:grid;
    gap:.85rem;
}

.path-box{
    border:1px solid var(--border);
    border-radius:18px;
    background:#fbfdff;
    overflow:hidden;
}

.path-box-head{
    padding:1rem 1rem .9rem;
}

.path-box-head strong{
    display:block;
    font-size:1.03rem;
    color:var(--text);
    margin-bottom:.25rem;
}

.path-box-head span{
    color:var(--muted);
    font-size:.95rem;
}

.journey-cta{
    margin-top:1.5rem;
    padding:1.5rem;
    border-radius:24px;
    background:linear-gradient(135deg, rgba(11,53,88,.98), rgba(20,184,201,.88));
    color:#fff;
    box-shadow:0 18px 42px rgba(7,38,63,.12);
}

.journey-cta h3{
    color:#fff;
    margin:0 0 .55rem;
}

.journey-cta p{
    margin:0;
    color:rgba(255,255,255,.92);
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 1024px){
    .grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}
    .grid-3{grid-template-columns:repeat(2,minmax(0,1fr));}
    .split{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width: 980px){
    .branch-grid{grid-template-columns:1fr;}
}

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

    .logo{
        gap:.75rem;
        align-items:center;
    }

    .logo-text{
        display:flex;
    }

    .logo-image{
        width:72px;
        height:auto;
    }

    .nav-toggle{
        display:block;
    }

    .main-nav{
        position:absolute;
        left:0;
        right:0;
        top:76px;
        background:#fff;
        border-bottom:1px solid var(--border);
        box-shadow:var(--shadow);
        display:none;
    }

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

    .main-nav ul{
        flex-direction:column;
        align-items:stretch;
        gap:0;
        padding:.5rem 1rem 1rem;
    }

    .main-nav a{
        display:block;
        border-radius:12px;
    }

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

    .hero .container{
        min-height:70vh;
    }

    .section{
        padding:3.5rem 0;
    }

    .map-embed iframe{
        min-height:320px;
    }

    .hero-split{
        grid-template-columns:1fr;
        gap:1.25rem;
        align-items:start;
    }

    .hero-padi-logo-wrap{
        justify-content:flex-start;
        order:-1;
    }

    .hero-padi-logo{
        width:180px;
        max-width:100%;
    }

    .table-hint{
        display:flex;
    }

    .table-wrap{
        width:100%;
        max-width:100%;
        border-radius:16px;
        margin-inline:0;
    }

    /* Standard: breite Tabellen swipebar */
    .table-wrap table{
        width:max-content;
        min-width:720px;
        table-layout:auto;
    }

    .table-wrap.table-compact table{
        min-width:520px;
    }

    .table-wrap.table-wide table{
        min-width:920px;
    }

    .table-wrap.table-pricing table{
        min-width:840px;
    }

    th, td{
        padding:.9rem .85rem;
        font-size:.95rem;
        white-space:nowrap;
        word-break:normal;
    }

    td small{
        white-space:normal;
        display:inline-block;
    }

    /* 2-spaltige Tabellen NICHT swipebar */
    .table-wrap.table-two-col{
        overflow-x:visible;
    }

    .table-wrap.table-two-col table,
    .table-wrap.table-two-col.table-compact table,
    .table-wrap.table-two-col.table-wide table,
    .table-wrap.table-two-col.table-pricing table{
        width:100% !important;
        min-width:100% !important;
        table-layout:fixed;
    }

    .table-wrap.table-two-col th:first-child,
    .table-wrap.table-two-col td:first-child{
        position:static;
        left:auto;
        box-shadow:none;
        width:66%;
    }

    .table-wrap.table-two-col th:last-child,
    .table-wrap.table-two-col td:last-child{
        width:34%;
        text-align:left;
        white-space:nowrap;
    }

    .table-wrap.table-two-col th,
    .table-wrap.table-two-col td{
        white-space:normal;
        word-break:normal;
        overflow-wrap:normal;
        hyphens:none;
        line-height:1.45;
        font-size:.9rem;
        padding:.75rem .65rem;
        vertical-align:top;
    }

    /* Leihservice: nur Tabellen swipebar */
    .leihservice-section{
        overflow-x:hidden;
    }

    .leihservice-section .table-wrap{
        overflow-x:auto;
        overflow-y:hidden;
        -webkit-overflow-scrolling:touch;
        touch-action:pan-x pan-y;
    }

    .leihservice-section .table-wrap.table-pricing table{
        width:max-content !important;
        min-width:840px !important;
        table-layout:auto !important;
    }

    .leihservice-section .table-wrap.table-pricing th,
    .leihservice-section .table-wrap.table-pricing td{
        white-space:nowrap;
    }
}

@media (max-width: 760px){
    .course-journey::before{
        left:22px;
        bottom:280px;
    }

    .journey-step{
        grid-template-columns:56px 1fr;
    }

    .journey-marker{
        width:44px;
        height:44px;
        font-size:.95rem;
    }

    .branch-header,
    .branch-grid{
        margin-left:56px;
    }

    .branch-zone::before{
        left:22px;
    }
}

@media (max-width: 540px){
    .container{
        width:min(100% - 1.2rem, var(--container));
    }

    .btn{
        width:100%;
    }

    .btn-group{
        flex-direction:column;
    }

    .logo-image{
        width:60px;
        height:auto;
    }

    .logo-text small{
        display:none;
    }

    .journey-card,
    .branch-card,
    .branch-header,
    .journey-cta{
        padding:1rem;
        border-radius:18px;
    }

    .journey-title{
        font-size:1.12rem;
    }

    .course-accordion summary{
        padding:.9rem 1rem;
    }

    .course-accordion-content{
        padding:0 1rem 1rem;
    }

    .table-wrap{
        border-radius:14px;
    }

    th, td{
        padding:.8rem .8rem;
        font-size:.93rem;
    }

    .table-hint{
        font-size:.88rem;
        margin-bottom:.55rem;
    }

    .table-wrap.table-two-col th,
    .table-wrap.table-two-col td{
        font-size:.88rem;
        padding:.7rem .55rem;
    }

    .table-wrap.table-two-col th:first-child,
    .table-wrap.table-two-col td:first-child{
        width:64%;
    }

    .table-wrap.table-two-col th:last-child,
    .table-wrap.table-two-col td:last-child{
        width:36%;
    }
}

/* =========================================
   Tauchklub Galerie
========================================= */

.club-gallery-grid{
    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:1rem;
    align-items:start;
}

.club-gallery-card{
    margin:0;
    padding:0;
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow);
}

.club-gallery-card img{
    display:block;
    width:100%;
    height:220px;
    object-fit:cover;
}

.club-gallery-more.is-hidden{
    display:none;
}

@media (max-width: 980px){
    .club-gallery-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
    }

    .club-gallery-card img{
        height:200px;
    }
}

@media (max-width: 820px){
    .club-gallery-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:.85rem;
    }

    .club-gallery-card{
        border-radius:16px;
    }

    .club-gallery-card img{
        height:180px;
    }
}

@media (max-width: 540px){
    .club-gallery-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:.75rem;
    }

    .club-gallery-card{
        border-radius:14px;
    }

    .club-gallery-card img{
        height:145px;
    }
}
		.card-list-plain{
    margin:0;
    padding-left:1.2rem;
    color:var(--muted);
    font-size:1rem;
    line-height:1.65;
}

.card-list-plain li{
    color:inherit;
    font-size:inherit;
    line-height:inherit;
    margin:0 0 .45rem;
}
		
/* =========================================
   Tauchklub Mitgliedsbeitrag
========================================= */
.club-membership-card{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.club-price-box{
    margin-top:1rem;
    padding:1rem 1.1rem;
    background:linear-gradient(135deg, #f3f9fc, #eaf6fb);
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:0 10px 24px rgba(7,38,63,.06);
}

.club-price-label{
    display:block;
    margin-bottom:.35rem;
    font-size:.9rem;
    font-weight:700;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:.06em;
}

.club-price-value{
    display:block;
    font-size:2rem;
    line-height:1.1;
    font-weight:800;
    color:var(--primary-dark);
}

.club-price-period{
    display:block;
    margin-top:.25rem;
    font-size:.95rem;
    color:var(--text);
}

@media (max-width: 540px){
    .club-price-box{
        padding:.95rem 1rem;
        border-radius:16px;
    }

    .club-price-value{
        font-size:1.5rem;
    }
}
/* =========================================
   Team Cards
========================================= */
.team-card{
    text-align:left;
}

.team-photo{
    width:100%;
    aspect-ratio:4 / 3;
    margin-bottom:1rem;
    border-radius:16px;
    overflow:hidden;
    background:#eef4f8;
    border:1px solid var(--border);
    box-shadow:0 8px 20px rgba(7,38,63,.06);
}

.team-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
		/* =========================================
   Team Cards – kompakte runde Portraits
========================================= */
.team-card{
    text-align:center;
}

.team-avatar{
    width:112px;
    height:112px;
    margin:0 auto 1rem;
    border-radius:50%;
    overflow:hidden;
    border:3px solid #fff;
    background:#eef4f8;
    box-shadow:0 10px 24px rgba(7,38,63,.10);
}

.team-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}

/* Optional: Name etwas näher ans Bild */
.team-card h3{
    margin-top:0;
}

@media (max-width: 820px){
    .team-avatar{
        width:100px;
        height:100px;
    }
}

@media (max-width: 540px){
    .team-avatar{
        width:88px;
        height:88px;
        margin-bottom:.9rem;
    }
}
		
		/* =========================================
   Hero – Wiedererkennungsbild über dem Kicker
========================================= */
.hero-memory-badge{
    margin:0 0 1rem;
}

.hero-memory-image{
    width:272px;
    height:144px;
    border-radius:50%;
    object-fit:cover;
    object-position:center;
    display:block;
    background:#fff;
    border:4px solid rgba(255,255,255,.92);
    box-shadow:0 12px 28px rgba(7,38,63,.18);
}

@media (max-width: 820px){
    .hero-memory-image{
        width:92px;
        height:92px;
    }
}

@media (max-width: 540px){
    .hero-memory-badge{
        margin:0 0 .9rem;
    }

    .hero-memory-image{
        width:82px;
        height:82px;
        border-width:3px;
    }
}
		
		
/* =========================================
   Specialty Kurslinks in der kurse.php
========================================= */
.specialty-link-list{
    margin:0;
    padding-left:1.2rem;
    columns:2;
    column-gap:2rem;
}

.specialty-link-list li{
    margin:0 0 .6rem;
    break-inside:avoid;
    line-height:1.55;
}

.specialty-link-list a{
    color:var(--text);
    font-weight:600;
    text-decoration:none;
}

.specialty-link-list a:hover{
    color:var(--secondary);
    text-decoration:underline;
}

@media (max-width: 820px){
    .specialty-link-list{
        columns:1;
    }
}
		
		.specialty-link-list{
    margin:0;
    padding-left:1.2rem;
    columns:1;
}

.specialty-link-list li{
    margin:0 0 .55rem;
    line-height:1.55;
}

.specialty-link-list a{
    color:var(--text);
    font-weight:600;
    text-decoration:none;
}

.specialty-link-list a:hover{
    color:var(--secondary);
    text-decoration:underline;
}

/* =========================================
   Tauchklub – Ehrenmitglied
========================================= */
.club-honor-section{
    position:relative;
    z-index:1;
}

.club-honor-grid{
    align-items:start;
    gap:1.5rem;
}

.club-honor-image-card{
    padding:1rem;
    overflow:hidden;
    border-radius:24px;
    display:flex;
    align-items:center;
    justify-content:center;
    height:auto; /* wird per JS gesetzt */
}

.club-honor-image{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center center;
    border-radius:18px;
    background:#eef4f8;
}

.club-honor-text-card h2{
    margin-top:.35rem;
}

.club-honor-text-card .lead{
    margin-bottom:1rem;
}

.club-honor-text-card p + p{
    margin-top:1rem;
}

@media (max-width: 820px){
    .club-honor-grid{
        gap:1.25rem;
    }

    .club-honor-image-card{
        padding:.85rem;
        border-radius:20px;
    }

    .club-honor-image{
        border-radius:16px;
    }
}

@media (max-width: 540px){
    .club-honor-image-card{
        padding:.75rem;
        border-radius:18px;
    }

    .club-honor-image{
        border-radius:14px;
    }
}
		
/* =========================================
   Footer Social Links
========================================= */
.footer-socials{
    display:flex;
    flex-direction:column;
    gap:.75rem;
    margin-top:1rem;
}

.footer-social-link{
    display:inline-flex;
    align-items:center;
    gap:.65rem;
    color:inherit;
    text-decoration:none;
    font-weight:600;
}

.footer-social-link:hover{
    color:var(--secondary);
}

.footer-social-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:2.2rem;
    height:2.2rem;
    border-radius:999px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    flex-shrink:0;
}

.footer-social-icon svg{
    width:1.15rem;
    height:1.15rem;
    fill:currentColor;
}
/* =========================================
   Rechtliches / legal-card
========================================= */
.legal-card{
    line-height:1.7;
}

.legal-card h2{
    margin-top:2rem;
    margin-bottom:.75rem;
    font-size:1.35rem;
}

.legal-card h2:first-child{
    margin-top:0;
}

.legal-card p{
    margin:0 0 1rem;
}

.legal-card ul{
    margin:0 0 1rem;
    padding-left:1.25rem;
}

.legal-card li{
    margin:0 0 .55rem;
}

.legal-card a{
    color:var(--secondary);
    text-decoration:none;
    word-break:break-word;
}

.legal-card a:hover{
    text-decoration:underline;
}

.legal-note{
    margin-top:2rem;
    font-size:.95rem;
    opacity:.85;
}
		/* =========================================
   DDS Hinweis / Kontakt
========================================= */
.contact-dds-box{
    margin-top:1rem;
}

.contact-dds-note{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    margin-top:.5rem;
    padding:.9rem 1rem;
    border-radius:16px;
    background:#f6f8fb;
    border:1px solid rgba(7, 38, 63, 0.08);
}

.contact-dds-note span{
    flex:1;
    line-height:1.5;
}

.contact-dds-logo{
    width:120px;
    max-width:35%;
    height:auto;
    object-fit:contain;
    flex-shrink:0;
}

@media (max-width: 640px){
    .contact-dds-note{
        flex-direction:column;
        align-items:flex-start;
    }

    .contact-dds-logo{
        width:110px;
        max-width:100%;
    }
}
		/* =========================================
   Kontaktseite Layout
========================================= */
.contact-layout{
    display:grid;
    grid-template-columns:minmax(320px, 1fr) minmax(320px, 1fr);
    gap:2rem;
    align-items:start;
}

.contact-sidebar,
.contact-form-wrap{
    min-width:0;
}

.contact-sidebar .card,
.contact-form-wrap .card{
    height:auto;
}

/* DDS Hinweis */
.contact-dds-box{
    margin-top:1rem;
}

.contact-dds-note{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    margin-top:.5rem;
    padding:.9rem 1rem;
    border-radius:16px;
    background:#f6f8fb;
    border:1px solid rgba(7, 38, 63, 0.08);
}

.contact-dds-note span{
    flex:1;
    line-height:1.5;
}

.contact-dds-logo{
    width:85px;
    max-width:28%;
    height:auto;
    object-fit:contain;
    flex-shrink:0;
    opacity:.65;
    filter:grayscale(100%);
}

/* Karte */
.map-embed iframe{
    width:100%;
    max-width:100%;
    border:0;
    border-radius:16px;
    display:block;
}

.map-credit{
    margin-top:.35rem;
    font-size:.85rem;
    opacity:.7;
}

.map-credit a{
    color:inherit;
    text-decoration:none;
}

.map-credit a:hover{
    text-decoration:underline;
}

/* Mobile */
@media (max-width: 900px){
    .contact-layout{
        grid-template-columns:1fr;
        gap:1.5rem;
    }
}

@media (max-width: 640px){
    .contact-dds-note{
        flex-direction:column;
        align-items:flex-start;
    }

    .contact-dds-logo{
        width:80px;
        max-width:100%;
    }
}
		
		/* =========================================
   Kartenlogo statt Emoji-Icon
========================================= */
.card-logo-badge{
    width:3.25rem;
    height:3.25rem;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:rgba(255,255,255,.95);
    box-shadow:0 8px 20px rgba(7, 38, 63, 0.10);
    margin-bottom:1rem;
    overflow:hidden;
}

.card-logo-icon{
    width:80%;
    height:80%;
    object-fit:contain;
    display:block;
}