* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #e0e0e0;
    font-family: system-ui, sans-serif;
}


/* =========================================
   HEADER
========================================= */

.site-header {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    z-index: 20;
}

.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(4px);
}

.logo-wrap img {
    display: block;
    width: auto;
    height: 48px;
}

.main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 4%;
}

.main-nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav a {
    color: #222;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.main-nav a:hover {
    color: #1f66b5;
}

.nav-burger {
    position: absolute;
    top: 14px;
    right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    margin-top: -2px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-burger span {
    display: block;
    height: 2px;
    background: #444;
    border-radius: 1px;
}


/* =========================================
   NAV PANEL
========================================= */

.nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 15;
    display: none;
    width: 100%;
    max-height: 70vh;
    margin-top: 8px;
    overflow: auto;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    opacity: 0.92;
}

.nav-panel.is-open {
    display: block;
}

.nav-panel-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 16px 24px 20px;
    font-size: 14px;
}

.nav-panel-section h3 {
    margin: 0 0 8px;
    color: #222;
    font-size: 14px;
    font-weight: 600;
}

.nav-panel-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-panel-section li + li {
    margin-top: 4px;
}

.nav-panel-section a {
    color: #444;
    text-decoration: none;
}

.nav-panel-section a:hover {
    color: #1f66b5;
}

body.nav-open {
    overflow: hidden;
}


/* =========================================
   HERO
========================================= */

.hero-wrap {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero {
    position: relative;
    height: 72vh;
    min-height: 540px;
    max-height: 860px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15) 0%,
        rgba(0,0,0,0.10) 40%,
        rgba(0,0,0,0.05) 100%
    );
}

.hero picture,
.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero img {
    object-fit: cover;
    object-position: 70% 85%;
}

.hero--fade-slider .heroTrack {
    position: relative;
    height: 100%;
}

.hero--fade-slider .heroSlide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero--fade-slider .heroSlide.active {
    z-index: 2;
    opacity: 1;
}

.hero--fade-slider .heroSlide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 85%;
}

.hero-content {
    position: absolute;
    top: 25%;
    left: 88px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
    color: #ffffff;
}

.hero-title {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    text-shadow:
        0 2px 6px rgba(0,0,0,0.45),
        0 6px 18px rgba(0,0,0,0.35);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 22px;
    border: none;
    border-radius: 999px;
    background: #0055aa;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.45);
}

.hero-btn:hover {
    background: #004388;
}

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


/* =========================================
CAROUSEL
========================================= */



.sgh-carousel {
    position: relative;
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 6px;
}

.sgh-carousel__viewport {
    overflow: hidden;
}

.sgh-carousel__track {
    display: flex;
    gap: 18px;
    padding: 6px 0 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sgh-carousel__track::-webkit-scrollbar {
    display: none;
}

.sgh-carousel__arrow {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #2b2b2b;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 120ms ease, transform 120ms ease;
}

.sgh-carousel__arrow:hover {
    opacity: 1;
    transform: scale(1.05);
}

.sgh-aktuelles__cta,
.sgh-kurse__cta {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.sgh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 10px 30px;
    border-radius: 999px;
    background: #0055aa;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.sgh-btn:hover {
    background: #004388;
}


/* =========================================
   AKTUELLES
   ========================================= */
.sgh-aktuelles {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 56px 34px;
    background: #ffffff;
}

.sgh-aktuelles__title {
    margin: 0 0 14px 0;
    color: #0b4e97;
    font-size: 32px;
    font-weight: 800;
}
.sgh-aktuelles-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.5rem;
}

