/* ==========================================================================
   GS Heiligenzimmern-Isingen — styles.css
   Kastl-Media / siteklar.de — Phase 1
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONT-FACE PLATZHALTER (WOFF2-Dateien bitte unter /fonts/ ablegen)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Nunito';
  src: url('fonts/nunito/nunito-v32-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('fonts/nunito/nunito-v32-latin-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter/inter-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Caveat';
  src: url('fonts/caveat/caveat-v23-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  --color-primary:         #61D935;
  --color-primary-dark:    #4FB828;
  --color-accent:          #FFD166;
  --color-accent-pink:     #FF6B9D;
  --color-accent-blue:     #74C0FC;
  --color-accent-lavender: #B197FC;
  --color-bg-light:        #E8F5ED;
  --color-text:            #1A4A2E;
  --color-text-muted:      #4a6c5a;
  --color-white:           #FFFFFF;
  --color-footer-bg:       #133620;
  --color-border:          #d0e8d8;

  --font-headline:    'Nunito', Georgia, sans-serif;
  --font-body:        'Inter', system-ui, sans-serif;
  --font-slogan:      'Caveat', cursive;

  --radius-card:      16px;
  --radius-btn:       8px;
  --shadow-card:      0 2px 12px rgba(26, 74, 46, 0.08);
  --shadow-card-hover: 0 6px 24px rgba(26, 74, 46, 0.16);
  --transition:       0.2s ease;

  --container-max:    1200px;
  --container-pad:    1.5rem;

  --header-height:    auto;
}

/* --------------------------------------------------------------------------
   3. RESET + BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* iOS Safari root scroll container — verhindert horizontales Scrollen */
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  color: var(--color-text);
  line-height: 1.2;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p {
  font-size: 1rem;
  line-height: 1.7;
}

address {
  font-style: normal;
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.gshi-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.gshi-section {
  padding: 4rem 0;
}

.gshi-section-light {
  background: var(--color-bg-light);
}

.gshi-section-white {
  background: var(--color-white);
}

/* --------------------------------------------------------------------------
   5. WAVE DIVIDERS
   -------------------------------------------------------------------------- */
.gshi-wave {
  line-height: 0;
  overflow: hidden;
  background: var(--color-white);
}

.gshi-wave svg {
  display: block;
  width: 100%;
}

.gshi-wave-down {
  background: var(--color-bg-light);
}

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.gshi-btn-primary {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.gshi-btn-primary:hover {
  background: var(--color-text);
  color: var(--color-white);
  text-decoration: none;
  transform: translateY(-2px);
}

.gshi-btn-secondary {
  display: inline-block;
  color: var(--color-primary);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.gshi-btn-secondary:hover {
  color: var(--color-text);
  border-color: var(--color-text);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   7. HEADER
   -------------------------------------------------------------------------- */
.gshi-header {
  background: var(--color-white);
  border-bottom: 2px solid var(--color-bg-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(26, 74, 46, 0.06);
}

.gshi-header::before {
  content: '';
  display: block;
  height: 7px;
  background: linear-gradient(
    90deg,
    var(--color-accent-pink)    0%,
    var(--color-accent)         33%,
    var(--color-accent-blue)    66%,
    var(--color-accent-lavender) 100%
  );
}

.gshi-header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem var(--container-pad);
}

.gshi-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.gshi-school-name {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.2;
}

.gshi-school-address,
.gshi-school-phone {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.gshi-header-logo {
  text-align: center;
}

.gshi-header-logo a {
  display: inline-block;
}

.gshi-header-logo img {
  height: 64px;
  width: auto;
  display: inline-block;
}

.gshi-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.gshi-header-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gshi-header-hours {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.gshi-header-email {
  font-size: 0.82rem;
  color: var(--color-primary);
  word-break: break-all;
}

/* --------------------------------------------------------------------------
   8. NAVIGATION
   -------------------------------------------------------------------------- */
.gshi-nav {
  background: var(--color-primary);
  position: relative;
}

.gshi-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gshi-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.gshi-nav-eltern {
  display: flex;
  align-items: center;
  color: var(--color-text);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid rgba(26,74,46,0.35);
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  margin-right: 0.5rem;
  flex-shrink: 0;
  align-self: center;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.gshi-nav-eltern:hover {
  border-color: rgba(26,74,46,0.7);
  background: rgba(255,255,255,0.35);
  color: var(--color-text);
  text-decoration: none;
}

.gshi-nav-list a {
  display: block;
  padding: 0.7rem 0.85rem;
  color: var(--color-text);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  border-radius: 0;
  white-space: nowrap;
}

.gshi-nav-list a:hover,
.gshi-nav-list a.gshi-active {
  background: rgba(255,255,255,0.35);
  color: var(--color-text);
  text-decoration: none;
}

.gshi-nav-list .gshi-nav-highlight a {
  background: var(--color-accent);
  color: var(--color-text);
  margin-left: 0.5rem;
  border-radius: var(--radius-btn);
  padding: 0.5rem 1rem;
}

.gshi-nav-list .gshi-nav-highlight a:hover {
  background: #f0c040;
  color: var(--color-text);
}

.gshi-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;
  margin-left: auto;
}

.gshi-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.gshi-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.gshi-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.gshi-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Dropdown-Navigation ──────────────────────────────────────────────────── */
.gshi-nav-dropdown {
  position: relative;
}

.gshi-nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.7rem 0.85rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  line-height: 1.4;
}

.gshi-nav-dropdown-toggle:hover,
.gshi-nav-dropdown.is-open .gshi-nav-dropdown-toggle {
  background: rgba(255,255,255,0.35);
  color: var(--color-text);
}

.gshi-nav-dropdown-toggle.has-active {
  color: var(--color-text);
  background: rgba(255,255,255,0.35);
}

.gshi-nav-dropdown-arrow {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.gshi-nav-dropdown.is-open .gshi-nav-dropdown-arrow {
  transform: rotate(180deg);
}

.gshi-nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--color-white);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  box-shadow: 0 8px 24px rgba(26,74,46,0.15);
  z-index: 200;
  list-style: none;
  padding: 0.35rem 0;
}

.gshi-nav-dropdown.is-open .gshi-nav-dropdown-menu {
  display: block;
}

.gshi-nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--color-text) !important;
  font-size: 0.875rem !important;
  font-weight: 500;
  background: none !important;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}

.gshi-nav-dropdown-menu a:hover,
.gshi-nav-dropdown-menu a.gshi-active {
  background: var(--color-bg-light) !important;
  color: var(--color-primary) !important;
}

/* --------------------------------------------------------------------------
   9. HERO (Startseite)
   -------------------------------------------------------------------------- */
.gshi-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #b8f07a, #7fdc4a, #5ab82a);
  border-bottom-left-radius: 50% 90px;
  border-bottom-right-radius: 50% 90px;
  padding-bottom: 2rem;
}

.gshi-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #b8f07a 0%, #7fdc4a 50%, #5ab82a 100%);
  background-image: url('images/hero-schulhof.webp');
  background-size: cover;
  background-position: center;
}

.gshi-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(19,54,32,0.45) 0%, rgba(19,54,32,0.1) 70%, transparent 100%);
}

.gshi-hero-panel {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  max-width: 520px;
  margin: 2rem var(--container-pad);
  box-shadow: 0 4px 32px rgba(26, 74, 46, 0.15);
}