.sgh-aktuell-main,
.sgh-aktuell-teaser {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.sgh-aktuell-main__img img,
.sgh-aktuell-teaser__img img {
  display: block;
  width: 100%;
  height: auto;
}

.sgh-aktuell-main__body {
  padding: 1.2rem 1.2rem 1.4rem;
}

.sgh-aktuell-main__meta,
.sgh-aktuell-teaser__meta {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4c647d;
  margin-bottom: 0.45rem;
}

.sgh-aktuell-main__title {
  margin: 0 0 0.6rem 0;
  font-size: 1.5rem;
  line-height: 1.2;
}

.sgh-aktuell-main__text {
  margin: 0;
  line-height: 1.5;
}

.sgh-aktuell-side {
  display: grid;
  gap: 1.5rem;
}

.sgh-aktuell-teaser {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 180px;
}

.sgh-aktuell-teaser__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sgh-aktuell-teaser__body {
  padding: 1rem 1rem 1.1rem;
}

.sgh-aktuell-teaser__title {
  margin: 0 0 0.45rem 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.sgh-aktuell-teaser__text {
  margin: 0;
  line-height: 1.45;
}
.sgh-aktuell-main__imglink,
.sgh-aktuell-teaser__imglink {
    display: block;
    color: inherit;
    text-decoration: none;
}

.sgh-aktuell-main__titlelink,
.sgh-aktuell-teaser__titlelink {
    color: inherit;
    text-decoration: none;
}

.sgh-aktuell-main__titlelink:hover,
.sgh-aktuell-teaser__titlelink:hover {
    text-decoration: underline;
}
/* TEASER GRUNDLAYOUT */
.sgh-aktuell-teaser {
    display: grid;
    grid-template-columns: 120px 1fr; /* Bild links fix */
    gap: 16px;
    align-items: stretch;
}

/* BILD-CONTAINER */
.sgh-aktuell-teaser__img {
    width: 100%;
    height: 100%;
    min-height: 140px; /* steuert die Kartenhöhe */
    overflow: hidden;
    border-radius: 10px;
}

/* DAS WICHTIGE: Bild-Cropping */
.sgh-aktuell-teaser__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* 🔥 DAS ist der Schlüssel */
    object-position: center; /* optional: Fokuspunkt */
    display: block;
}


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

  .sgh-aktuell-teaser {
    grid-template-columns: 130px 1fr;
  }
}

@media (max-width: 640px) {
  .sgh-aktuell-teaser {
    grid-template-columns: 1fr;
  }

  .sgh-aktuell-teaser__img img {
    height: auto;
  }
}

/* =========================================
    Ausschluss
========================================= */
 .auschluss{
     margin-top:24px;
     padding-left:22px;
     font-size:small;
 }

/* =========================================
   NEWSLISTE / Neues von der SGH
========================================= */

.sgh-newsliste {
    margin: 0;
    padding: 0 0 clamp(2.5rem, 5vw, 5rem);
}

.sgh-newsliste__inner {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

.sgh-newsliste__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 0;
    padding-top:16px;
}

.sgh-newskarte {
    display: block;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.sgh-newskarte__imglink {
    display: block;
    color: inherit;
    text-decoration: none;
}

.sgh-newskarte__img {
    overflow: hidden;
}

.sgh-newskarte__img img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}

.sgh-newskarte__body {
    padding: 1rem 1rem 1.15rem;
}

.sgh-newskarte__metawrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
    flex-wrap: wrap;
}

.sgh-newskarte__meta {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4c647d;
}

.sgh-newskarte__date {
    font-size: 0.82rem;
    color: #4c647d;
    opacity: 0.9;
}

.sgh-newskarte__title {
    margin: 0 0 0.55rem 0;
    font-size: 1.15rem;
    line-height: 1.3;
}

.sgh-newskarte__titlelink {
    color: inherit;
    text-decoration: none;
}

.sgh-newskarte__titlelink:hover {
    text-decoration: underline;
}