.gshi-hero-welcome {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.gshi-hero-headline {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.gshi-hero-slogan {
  font-family: var(--font-slogan);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--color-primary);
  line-height: 1.3;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   10. NUMBERS SECTION
   -------------------------------------------------------------------------- */
.gshi-numbers {
  background: var(--color-bg-light);
  padding: 3rem 0;
}

.gshi-numbers-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.gshi-number-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gshi-number-value {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--color-primary);
  line-height: 1;
}

.gshi-number-label {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  margin-top: 0.25rem;
  font-weight: 500;
}

.gshi-number-divider {
  font-size: 2rem;
  color: var(--color-border);
  font-weight: 300;
  align-self: center;
}

/* --------------------------------------------------------------------------
   11. PORTRAIT SECTION
   -------------------------------------------------------------------------- */
.gshi-portrait {
  padding: 3.5rem 0;
  background: var(--color-white);
  text-align: center;
}

.gshi-portrait .gshi-container {
  max-width: var(--container-max);
  text-align: left;
}

.gshi-portrait-headline {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.gshi-portrait-text {
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   12. TILES GRID (9-Kacheln-Navigation)
   -------------------------------------------------------------------------- */
.gshi-tiles {
  background: var(--color-white);
  padding: 3rem 0 4rem;
}

.gshi-tiles-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gshi-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}

.gshi-tile:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-primary);
  text-decoration: none;
}

.gshi-tile-highlight {
  border: 2px solid var(--color-primary);
}

.gshi-tile-icon {
  width: 44px;
  height: 44px;
  color: var(--color-primary);
  margin-bottom: 1rem;
  flex-shrink: 0;
  transition: color var(--transition);
}

.gshi-tile:hover .gshi-tile-icon {
  color: var(--color-white);
}

.gshi-tile-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.gshi-tile-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: inherit;
  transition: color var(--transition);
}

.gshi-tile-text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  transition: color var(--transition);
}

.gshi-tile:hover .gshi-tile-text {
  color: rgba(255,255,255,0.88);
}

/* --------------------------------------------------------------------------
   13. NEWS TEASER / NEWS CARDS
   -------------------------------------------------------------------------- */
.gshi-news-teaser {
  background: var(--color-bg-light);
  padding: 4rem 0;
}

.gshi-news-teaser h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.gshi-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.gshi-news-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.gshi-news-card-img {
  height: 90px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #c8e6d0, #a8d5b8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-family: var(--font-body);
}

.gshi-news-card-img-icon {
  position: relative;
  z-index: 2;
  font-size: 3.2rem;
  line-height: 1;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.12));
}

.gshi-news-card-img::before,
.gshi-news-card-img::after {
  content: '';
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.gshi-news-card-body {
  padding: 1.5rem;
}

.gshi-news-card-date {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.gshi-news-card-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.gshi-news-card-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.gshi-news-teaser-footer {
  text-align: center;
}

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.gshi-footer {
  background: var(--color-primary);
  color: var(--color-text);
}

.gshi-footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3.5rem var(--container-pad) 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 3rem;
}

.gshi-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gshi-footer-logo {
  opacity: 0.9;
  width: 140px;
}

.gshi-footer-slogan {
  font-family: var(--font-slogan);
  font-size: 1.3rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.gshi-footer-nav h3,
.gshi-footer-contact h3 {
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.gshi-footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gshi-footer-nav a {
  color: var(--color-text);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.gshi-footer-nav a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.gshi-footer-contact p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.gshi-footer-contact a {
  color: var(--color-text);
  transition: color var(--transition);
}

.gshi-footer-contact a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.gshi-footer-bar {
  border-top: 1px solid rgba(26,74,46,0.15);
  background: var(--color-bg-light);
  max-width: 100%;
  padding: 1.25rem var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gshi-footer-bar p,
.gshi-footer-bar nav {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.gshi-footer-bar nav {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.gshi-footer-bar a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.gshi-footer-bar a:hover {
  color: var(--color-text);
  text-decoration: none;
}

.gshi-footer-credit {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.gshi-footer-credit a {
  color: var(--color-text-muted);
}

.gshi-footer-credit a:hover {
  color: rgba(255,255,255,0.8);
}

/* --------------------------------------------------------------------------
   15. PAGE HERO (Unterseiten)
   -------------------------------------------------------------------------- */
.gshi-page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 3.5rem 0 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 50% 65px;
  border-bottom-right-radius: 50% 65px;
}

/* Blob oben rechts */
.gshi-page-hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -2%;
  width: 260px;
  height: 260px;
  background: rgba(255,255,255,0.13);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  pointer-events: none;
}

/* Blob unten links */
.gshi-page-hero::after {
  content: '';
  position: absolute;
  bottom: 18%;
  left: 2%;
  width: 160px;
  height: 160px;
  background: rgba(255,255,255,0.08);
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  pointer-events: none;
}

.gshi-page-hero-title {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.gshi-page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Farbvarianten — je Seite eine eigene Stimmung */
.gshi-page-hero--pink {
  background: linear-gradient(135deg, #FF8FAB 0%, var(--color-accent-pink) 100%);
}

.gshi-page-hero--yellow {
  background: linear-gradient(135deg, #FFE899 0%, var(--color-accent) 100%);
}

.gshi-page-hero--blue {
  background: linear-gradient(135deg, #C5E7FF 0%, var(--color-accent-blue) 100%);
}

.gshi-page-hero--lavender {
  background: linear-gradient(135deg, #D8CCFF 0%, var(--color-accent-lavender) 100%);
}

/* --------------------------------------------------------------------------
   16. CONTENT SECTIONS (Unterseiten)
   -------------------------------------------------------------------------- */
.gshi-content-section {
  padding: 3.5rem 0;
}

.gshi-content-section h2 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-bg-light);
}

.gshi-content-section p {
  color: var(--color-text);
  margin-bottom: 1rem;
}

.gshi-content-section p:last-child {
  margin-bottom: 0;
}

/* Leitsatz-Zitate */
.gshi-leitsatz {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin-bottom: 1rem;
}

.gshi-leitsatz-text {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
}

/* Profilkarte */
.gshi-profil-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-headline);
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   17. STANDORTE (Unterricht)
   -------------------------------------------------------------------------- */
.gshi-standorte {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gshi-standort-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.gshi-standort-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
}

.gshi-standort-klasse {
  display: inline-block;
  background: var(--color-bg-light);
  color: var(--color-primary);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.gshi-standort-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   18. TIMELINE (Tagesablauf)
   -------------------------------------------------------------------------- */
.gshi-timeline {
  position: relative;
  margin-top: 1.5rem;
}

.gshi-timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.gshi-timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  align-items: flex-start;
}

.gshi-timeline-time {
  min-width: 70px;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  padding-top: 0.2rem;
  text-align: right;
  flex-shrink: 0;
}

.gshi-timeline-dot {
  width: 12px;
  height: 12px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.gshi-timeline-content {
  flex: 1;
  padding-bottom: 0.5rem;
}

.gshi-timeline-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.gshi-timeline-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   19. TABELLEN
   -------------------------------------------------------------------------- */
.gshi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin-top: 1rem;
}

.gshi-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-headline);
  font-weight: 700;
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.9rem;
}

.gshi-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.gshi-table tr:nth-child(even) td {
  background: var(--color-bg-light);
}

.gshi-table tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   20. CARDS (allgemein)
   -------------------------------------------------------------------------- */
.gshi-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  border: 1.5px solid var(--color-border);
}

.gshi-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

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

/* Termin-Karte */
.gshi-event-card {
  display: flex;
  gap: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.25rem 1.5rem;
  border: 1.5px solid var(--color-border);
  margin-bottom: 1rem;
}

.gshi-event-date {
  min-width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-light);
  border-radius: 10px;
  padding: 0.5rem;
  text-align: center;
  flex-shrink: 0;
}

.gshi-event-date-day {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--color-primary);
  line-height: 1;
}

.gshi-event-date-month {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gshi-event-content {
  flex: 1;
}

.gshi-event-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.gshi-event-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* Personen-Karte */
.gshi-person-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  border: 1.5px solid var(--color-border);
  text-align: center;
}

.gshi-person-avatar {
  width: 80px;
  height: 80px;
  background: var(--color-bg-light);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.gshi-person-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.gshi-person-funktion {
  font-size: 0.88rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gshi-person-info {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   21. AKKORDEON (FAQ / Elternbereich)
   -------------------------------------------------------------------------- */
.gshi-accordion {
  margin-top: 1.5rem;
}

.gshi-accordion-item {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.gshi-accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  text-align: left;
  transition: background var(--transition);
}

.gshi-accordion-btn:hover {
  background: var(--color-bg-light);
}

.gshi-accordion-btn[aria-expanded="true"] {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

.gshi-accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.gshi-accordion-btn[aria-expanded="true"] .gshi-accordion-icon {
  transform: rotate(180deg);
}

.gshi-accordion-panel {
  display: none;
  padding: 1rem 1.5rem 1.25rem;
  background: var(--color-white);
}

.gshi-accordion-panel p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.gshi-accordion-panel.is-open {
  display: block;
}

/* --------------------------------------------------------------------------
   22. LISTEN (Schulsozialarbeit, Anmeldeschritte etc.)
   -------------------------------------------------------------------------- */
.gshi-checklist {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gshi-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.gshi-checklist li::before {
  content: '';
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: contain;
}

.gshi-step-list {
  margin-top: 1rem;
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gshi-step-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  counter-increment: steps;
  font-size: 0.95rem;
  color: var(--color-text);
}

.gshi-step-list li::before {
  content: counter(steps);
  min-width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   23. IMPRESSUM / DATENSCHUTZ
   -------------------------------------------------------------------------- */
.gshi-legal-section {
  padding: 3.5rem 0;
}

.gshi-legal-section h2 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--color-bg-light);
}

.gshi-legal-section h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.gshi-legal-section p,
.gshi-legal-section address {
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.bildnachweis {
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   24. FÄCHER GRID (Unterricht)
   -------------------------------------------------------------------------- */
.gshi-faecher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.gshi-fach-item {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.gshi-fach-icon {
  width: 36px;
  height: 36px;
  color: var(--color-primary);
  margin: 0 auto 0.5rem;
}

.gshi-fach-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   25. KOOPERATION PARTNER KARTEN
   -------------------------------------------------------------------------- */
.gshi-partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.gshi-partner-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 1.75rem;
  border: 1.5px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
}

.gshi-partner-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.gshi-partner-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   26. HINWEIS-BOXEN
   -------------------------------------------------------------------------- */
.gshi-hinweis {
  background: rgba(69, 179, 107, 0.1);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}

.gshi-hinweis p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
}

.gshi-hinweis strong {
  color: var(--color-primary);
}

/* --------------------------------------------------------------------------
   27. MEDIA QUERIES — TABLET (max 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .gshi-tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gshi-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .gshi-footer-brand {
    grid-column: 1 / -1;
  }

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

  .gshi-card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   28. MEDIA QUERIES — TABLET-KLEIN / MOBIL HOCH (max 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .gshi-header-top {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto;
  }

  .gshi-header-right {
    display: none;
  }

  .gshi-header-logo {
    grid-column: 2;
    grid-row: 1;
  }

  .gshi-header-left {
    grid-column: 1;
    grid-row: 1;
  }

  .gshi-hamburger {
    display: flex;
  }

  .gshi-nav-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .gshi-nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .gshi-nav-list.is-open {
    display: flex;
  }

  .gshi-nav-list li {
    border-bottom: 1px solid rgba(26,74,46,0.12);
  }

  .gshi-nav-list a {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    white-space: normal;
  }

  /* Dropdown — Mobile */
  .gshi-nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }

  .gshi-nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    background: rgba(255,255,255,0.18);
    padding: 0;
    min-width: 0;
    width: 100%;
  }

  .gshi-nav-dropdown-menu a {
    padding: 0.75rem 1.5rem 0.75rem 2.75rem !important;
    color: var(--color-text) !important;
    font-size: 0.92rem !important;
    border-bottom: 1px solid rgba(26,74,46,0.1) !important;
  }

  .gshi-nav-dropdown-menu a:hover,
  .gshi-nav-dropdown-menu a.gshi-active {
    background: rgba(255,255,255,0.3) !important;
    color: var(--color-text) !important;
  }

  .gshi-nav-list .gshi-nav-highlight a {
    margin: 0.5rem 1rem;
    border-radius: var(--radius-btn);
  }

  .gshi-hero {
    min-height: 380px;
  }

  .gshi-hero-panel {
    max-width: 100%;
    margin: 1.5rem 1rem;
  }

  .gshi-news-grid {
    grid-template-columns: 1fr;
  }

  .gshi-standorte {
    grid-template-columns: 1fr;
  }

  .gshi-partner-grid {
    grid-template-columns: 1fr;
  }

  .gshi-card-grid {
    grid-template-columns: 1fr;
  }

  .gshi-card-grid-3 {
    grid-template-columns: 1fr;
  }

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

  .gshi-footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gshi-footer-brand {
    grid-column: 1;
  }

  .gshi-footer-bar {
    flex-direction: column;
    text-align: center;
  }

  .gshi-number-divider {
    display: none;
  }

  .gshi-numbers-inner {
    gap: 2.5rem;
  }

  .gshi-timeline::before {
    left: 80px;
  }
}

/* --------------------------------------------------------------------------
   29. MEDIA QUERIES — MOBIL (max 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --container-pad: 1rem;
  }

  .gshi-tiles-grid {
    grid-template-columns: 1fr;
  }

  .gshi-header-logo img {
    height: 48px;
  }

  .gshi-school-name {
    font-size: 0.92rem;
  }

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

  .gshi-footer-bar nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==========================================================================
   KORREKTUREN — Hero Panel (Textumbruch Desktop + Transparenz Mobile)
   ========================================================================== */

/* --- Desktop: Panel etwas breiter, Slogan-Font etwas kleiner ------------- */
.gshi-hero-panel {
  max-width: 560px;       /* war 520px — gibt dem Slogan mehr Raum */
}

.gshi-hero-slogan {
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
}

/* --- Tablet (≤ 768px): Panel halbtransparent, weniger Padding ------------ */
@media (max-width: 768px) {
  .gshi-hero {
    min-height: 420px;    /* war 380px — mehr Bildfläche */
    align-items: flex-end; /* Panel nach unten schieben */
  }

  .gshi-hero-panel {
    background: rgba(255, 255, 255, 0.78);  /* war 0.9 */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 1.5rem 1.25rem;  /* war 2.5rem 2rem */
    margin: 0 0.75rem 1.5rem; /* unten positioniert */
    max-width: 100%;
    box-shadow: 0 2px 20px rgba(26, 74, 46, 0.12);
  }

  .gshi-hero-welcome {
    font-size: 0.95rem;
  }

  .gshi-hero-headline {
    font-size: clamp(1.3rem, 4.5vw, 1.75rem);
    margin-bottom: 0.5rem;
  }

  .gshi-hero-slogan {
    font-size: clamp(1.3rem, 4vw, 1.7rem);
  }
}

/* --- Mobil (≤ 480px): noch kompakter ------------------------------------ */
@media (max-width: 480px) {
  .gshi-hero {
    min-height: 400px;
    align-items: flex-end;
  }

  .gshi-hero-panel {
    background: rgba(255, 255, 255, 0.72);  /* noch transparenter */
    padding: 1.1rem 1rem;
    margin: 0 0.5rem 1rem;
  }

  .gshi-hero-headline {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-bottom: 0.4rem;
  }

  .gshi-hero-slogan {
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
  }
}

/* ── Footer Admin-Link (SiteEditor) ────────────────────────────────────────── */
.gshi-footer-admin-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(26,74,46,0.4);
  text-decoration: none;
  transition: color var(--transition);
}
.gshi-footer-admin-link:hover {
  color: rgba(26,74,46,0.8);
  text-decoration: none;
}

/* ── Interaktiver Kalender ──────────────────────────────────────────────────── */
.gshi-kalender-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.gshi-kalender {
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Navigations-Leiste */
.gshi-kal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #3D8FD4 0%, #1B69B4 100%);
  padding: 0.85rem 1.25rem;
}

.gshi-kal-nav-title {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.05rem;
  color: white;
}

.gshi-kal-nav-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: var(--radius-btn);
  color: white;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  transition: background var(--transition);
}

.gshi-kal-nav-btn:hover { background: rgba(255,255,255,0.35); }

/* Wochentag-Header */
.gshi-kal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}

.gshi-kal-weekday {
  text-align: center;
  padding: 0.5rem 0;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Tage-Grid */
.gshi-kal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.gshi-kal-day {
  min-height: 52px;
  padding: 0.4rem 0.5rem;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  cursor: default;
  transition: background var(--transition);
}

.gshi-kal-day:nth-child(7n) { border-right: none; }

.gshi-kal-day-num {
  font-size: 0.82rem;
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

/* Leere Zellen (anderer Monat) */
.gshi-kal-day.is-empty {
  background: var(--color-bg-light);
  opacity: 0.4;
}

/* Wochenende */
.gshi-kal-day.is-weekend .gshi-kal-day-num {
  color: var(--color-text-muted);
}

/* Heute */
.gshi-kal-day.is-today {
  background: #E8F2FC;
}

.gshi-kal-day.is-today .gshi-kal-day-num {
  background: #1B69B4;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

/* Ferien */
.gshi-kal-day.is-ferien {
  background: #EBF5FF;
}

.gshi-kal-day.is-ferien .gshi-kal-day-num {
  color: #1B69B4;
}

/* Tag mit Termin */
.gshi-kal-day.has-event {
  cursor: pointer;
}

.gshi-kal-day.has-event:hover {
  background: #EBF5FF;
}

.gshi-kal-dot {
  width: 6px;
  height: 6px;
  background: #1B69B4;
  border-radius: 50%;
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}

/* Ferien-Label */
.gshi-kal-ferien-label {
  font-size: 0.62rem;
  color: #1B69B4;
  line-height: 1.2;
  margin-top: 2px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tooltip / Event-Popup */
.gshi-kal-popup {
  display: none;
  position: absolute;
  z-index: 50;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: white;
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
  min-width: 180px;
  max-width: 240px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  font-size: 0.82rem;
  line-height: 1.4;
}

.gshi-kal-popup::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-text);
}

.gshi-kal-day.has-event:hover .gshi-kal-popup,
.gshi-kal-day.has-event:focus-within .gshi-kal-popup {
  display: block;
}

.gshi-kal-popup-title {
  font-family: var(--font-headline);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.gshi-kal-popup-desc {
  opacity: 0.85;
  font-size: 0.78rem;
}

/* Legende */
.gshi-kal-legend {
  display: flex;
  gap: 1.25rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-light);
  flex-wrap: wrap;
}

.gshi-kal-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.gshi-kal-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .gshi-kal-day { min-height: 40px; padding: 0.3rem; }
  .gshi-kal-day-num { font-size: 0.72rem; }
  .gshi-kal-ferien-label { display: none; }
  .gshi-kal-popup { min-width: 150px; font-size: 0.78rem; }
  .gshi-kal-weekday { font-size: 0.65rem; }
}

/* Mehrere Dots pro Tag */
.gshi-kal-dots {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.gshi-kal-dots .gshi-kal-dot {
  position: static;
  transform: none;
  flex-shrink: 0;
}

.gshi-kal-dot-more {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

/* === MEHRSPRACHIGKEITS-DROPDOWN === */
/* Prefix: gshi-lang- | NUR ANFÜGEN, NICHTS DAVOR ÄNDERN */

.gshi-lang-dropdown {
  position: relative;
  margin-left: auto;
}

/* Toggle-Button (zeigt aktuell gewählte Sprache) */
.gshi-lang-toggle {
  background: none;
  border: 1.5px solid rgba(26,74,46,0.35);
  border-radius: 6px;
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  padding: 0.3rem 0.65rem;
  white-space: nowrap;
  transition: border-color 0.2s, background 0.2s;
}

.gshi-lang-toggle:hover,
.gshi-lang-toggle:focus-visible {
  border-color: rgba(26,74,46,0.7);
  background: rgba(255,255,255,0.35);
  outline: none;
}

/* Dropdown-Menü (standardmäßig unsichtbar) */
.gshi-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(26, 74, 46, 0.15);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  min-width: 160px;
  z-index: 500;
}

/* Menü offen */
.gshi-lang-menu.gshi-lang-open {
  display: block;
}

/* Einzelne Sprach-Buttons im Menü */
.gshi-lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
  text-align: left;
  width: 100%;
  color: var(--color-text, #1A4A2E);
  transition: background 0.15s;
}

.gshi-lang-btn:hover,
.gshi-lang-btn:focus-visible {
  background: var(--color-bg-light, #E8F5ED);
  outline: none;
}

/* Aktive Sprache hervorheben */
.gshi-lang-btn.gshi-lang-active {
  color: var(--color-primary, #45B36B);
  font-weight: 600;
}

.gshi-lang-btn.gshi-lang-active::before {
  content: '✓ ';
}

/* Mobile: Dropdown bleibt Dropdown (kein Umbau nötig) */
@media (max-width: 768px) {
  .gshi-lang-dropdown {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .gshi-lang-menu {
    right: auto;
    left: 0;
  }
}

/* === POSITION-FIX: Sprach-Dropdown rechtsbündig === */
.gshi-nav {
  display: flex;
  align-items: stretch;
}

.gshi-nav-inner {
  flex: 1;
  min-width: 0;
}

.gshi-lang-dropdown {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-right: var(--container-pad, 1.5rem);
}

@media (max-width: 768px) {
  .gshi-nav {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .gshi-nav-inner {
    flex: none;
    width: 100%;
  }
  .gshi-lang-dropdown {
    width: 100%;
    padding: 0.75rem 1.5rem;
    align-self: flex-start;
  }
}

/* ==========================================================================
   GALERIE — gshi-gal- Prefix
   ========================================================================== */

.gshi-gal-datenschutz {
  background: #f5f5f5;
  border-left: 3px solid var(--color-border);
  padding: 0.6rem var(--container-pad);
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

/* ── Filter-Tabs ─────────────────────────────────────────────────────────── */
.gshi-gal-filter-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.gshi-gal-filter {
  display: flex;
  gap: 0.5rem;
  padding: 1.25rem var(--container-pad) 0;
  max-width: var(--container-max);
  margin: 0 auto;
  white-space: nowrap;
}

.gshi-gal-filter-btn {
  background: var(--color-bg-light);
  border: 2px solid var(--color-border);
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}

.gshi-gal-filter-btn:hover {
  border-color: var(--color-primary);
  background: #d4edda;
}

.gshi-gal-filter-btn.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* ── Foto-Grid ───────────────────────────────────────────────────────────── */
.gshi-gal-grid-wrap {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.25rem var(--container-pad) 3rem;
}

.gshi-gal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gshi-gal-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--color-bg-light);
  opacity: 0;
  transform: scale(0.97);
}

.gshi-gal-card.is-visible {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.2s;
}

.gshi-gal-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-card-hover);
}

.gshi-gal-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

/* ── Leer-Zustand ────────────────────────────────────────────────────────── */
.gshi-gal-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
  grid-column: 1 / -1;
}

.gshi-gal-empty-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

/* ── Lightbox ────────────────────────────────────────────────────────────── */
.gshi-gal-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.gshi-gal-lightbox.is-open { display: flex; }

.gshi-gal-lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 3rem 5rem;
}

.gshi-gal-lightbox img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.gshi-gal-lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  text-align: center;
  max-width: 600px;
  padding: 0 1rem;
}

.gshi-gal-lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.12);
  border: none; color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.gshi-gal-lightbox-close:hover { background: rgba(255,255,255,0.25); }

.gshi-gal-lightbox-prev,
.gshi-gal-lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none; color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.gshi-gal-lightbox-prev { left: 1rem; }
.gshi-gal-lightbox-next { right: 1rem; }

.gshi-gal-lightbox-prev:hover,
.gshi-gal-lightbox-next:hover { background: rgba(255,255,255,0.25); }

.gshi-gal-lightbox-prev:disabled,
.gshi-gal-lightbox-next:disabled { opacity: 0.2; cursor: default; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gshi-gal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .gshi-gal-grid { grid-template-columns: 1fr; }
  .gshi-gal-lightbox-inner { padding: 3rem 1rem; }
  .gshi-gal-lightbox-prev { left: 0.25rem; }
  .gshi-gal-lightbox-next { right: 0.25rem; }
}

/* ============================================================
   Mobile Contact Strip — gshi-mobile-contact
   Sichtbar nur auf Mobile (≤ 768 px), verborgen auf Desktop.
   ============================================================ */
.gshi-mobile-contact {
  display: none;
  background: var(--color-primary);
  color: var(--color-text);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.gshi-mobile-contact a {
  color: var(--color-text);
  font-weight: 600;
  text-decoration: none;
}

.gshi-mobile-contact a:hover,
.gshi-mobile-contact a:focus {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .gshi-mobile-contact {
    display: flex;
  }
}

@media (max-width: 360px) {
  .gshi-mobile-contact-hours {
    display: none;
  }
}

/* ==========================================================================
   Monats-Tabs — gshi-cal- Prefix (termine.html)
   ========================================================================== */

.gshi-cal-tabs-wrapper {
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: sticky;
  top: 0;
  background: var(--color-white);
  z-index: 50;
  box-shadow: 0 2px 8px rgba(26, 74, 46, 0.08);
  /* negativer Rand um Container-Padding auszugleichen → Sticky-BG volle Breite */
  margin-left: calc(-1 * var(--container-pad));
  margin-right: calc(-1 * var(--container-pad));
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.gshi-cal-tabs {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 8px;
  padding: 12px 0;
  scrollbar-width: none;
}

.gshi-cal-tabs::-webkit-scrollbar {
  display: none;
}

.gshi-cal-tab {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 20px;
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  min-height: 44px;
  flex-shrink: 0;
}

.gshi-cal-tab:hover:not([aria-selected="true"]) {
  background: var(--color-bg-light);
}

.gshi-cal-tab[aria-selected="true"] {
  background: #1B69B4;
  color: var(--color-white);
  border-color: var(--color-primary);
}

.gshi-cal-tab--past {
  opacity: 0.65;
}

.gshi-cal-empty {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  padding: 1rem 0;
}

/* === Mobile Nav — Kompakte Zeile: Sprachumschalter links, Hamburger rechts ===
   Ursache des bisherigen Problems: .gshi-nav hatte flex-direction:column,
   was .gshi-nav-inner und .gshi-lang-dropdown in zwei separate Zeilen stapelte.
   Lösung: .gshi-lang-dropdown absolut oben-links positionieren,
   .gshi-nav-inner zeigt Hamburger rechtsbündig auf gleicher Höhe (48px). */
@media (max-width: 767px) {
  .gshi-nav-eltern {
    display: none;
  }

  .gshi-nav {
    padding: 6px 0;
  }

  .gshi-nav-list .gshi-nav-highlight a {
    background: none;
    color: rgba(255,255,255,0.92);
    margin-left: 0;
    border-radius: 0;
    padding: 0.7rem 0.85rem;
    border-left: 3px solid var(--color-accent);
  }

  .gshi-nav-list .gshi-nav-highlight a:hover {
    background: rgba(0,0,0,0.15);
    color: var(--color-white);
  }

  .gshi-nav-inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    min-height: 48px;
    padding: 0 16px;
    width: 100%;
  }

  .gshi-hamburger {
    margin-left: 0;
    align-self: center;
  }

  .gshi-lang-dropdown {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 16px;
    height: auto;
    width: auto;
    padding: 0;
    display: flex;
    align-items: center;
    z-index: 10;
  }
}

/* Desktop-Reset: alle Mobile-Overrides zurücksetzen */
@media (min-width: 768px) {
  .gshi-nav-list .gshi-nav-highlight {
    display: none;
  }

  .gshi-lang-dropdown {
    position: relative;
    top: auto;
    left: auto;
    height: auto;
  }

  .gshi-hamburger {
    margin-left: auto;
  }
}

/* ==========================================================================
   HEADER-LOGO + HERO-LOGO — Logo-Strategie
   Desktop: kein Logo im Header, Logo nur im Hero (index.html)
   Mobile:  Logo mit Text im Header, kein Logo im Hero
   ========================================================================== */

/* ── Desktop (≥ 768px): Header-Logo ausgeblendet, Hero-Logo sichtbar ─────── */
@media (min-width: 768px) {
  .gshi-header-top {
    grid-template-columns: 1fr 200px 1fr;
  }

  .gshi-header-logo img.gshi-header-logo__full {
    display: none;
  }

  .gshi-header-logo img.gshi-header-logo__round {
    display: none;
  }

  .gshi-hero-panel--with-logo {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    max-width: 760px;
  }

  .gshi-hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .gshi-hero-logo__img {
    max-width: 220px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.12));
  }
}