.sgh-newskarte__text {
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .sgh-newsliste__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .sgh-newsliste__inner {
        padding: 0 16px 0;
    }

    .sgh-newsliste__grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   THEMENFAHRTEN LISTE
========================================= */

.sgh-themenliste {
    margin-top: -4.5rem;
    padding-top: 0;
    padding-bottom: clamp(2.5rem, 5vw, 5rem);
}

.sgh-themenliste__inner {
    width: min(1400px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3rem);
    background: #ffffff;
    border-radius: 0 0 16px 16px;
}

.sgh-themenliste__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.sgh-themenkarte {
    display: block;
    padding: 1.1rem 1.1rem 1rem;
    background: #f6f7f8;
    color: inherit;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,.05);
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0,0,0,.05);
    transition: transform .2s ease, box-shadow .2s ease;
}

.sgh-themenkarte:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0,0,0,.08);
}

.sgh-themenkarte__top {
    display: flex;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .9rem;
    font-size: .95rem;
}

.sgh-themenkarte__date {
    color: #0f5f4f;
    font-weight: 700;
}

.sgh-themenkarte__time {
    opacity: .8;
    white-space: nowrap;
}

.sgh-themenkarte__title {
    margin-bottom: .35rem;
    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 700;
}

.sgh-themenkarte__meta {
    margin-bottom: 1rem;
    font-size: .92rem;
    opacity: .72;
}

.sgh-themenkarte__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
}

.sgh-themenkarte__actions {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-top: .5rem;
    flex-wrap: wrap;
}

.sgh-themenkarte__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: #0f5f4f;
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
    text-decoration: none;
}

.sgh-themenkarte__cta.is-disabled {
    background: #9aa3a8;
}

.sgh-themenkarte__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f2f2f2;
    color: #0f5f4f;
    font-size: .9rem;
    text-decoration: none;
    transition: all .2s ease;
}

.sgh-themenkarte__link:hover {
    background: #0f5f4f;
    color: #fff;
}


/* =========================================
   KURSFAHRTEN / THEMENFAHRTEN CARDS
========================================= */

.sgh-kurse {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
}

.sgh-kurse__banner {
    height: 350px;
    overflow: hidden;
}

.sgh-kurse__banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.sgh-kurse__inner {
    padding: 40px 56px 30px;
}

.sgh-kurse__title {
    margin: 0 0 14px;
    color: #0b4e97;
    font-size: 32px;
    font-weight: 800;
}

.sgh-kurscard {
    flex: 0 0 calc((100% - (18px * 3)) / 4);
    display: block;
    padding: 12px 12px 10px;
    overflow: hidden;
    background: #ffffff;
    color: #222;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    scroll-snap-align: start;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.sgh-kurscard:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0,0,0,0.14);
}

.sgh-kurscard__top {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 6px;
    color: #1f2a35;
    font-weight: 700;
}

.sgh-kurscard__date {
    font-size: 14px;
}

.sgh-kurscard__time {
    font-size: 13px;
    opacity: 0.85;
}

.sgh-kurscard__name {
    margin: 2px 0;
    font-size: 14px;
    font-weight: 800;
}

.sgh-kurscard__hint {
    margin-bottom: 10px;
    color: #444;
    font-size: 12px;
}

.sgh-kurscard__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sgh-kurscard__mainlink {
    color: inherit;
    text-decoration: none;
}

.sgh-kurscard__mainlink:hover {
    text-decoration: underline;
}

.sgh-kurscard__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sgh-kurscard__book,
.sgh-kurscard__info {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f2f2f2;
    text-decoration: none;
    transition: all .2s ease;
}

.sgh-kurscard__book {
    color: #0b4e97;
}

.sgh-kurscard__book:hover {
    background: #0b4e97;
    color: #fff;
}

.sgh-kurscard__book.is-disabled {
    background: #e5e5e5;
    color: #999;
    pointer-events: none;
}

.sgh-kurscard__info {
    color: #0f5f4f;
}

.sgh-kurscard__info:hover {
    background: #0f5f4f;
    color: #fff;
}
/* =========================================
   Differenzierung Themen vs Kursfahrten
   ========================================= */

.sgh-kurscard__hint--thema {
  color: #1e3a5f;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.sgh-kurscard__hint--kurs {
  color: #4c647d;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

/* Optional: kleine visuelle Marker */
.sgh-kurscard__hint--thema::before {
  content: "● ";
  font-size: 0.8em;
}

.sgh-kurscard__hint--kurs::before {
  content: "– ";
  font-size: 0.9em;
}


/* =========================================
   STATUS
========================================= */

.sgh-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333;
    font-size: 12px;
}

.sgh-status span {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 800;
}

.sgh-status--frei span {
    background: #dff3ea;
    color: #0b6b3a;
}

.sgh-status--wenig span {
    background: #fff1d6;
    color: #8a5a00;
}

.sgh-status--aus span {
    background: #f2d7d7;
    color: #8a1f1f;
}

.sgh-status--abg span {
    background: #e7e7e7;
    color: #444;
}
/* =========================================
    CONTENT Fahrplan Listenansicht untereilen
========================================= */
.sgh-themenmonat {
    margin-top: 3rem;
    position: relative;
    scroll-margin-top: 80px;
}

.sgh-themenmonat:first-child {
    margin-top: 0;
}

/* feine Trennlinie */
.sgh-themenmonat::before {
    content: "";
    display: block;
    height: 1px;
    background: #d9d9d9;
    margin-bottom: 1.2rem;
}

/* Titel */
.sgh-themenmonat__title {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0 0 1.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* kleines "Zeit-Pünktli" */
.sgh-themenmonat__title::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #1e3a5f; /* SGH-blau */
    border-radius: 50%;
    display: inline-block;
}

/* Grid etwas luftiger */
.sgh-themenliste__grid {
    gap: 1.2rem;
}
.sgh-themenmonat-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.sgh-themenmonat-nav a {
    white-space: nowrap;
    text-decoration: none;
    color: #1e3a5f;
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.sgh-themenmonat-nav a:hover {
    border-bottom: 1px solid #1e3a5f;
}

/* =========================================
   CONTENT MODUL
========================================= */

.sgh-contentmod {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
}

.sgh-contentmod__image {
    position: relative;
    overflow: hidden;
    height: 540px;
}

.sgh-contentmod__picture {
    display: block;
    width: 100%;
    height: 100%;
}

.sgh-contentmod__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

.sgh-contentmod__wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 103%;
    margin-left: -1%;
    pointer-events: none;
}

.sgh-contentmod__inner {
    padding: 36px 56px 44px;
}

.sgh-contentmod__title {
    margin: 0 0 14px;
    color: #0b4e97;
    font-size: 32px;
    font-weight: 800;
}

.sgh-contentmod__text {
    max-width: 980px;
    margin: 0 0 18px;
    color: #2a2a2a;
    font-size: 15px;
    line-height: 1.6;
}

.sgh-contentmod__cta {
    margin-top: 10px;
}
.sgh-extern-link {
    font-size: 0.95rem;
    text-decoration: underline;
}





/* =========================================
   WETTER / WEBCAM
========================================= */

.sgh-weatherweb {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 56px 34px;
    background: #fff;
}

.sgh-weatherweb__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 22px;
    align-items: start;
    padding-left: 0;
    padding-right: 0;
}

.sgh-weatherweb__left {
    padding: 8px 6px 0;
}

.sgh-weatherweb__top {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 6px 0 12px;
}

.sgh-weatherweb__temp {
    color: #111;
    font-size: 68px;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1;
}

.sgh-weatherweb__temp .deg {
    margin-left: 2px;
    font-size: 34px;
    vertical-align: super;
}

.sgh-weatherweb__summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 130px;
}

.sgh-weatherweb__icon {
    font-size: 44px;
    line-height: 1;
}

.sgh-weatherweb__desc {
    color: #111;
    font-size: 14px;
    font-weight: 700;
}

.sgh-weatherweb__cols {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
    margin-top: 6px;
}