/* ── Mobile (< 768px): Logo mit Text im Header, kein Logo im Hero ─────────── */
@media (max-width: 767px) {
  .gshi-header-logo img.gshi-header-logo__full {
    display: block;
    width: auto;
    max-width: 130px;
    height: auto;
    align-self: center;
  }

  .gshi-header-logo img.gshi-header-logo__round {
    display: none;
  }

  .gshi-hero-logo {
    display: none;
  }

  .gshi-hero-panel--with-logo {
    display: block;
  }
}

/* =============================================
   Förderverein: Kontaktkarte
   ============================================= */
.gshi-contact-card-wrap {
  max-width: 620px;
  margin: 1.5rem auto 0;
}
.gshi-contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.gshi-contact-verein {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}
.gshi-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}
.gshi-contact-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  width: 1.25rem;
  margin-top: 0.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gshi-contact-link {
  color: var(--color-primary);
  text-decoration: none;
  word-break: break-all;
}
.gshi-contact-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   BARRIEREFREIHEIT — Skip-Link (WCAG 2.1 AA)
   ========================================================================== */
.gshi-skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  background: var(--color-primary, #45B36B);
  color: white;
  padding: 12px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: top 0.2s;
}
.gshi-skip-link:focus {
  top: 0;
  outline: 3px solid white;
  outline-offset: 2px;
}