.sgh-weatherweb__daytitle {
    margin: 8px 0 6px;
    color: #111;
    font-weight: 800;
}

.sgh-weatherweb__kv {
    display: grid;
    gap: 8px;
    color: #111;
    font-size: 14px;
}

.sgh-weatherweb__kv span {
    color: #111;
    opacity: .9;
}

.sgh-weatherweb__kv b {
    font-weight: 800;
}

.sgh-weatherweb__kv--temps {
    margin-top: 10px;
}

.sgh-weatherweb__list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.sgh-weatherweb__row {
    display: grid;
    grid-template-columns: 110px 28px 1fr 1fr;
    gap: 10px;
    align-items: center;
    font-size: 14px;
}

.sgh-weatherweb__row .day {
    font-weight: 800;
}

.sgh-weatherweb__row .ico {
    font-size: 18px;
}

.sgh-weatherweb__row .max {
    text-align: right;
    font-weight: 800;
}

.sgh-weatherweb__row .min {
    text-align: right;
    color: #111;
    opacity: .85;
}

.sgh-weatherweb__cam {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #eef0f3;
    color: inherit;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

.sgh-weatherweb__cam img,
.sgh-weatherweb__cam iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.sgh-weatherweb__camLabel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    padding: 10px 14px;
    background: rgba(0,0,0,0.18);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
    border-radius: 999px;
    backdrop-filter: blur(2px);
}

.sgh-webcam {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 14px;
}

.sgh-webcam iframe {
    width: 100%;
    height: 120%;
    margin-top: -20px;
    border: 0;
}
.spacer6{
    background:#fff;
    width:100%;
    height:36px;
}

.sgh-extern-link {
    font-size: 0.95rem;
    text-decoration: none;
    color:#0055d8;
}

.sgh-aktuell-main__extern,
.sgh-aktuell-teaser__extern {
    margin-top: 0.75rem;
}
/* =========================================
   FOOTER
========================================= */

.sgh-footer {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    background: #0b4e97;
    color: #fff;
}

.sgh-footer__wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    pointer-events: none;
    transform: rotate(180deg);
    transform-origin: center;
}

.sgh-footer__inner {
    padding: 108px 56px 42px;
}

.sgh-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr 0.55fr;
    gap: 42px;
    align-items: start;
}

.sgh-footer h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 800;
}

.sgh-footer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.95;
}

.sgh-footer a {
    color: #fff;
    text-decoration: none;
}

.sgh-footer a:hover {
    opacity:0.7;
}

.sgh-footer__lines {
    display: grid;
    gap: 4px;
}

.sgh-footer__lines .spacer {
    height: 8px;
}

.sgh-footer__social {
    display: flex;
    gap: 14px;
    margin-top: 26px;
}

.sgh-social {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    background: rgba(255,255,255,0.10);
    transition: transform 140ms ease, background 140ms ease;
}

.sgh-social:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.16);
}

.sgh-social svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.sgh-footer__logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-top: 6px;
}

.sgh-footer__logos img {
    display: block;
    width: 92px;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18));
}

.sgh-footer__logos img.is-okgo {
    width: 76px;
}

.sgh-footer__logos img.is-aargau {
    width: 96px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1680px) {
    .hero-wave {
        min-width: 103%;
        margin-left: -2%;
    }
}