/* ==========================================================================
   BARRIEREFREIHEIT — Globaler Fokus-Indikator (WCAG 2.4.7 / 2.4.11)
   ========================================================================== */
*:focus-visible {
  outline: 3px solid var(--color-primary, #45B36B);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Überschreibt die pauschalen outline:none-Regeln für Lang-Toggle/Buttons */
.gshi-lang-toggle:focus-visible,
.gshi-lang-btn:focus-visible {
  outline: 3px solid var(--color-primary, #45B36B) !important;
  outline-offset: 3px;
  border-radius: 3px;
}

/* ==========================================================================
   BARRIEREFREIHEIT — OS-Einstellungen (WCAG 2.3.3 / 1.4.6)
   ========================================================================== */

/* Animationen deaktivieren wenn Nutzer das im OS eingestellt hat
   (relevant bei Epilepsie, Vestibulärsstörungen) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1      !important;
    transition-duration:       0.01ms !important;
    scroll-behavior:           auto   !important;
  }
}

/* Kontrast erhöhen wenn Nutzer "Mehr Kontrast" im OS aktiviert hat
   (Windows High Contrast, macOS Bedienungshilfen) */
@media (prefers-contrast: more) {
  :root {
    --color-text:    #000000;
    --color-bg:      #ffffff;
    --color-primary: #006633;
  }
  body {
    color:      #000000;
    background: #ffffff;
  }
  a {
    color:           #006633;
    text-decoration: underline;
  }
}

/* ── Bild-Platzhalter (Foto folgt) ─────────────────────────────────────────── */
.gshi-img-placeholder {
  background: #E8F5ED;
  border-radius: var(--radius-card);
  border: 2px dashed #45B36B;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 2.5rem 2rem;
  color: #2d8a50;
  text-align: center;
  min-height: 220px;
}

.gshi-img-placeholder svg {
  opacity: 0.45;
  flex-shrink: 0;
}

.gshi-img-placeholder-label {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.95rem;
  color: #2d8a50;
}

.gshi-img-placeholder-size {
  font-size: 0.75rem;
  color: #6b7280;
  font-family: monospace;
  background: rgba(255,255,255,0.75);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-top: 0.15rem;
}

/* Text + Bild nebeneinander (50/50) */
.gshi-text-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.gshi-text-image h2 {
  margin-top: 0;
}

@media (max-width: 700px) {
  .gshi-text-image {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Vollbreites Bild als eigene Section */
.gshi-fullwidth-img-section {
  padding: 0;
  overflow: hidden;
}

.gshi-fullwidth-img-section .gshi-img-placeholder {
  border-radius: 0;
  border-left: none;
  border-right: none;
  min-height: 300px;
  padding: 3rem 2rem;
}

/* Kleines quadratisches Akzentbild (Startseite) */
.gshi-portrait-image {
  width: min(420px, 40%);
  aspect-ratio: 4/3;
  flex-shrink: 0;
}

.gshi-portrait-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.gshi-portrait-inner .gshi-portrait-text {
  flex: 1;
  min-width: 220px;
}

/* ── Notfallbanner ──────────────────────────────────────────────────────────── */
.gshi-emergency {
  display: none;
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  z-index: 200;
}

.gshi-emergency.is-visible {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gshi-emergency--warning {
  background: #fef3c7;
  color: #92400e;
  border-bottom: 2px solid #f59e0b;
}

.gshi-emergency--info {
  background: #dbeafe;
  color: #1e3a8a;
  border-bottom: 2px solid #3b82f6;
}

.gshi-emergency--alert {
  background: #fee2e2;
  color: #7f1d1d;
  border-bottom: 2px solid #ef4444;
}

.gshi-emergency-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.gshi-emergency-text {
  flex: 1;
}

.gshi-emergency-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: inherit;
  opacity: 0.6;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.gshi-emergency-close:hover {
  opacity: 1;
}

/* ==========================================================================
   BACK-TO-TOP BUTTON
   ========================================================================== */
.gshi-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1B69B4;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(27,105,180,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.gshi-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gshi-back-to-top:hover {
  background: #155290;
}

.gshi-back-to-top:focus-visible {
  outline: 3px solid #1B69B4;
  outline-offset: 3px;
}

.gshi-back-to-top svg {
  pointer-events: none;
}

@media (max-width: 600px) {
  .gshi-back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================
   ICS KALENDER-EXPORT BUTTONS (termine.html)
   ========================================================================== */
.gshi-ics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 0.5rem;
}

.gshi-ics-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-btn);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.gshi-ics-btn--download {
  background: #1B69B4;
  color: #fff;
  box-shadow: 0 2px 8px rgba(27,105,180,0.3);
}

.gshi-ics-btn--download:hover {
  background: #155294;
  box-shadow: 0 4px 12px rgba(27,105,180,0.4);
}

.gshi-ics-btn--subscribe {
  background: #fff;
  color: #1B69B4;
  border: 2px solid #1B69B4;
}

.gshi-ics-btn--subscribe:hover {
  background: #1B69B4;
  color: #fff;
}

.gshi-ics-hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   KLASSENTIERE SEKTION (Startseite)
   ========================================================================== */

.gshi-klassen {
  padding: 3.5rem 0;
}

.gshi-klassen-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  position: relative;
}

.gshi-klassen-img-wrap {
  position: relative;
  width: min(400px, 45%);
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: 45% 55% 40% 60% / 55% 40% 60% 45%;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26,74,46,0.12), 0 4px 16px rgba(0,0,0,0.07);
  z-index: 1;
}

/* Warmer Akzent-Blob dahinter */
.gshi-klassen-inner::before {
  content: '';
  position: absolute;
  left: -18px;
  top: 14px;
  width: min(400px, 45%);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-pink));
  border-radius: 48% 52% 42% 58% / 52% 48% 55% 45%;
  transform: rotate(-4deg);
  opacity: 0.5;
  z-index: 0;
}

.gshi-klassen-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gshi-klassen-content {
  flex: 1;
  min-width: 220px;
}

.gshi-klassen-headline {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.gshi-klassen-text {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.8;
}

.gshi-klassen-animals {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.gshi-klassen-animal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-white);
  border-radius: 2rem;
  padding: 0.5rem 1.1rem 0.5rem 0.6rem;
  box-shadow: 0 2px 8px rgba(26,74,46,0.1);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.gshi-klassen-animal-emoji {
  font-size: 1.8rem;
  line-height: 1;
}

@media (max-width: 700px) {
  .gshi-klassen-img-wrap {
    width: 100%;
  }
  .gshi-klassen-inner::before {
    display: none;
  }
}

/* ==========================================================================
   ECHTE BILDER — Ersatz für Platzhalter
   ========================================================================== */

/* Portrait-Bild Startseite */
.gshi-portrait-img-wrap {
  position: relative;
  width: min(420px, 40%);
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: 58% 42% 52% 48% / 44% 56% 44% 56%;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26,74,46,0.14), 0 4px 16px rgba(0,0,0,0.07);
  z-index: 1;
}

/* Dekorativer Blob dahinter — sitzt auf dem Portrait-Inner */
.gshi-portrait-inner {
  position: relative;
}

.gshi-portrait-inner::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 10px;
  width: min(420px, 40%);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-accent-blue), var(--color-accent-lavender));
  border-radius: 52% 48% 58% 42% / 50% 44% 56% 50%;
  transform: rotate(4deg);
  opacity: 0.45;
  z-index: 0;
}