@media (max-width: 1024px) {
    .sgh-card {
        flex-basis: calc((100% - (18px * 2)) / 3);
    }

    .sgh-kurscard {
        flex-basis: calc((100% - (18px * 2)) / 3);
    }

    .sgh-aktuelles__title {
        font-size: 32px;
    }

    .sgh-kurse__banner {
        height: 320px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-direction: row;
        gap: 10px;
    }

    .main-nav ul {
        display: none;
    }

    .nav-panel {
        max-height: calc(100vh - 70px);
        border-radius: 0 0 8px 8px;
    }

    .nav-panel-inner {
        grid-template-columns: 1fr;
        font-size: 16px;
    }

    .hero-content {
        top: 30%;
        left: 88px;
        padding-right: 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .sgh-themenliste__grid {
        grid-template-columns: 1fr;
    }

    .sgh-contentmod__inner {
        padding: 28px 16px 36px;
    }

    .sgh-contentmod__title {
        font-size: 26px;
    }

    .sgh-contentmod__image {
        height: 410px;
    }

    .sgh-contentmod__image img.sgh-contentmod__photo {
        object-position: center 35%;
    }

    .sgh-weatherweb {
        padding-inline: 16px;
    }

    .sgh-weatherweb__grid {
        grid-template-columns: 1fr;
        margin-top: 14px;
        background: #eef0f3;
        border-radius: 12px;
    }

    .sgh-weatherweb__cols {
        grid-template-columns: 1fr;
    }

    .sgh-weatherweb__temp {
        font-size: 52px;
    }

    .sgh-footer__inner {
        padding: 68px 16px 34px;
    }

    .sgh-footer__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .sgh-footer__logos {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 55vh;
        min-height: 360px;
    }

    .sgh-carousel {
        grid-template-columns: 1fr;
    }

    .sgh-carousel__arrow {
        display: none;
    }

    .sgh-card {
        flex-basis: calc((100% - 18px) / 2);
    }

    .sgh-aktuelles {
        padding-inline: 16px;
    }

    .sgh-aktuelles__title {
        margin: 0 0 14px 0;
        font-size: 24px;
        margin-bottom: 6px;
    }

    .sgh-kurse__inner {
        padding-inline: 16px;
    }

    .sgh-kurscard {
        flex-basis: calc((100% - 18px) / 2);
    }

    .sgh-kurse__banner {
        height: 280px;
    }

    .sgh-kurse__banner img {
        object-position: center 45%;
    }
}

@media (max-width: 600px) {
    .hero-content {
        top: 30%;
        left: 68px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-btn {
        padding: 7px 18px;
        font-size: 12px;
    }

    .logo-wrap img {
        height: 38px;
    }

    .hero-wave {
        min-width: 103%;
        margin-left: -2%;
    }
}

@media (max-width: 520px) {
    .sgh-weatherweb__row {
        grid-template-columns: 90px 24px 1fr 1fr;
    }

    .sgh-webcam iframe {
        height: 130%;
    }
}

@media (max-width: 480px) {
    .hero-content {
        top: 31%;
        left: 50px;
    }

    .hero-title {
        font-size: 1.3em;
    }

    .hero-btn {
        margin-top: -4px;
        padding: 4px 11px 6px 11px;
        font-size: 0.70em;
        font-weight: 600;
    }

    .logo-wrap img {
        height: 28px;
    }

    .sgh-card {
        flex-basis: 86%;
    }

    .sgh-card__img img {
        height: 150px;
    }

    .sgh-card__body {
        min-height: 110px;
    }

    .sgh-kurscard {
        flex-basis: 86%;
    }

    .sgh-kurse__banner {
        height: 240px;
    }

    .sgh-contentmod__title {
        font-size: 22px;
    }

    .sgh-contentmod__text {
        font-size: 14px;
    }

    .sgh-contentmod__image {
        height: 210px;
    }
}

@media (max-width: 411px) {
    .hero-content {
        top: 30%;
        left: 50px;
    }

    .hero-title {
        font-size: 1.2em;
    }

    .hero-btn {
        margin-top: -4px;
        font-size: 0.65em;
    }
}

@media (max-width: 360px) {
    .site-header {
        top: 0;
    }

    .hero-image img {
        padding-top: 50px;
    }
}

@media (max-width: 320px) {
    .hero-wave {
        min-width: 380px;
        margin-left: -10px;
        overflow: hidden;
        bottom: -3px;
    }

    .sgh-contentmod__wave,
    .sgh-footer__wave {
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 103%;
        min-width: 380px;
        margin-left: -10px;
        pointer-events: none;
    }
}