.gshi-portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .gshi-portrait-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
  }
  .gshi-portrait-inner::after {
    display: none;
  }
}

/* Text+Bild-Raster (profil.html, betreuung.html) */
.gshi-text-image-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* ==========================================================================
   FÖRDERVEREIN-SEITE
   ========================================================================== */

.gshi-foerderverein-intro {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.gshi-foerderverein-intro-text {
  flex: 1 1 0;
}

.gshi-foerderverein-intro-text p + p {
  margin-top: 0.85rem;
}

.gshi-foerderverein-verein-name {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.gshi-foerderverein-intro-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem;
}

.gshi-foerderverein-intro-logo img {
  width: 150px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.gshi-foerderverein-cta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.gshi-foerderverein-cta h2 {
  margin-bottom: 1rem;
}

.gshi-foerderverein-cta p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text);
}

@media (max-width: 600px) {
  .gshi-foerderverein-intro {
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.5rem;
  }
  .gshi-foerderverein-intro-logo img {
    width: 110px;
  }
}

/* Vollbreite Fotos (unterricht.html, foerderverein.html) */
.gshi-fullwidth-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================================
   ORGANISCHE SHAPES & FARBVARIANTEN (neues Frühlingsgrün-Farbsystem)
   ========================================================================== */

/* Dekorative Blob-Form (absolut positioniert im Elternelement) */
.gshi-blob {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Numbers-Section: je Item eigene Akzentfarbe */
.gshi-number-item--pink  .gshi-number-value { color: var(--color-accent-pink); }
.gshi-number-item--blue  .gshi-number-value { color: var(--color-accent-blue); }

/* Kacheln: farbige Oberkante pro Thema */
.gshi-tile {
  border-top: 4px solid var(--color-primary);
}

.gshi-tile--pink     { border-top-color: var(--color-accent-pink); }
.gshi-tile--yellow   { border-top-color: var(--color-accent); }
.gshi-tile--blue     { border-top-color: var(--color-accent-blue); }
.gshi-tile--lavender { border-top-color: var(--color-accent-lavender); }

/* Hover-Farbe passend zur Kachelvariante */
.gshi-tile--pink:hover     { background: var(--color-accent-pink); border-top-color: var(--color-accent-pink); }
.gshi-tile--yellow:hover   { background: var(--color-accent); border-top-color: var(--color-accent); color: var(--color-text); }
.gshi-tile--blue:hover     { background: var(--color-accent-blue); border-top-color: var(--color-accent-blue); color: var(--color-text); }
.gshi-tile--lavender:hover { background: var(--color-accent-lavender); border-top-color: var(--color-accent-lavender); }

.gshi-tile--yellow:hover .gshi-tile-text,
.gshi-tile--blue:hover   .gshi-tile-text { color: rgba(26,74,46,0.75); }

/* News-Teaser-Karten: farbige Foto-Platzhalter mit organischen Blobs */
.gshi-news-card-img--pink     { background: linear-gradient(135deg, #FFD6E7, #FFB3C8); }
.gshi-news-card-img--yellow   { background: linear-gradient(135deg, #FFF3CC, #FFE680); }
.gshi-news-card-img--blue     { background: linear-gradient(135deg, #D0EEFF, #A5D4FF); }
.gshi-news-card-img--lavender { background: linear-gradient(135deg, #EDE4FF, #CEB9FF); }

.gshi-news-card-img--pink::before {
  background: rgba(255,107,157,0.3);
  width: 130px; height: 130px;
  top: -35px; right: -25px;
  border-radius: 30% 70% 60% 40% / 50% 40% 60% 50%;
}
.gshi-news-card-img--pink::after {
  background: rgba(255,143,171,0.25);
  width: 85px; height: 85px;
  bottom: -25px; left: 15px;
  border-radius: 60% 40% 30% 70% / 40% 60% 40% 60%;
}

.gshi-news-card-img--yellow::before {
  background: rgba(255,180,50,0.35);
  width: 140px; height: 110px;
  top: -25px; right: -30px;
  border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
}
.gshi-news-card-img--yellow::after {
  background: rgba(255,200,80,0.25);
  width: 75px; height: 90px;
  bottom: -20px; left: 20px;
  border-radius: 40% 60% 70% 30% / 60% 30% 70% 40%;
}

.gshi-news-card-img--blue::before {
  background: rgba(80,160,255,0.3);
  width: 120px; height: 120px;
  top: -30px; right: -20px;
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
}
.gshi-news-card-img--blue::after {
  background: rgba(60,130,230,0.2);
  width: 90px; height: 70px;
  bottom: -20px; left: 25px;
  border-radius: 30% 70% 40% 60% / 50% 40% 60% 50%;
}

.gshi-news-card-img--lavender::before {
  background: rgba(150,110,240,0.3);
  width: 115px; height: 130px;
  top: -30px; right: -18px;
  border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
}
.gshi-news-card-img--lavender::after {
  background: rgba(120,90,210,0.2);
  width: 80px; height: 80px;
  bottom: -20px; left: 30px;
  border-radius: 70% 30% 40% 60% / 40% 70% 30% 60%;
}

/* Hero: Blob-Dekorationen */
.gshi-hero-blob-1 {
  position: absolute;
  top: -80px;
  right: 0;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.12);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  pointer-events: none;
  z-index: 1;
}

.gshi-hero-blob-2 {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 220px;
  height: 220px;
  background: rgba(255,255,255,0.08);
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  pointer-events: none;
  z-index: 1;
}

/* Numbers-Section: Animierte Hintergrund-Bubbles */
.gshi-numbers {
  position: relative;
  overflow: hidden;
}

@keyframes floatBlob {
  0%   { transform: translate(0, 0) scale(1); }
  25%  { transform: translate(8px, -12px) scale(1.04); }
  50%  { transform: translate(-6px, -20px) scale(0.97); }
  75%  { transform: translate(-12px, -8px) scale(1.03); }
  100% { transform: translate(0, 0) scale(1); }
}

.gshi-numbers-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gshi-nb {
  position: absolute;
  border-radius: 44% 56% 62% 38% / 52% 40% 60% 48%;
  opacity: 0;
  animation: floatBlob linear infinite;
  animation-fill-mode: both;
}

/* Stagger: opacity fades in via a separate delay trick */
.gshi-nb--1 {
  width: 110px; height: 110px;
  left: 5%; top: -20px;
  background: rgba(255, 107, 157, 0.18);
  border-radius: 58% 42% 48% 52% / 40% 60% 44% 56%;
  animation-duration: 11s;
  animation-delay: 0s;
  opacity: 0.9;
}
.gshi-nb--2 {
  width: 75px; height: 75px;
  right: 8%; top: 10px;
  background: rgba(255, 209, 102, 0.22);
  border-radius: 42% 58% 55% 45% / 56% 44% 52% 48%;
  animation-duration: 13s;
  animation-delay: -3s;
  opacity: 0.9;
}
.gshi-nb--3 {
  width: 140px; height: 140px;
  right: 0; bottom: -40px;
  background: rgba(116, 192, 252, 0.15);
  border-radius: 52% 48% 38% 62% / 44% 56% 48% 52%;
  animation-duration: 15s;
  animation-delay: -6s;
  opacity: 0.9;
}
.gshi-nb--4 {
  width: 60px; height: 60px;
  left: 22%; bottom: 5px;
  background: rgba(177, 151, 252, 0.2);
  border-radius: 60% 40% 52% 48% / 46% 54% 40% 60%;
  animation-duration: 9s;
  animation-delay: -1.5s;
  opacity: 0.9;
}
.gshi-nb--5 {
  width: 90px; height: 90px;
  left: 48%; top: -15px;
  background: rgba(97, 217, 53, 0.12);
  border-radius: 48% 52% 60% 40% / 54% 46% 42% 58%;
  animation-duration: 12s;
  animation-delay: -4s;
  opacity: 0.9;
}
.gshi-nb--6 {
  width: 50px; height: 50px;
  right: 28%; bottom: 8px;
  background: rgba(255, 107, 157, 0.15);
  border-radius: 55% 45% 44% 56% / 48% 52% 58% 42%;
  animation-duration: 10s;
  animation-delay: -7s;
  opacity: 0.9;
}

/* Elternbereich-Kachel: gelbe Hervorhebung */
.gshi-tile-highlight {
  border: 2px solid var(--color-accent) !important;
  border-top: 4px solid var(--color-accent) !important;
}

/* ==========================================================================
   RTL-UNTERSTÜTZUNG (Arabisch / Farsi)
   Wird aktiviert wenn dir="rtl" am <html>-Element gesetzt ist.
   Systemschriften übernehmen die Darstellung — keine externen Fonts nötig.
   ========================================================================== */

/* Systemschrift-Stacks für RTL-Sprachen */
[lang="ar"] body,
[lang="ar"] p,
[lang="ar"] span,
[lang="ar"] li,
[lang="ar"] td,
[lang="ar"] button,
[lang="ar"] input {
  font-family: 'Noto Naskh Arabic', 'Arabic Typesetting', 'Geeza Pro', 'Tahoma', 'Arial Unicode MS', sans-serif;
  line-height: 1.95;
}

[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4 {
  font-family: 'Noto Naskh Arabic', 'Arabic Typesetting', 'Geeza Pro', 'Tahoma', sans-serif;
  line-height: 1.5;
}

[lang="fa"] body,
[lang="fa"] p,
[lang="fa"] span,
[lang="fa"] li,
[lang="fa"] td,
[lang="fa"] button,
[lang="fa"] input {
  font-family: 'Vazirmatn', 'Noto Sans Arabic', 'Geeza Pro', 'Tahoma', 'Arial Unicode MS', sans-serif;
  line-height: 1.95;
}

[lang="fa"] h1,
[lang="fa"] h2,
[lang="fa"] h3,
[lang="fa"] h4 {
  font-family: 'Vazirmatn', 'Noto Sans Arabic', 'Geeza Pro', 'Tahoma', sans-serif;
  line-height: 1.5;
}

/* --- Header ---------------------------------------------------------------- */

/* Sekretariats-Infos links/rechts tauschen */
[dir="rtl"] .gshi-header-top {
  direction: rtl;
}

[dir="rtl"] .gshi-header-right {
  align-items: flex-start;
}

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

/* Elternbereich-Button: Abstand von rechts statt links */
[dir="rtl"] .gshi-nav-eltern {
  margin-right: 0;
  margin-left: 0.5rem;
}

/* Highlight-Link (Elternbereich in der Nav-Liste) */
[dir="rtl"] .gshi-nav-list .gshi-nav-highlight a {
  margin-left: 0;
  margin-right: 0.5rem;
}

/* Hamburger-Menü auf mobil: an den linken Rand */
[dir="rtl"] .gshi-hamburger {
  margin-left: 0;
  margin-right: auto;
}

/* --- Sprach-Dropdown ------------------------------------------------------- */

/* Dropdown-Container: von rechts nach links verschieben */
[dir="rtl"] .gshi-lang-dropdown {
  margin-left: 0;
  margin-right: auto;
  padding-right: 0;
  padding-left: var(--container-pad, 1.5rem);
}

/* Menü öffnet sich nach rechts statt links */
[dir="rtl"] .gshi-lang-menu {
  right: auto;
  left: 0;
}

/* Sprach-Buttons: Text rechtsbündig */
[dir="rtl"] .gshi-lang-btn {
  text-align: right;
}

/* Aktiv-Häkchen: nach rechts */
[dir="rtl"] .gshi-lang-btn.gshi-lang-active::before {
  content: none;
}
[dir="rtl"] .gshi-lang-btn.gshi-lang-active::after {
  content: ' ✓';
}

/* --- Dekorative Blobs hinter Bildern --------------------------------------- */

/* Portrait-Blob (Startseite, "Unsere Schule"): von right auf left spiegeln */
[dir="rtl"] .gshi-portrait-inner::after {
  right: auto;
  left: -18px;
}

/* Klassen-Blob ("Unsere Klassen"): von left auf right spiegeln */
[dir="rtl"] .gshi-klassen-inner::before {
  left: auto;
  right: -18px;
}

/* --- Galerie Datenschutz-Hinweis ----------------------------------------- */
[dir="rtl"] .gshi-gal-datenschutz {
  border-left: none;
  border-right: 3px solid var(--color-border);
}

/* --- Mobile RTL ------------------------------------------------------------ */
@media (max-width: 768px) {
  [dir="rtl"] .gshi-lang-menu {
    right: auto;
    left: 0;
  }

  [dir="rtl"] .gshi-lang-dropdown {
    padding-left: 1.5rem;
    padding-right: 0;
  }
}

/* ==========================================================================
   EVENT SPOTLIGHT
   ========================================================================== */
.gshi-event-spotlight {
  background: var(--color-footer-bg);
  padding: 3rem 0;
  border-top: 4px solid var(--color-primary);
  border-bottom: 4px solid var(--color-primary);
}

.gshi-event-spotlight-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.gshi-event-spotlight-poster img {
  width: 260px;
  max-width: 100%;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  display: block;
}

.gshi-event-spotlight-badge {
  display: inline-block;
  background: var(--color-accent-pink);
  color: var(--color-text);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.9rem;
}

.gshi-event-spotlight-title {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.2rem;
  line-height: 1.1;
}

.gshi-event-spotlight-venue {
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.gshi-event-spotlight-details {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.gshi-event-spotlight-detail {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--color-white);
  font-size: 1rem;
}

.gshi-event-spotlight-detail-label {
  color: var(--color-accent-blue);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  min-width: 70px;
}

.gshi-event-spotlight-lineup {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  padding: 1rem 1.25rem;
}

.gshi-event-spotlight-lineup-label {
  color: var(--color-accent-blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.gshi-event-spotlight-lineup-main {
  color: var(--color-white);
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}

.gshi-event-spotlight-lineup-support {
  color: var(--color-accent);
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .gshi-event-spotlight-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .gshi-event-spotlight-poster {
    display: flex;
    justify-content: center;
  }

  .gshi-event-spotlight-poster img {
    width: 100%;
    max-width: 300px;
  }

  .gshi-event-spotlight-title {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   SCHULFEST ANKÜNDIGUNG (Startseite)
   ========================================================================== */
.gshi-schulfest {
  background: var(--color-white);
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

/* Dekorative Hintergrundblobs */
.gshi-schulfest::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 209, 102, 0.10);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  pointer-events: none;
}

.gshi-schulfest::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -50px;
  width: 220px;
  height: 220px;
  background: rgba(255, 107, 157, 0.07);
  border-radius: 60% 40% 30% 70% / 50% 60% 40% 50%;
  pointer-events: none;
}

.gshi-schulfest-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.gshi-schulfest-text {
  flex: 0 0 340px;
  position: relative;
  z-index: 1;
}

.gshi-schulfest-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-accent-pink);
  color: var(--color-white);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.gshi-schulfest-headline {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--color-text);
  margin-bottom: 0.6rem;
}

.gshi-schulfest-caption {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.gshi-schulfest-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.gshi-schulfest-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.4;
}

.gshi-schulfest-meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.gshi-schulfest-poster-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Poster-Button: Reset + Cursor */
button.gshi-schulfest-poster-wrap {
  all: unset;
  display: block;
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(26, 74, 46, 0.08),
    0 8px 32px rgba(26, 74, 46, 0.14),
    0 0 0 4px var(--color-bg-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
}

button.gshi-schulfest-poster-wrap:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 12px rgba(26, 74, 46, 0.10),
    0 16px 48px rgba(26, 74, 46, 0.20),
    0 0 0 4px var(--color-bg-light);
}

button.gshi-schulfest-poster-wrap:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

/* Zoom-Hint-Badge (erscheint beim Hover) */
.gshi-schulfest-zoom-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(26, 74, 46, 0.82);
  color: #fff;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

button.gshi-schulfest-poster-wrap:hover .gshi-schulfest-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

/* ── Poster-Lightbox ────────────────────────────────────────────────────────── */
.gshi-poster-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 28, 18, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}

.gshi-poster-lightbox:not([hidden]) {
  display: flex;
}

.gshi-poster-lightbox.is-open {
  opacity: 1;
}

.gshi-poster-lightbox-inner {
  max-width: 1200px;
  width: 100%;
  position: relative;
  cursor: default;
}

.gshi-poster-lightbox-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.gshi-poster-lightbox.is-open .gshi-poster-lightbox-img {
  transform: scale(1);
}

.gshi-poster-lightbox-close {
  position: absolute;
  top: -1rem;
  right: -1rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.gshi-poster-lightbox-close:hover {
  background: var(--color-bg-light);
  transform: scale(1.1);
}

.gshi-poster-lightbox-close:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .gshi-poster-lightbox {
    padding: 1rem 0.75rem;
  }

  .gshi-poster-lightbox-close {
    top: -0.5rem;
    right: -0.25rem;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .gshi-schulfest-inner {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .gshi-schulfest-text {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .gshi-schulfest-meta {
    align-items: center;
  }

  button.gshi-schulfest-poster-wrap {
    flex: none;
    width: 100%;
    max-width: 600px;
  }
}

/* Mobil */
@media (max-width: 480px) {
  .gshi-schulfest {
    padding: 2.5rem 0 3rem;
  }

  button.gshi-schulfest-poster-wrap {
    max-width: 100%;
  }
}
