/* ============================================================
   Senioren Union – Stylesheet
   Apple Design Language × CDU-Senioren-Union-Farben
   Keine externen Abhängigkeiten – alles lokal
   ============================================================ */

/* ------------------------------------------------------------
   0. CUSTOM PROPERTIES (Design Tokens)
   ------------------------------------------------------------ */
:root {
  /* Primärpalette – Senioren Union Blau */
  --su-blue-900:  #002B5C;
  --su-blue-800:  #003F7F;
  --su-blue-700:  #005299;
  --su-blue-600:  #0062B1;
  --su-blue-500:  #0071CE;
  --su-blue-100:  #E6F0FA;

  /* Akzent – CDU-Orange */
  --su-orange:    #E87722;
  --su-orange-dk: #C95F10;
  --su-orange-lt: #FAE8D4;

  /* Neutrals – Apple Grau */
  --bg-page:      #F5F5F7;
  --bg-card:      #FFFFFF;
  --bg-dark:      #1D1D1F;
  --text-primary: #1D1D1F;
  --text-secondary:#6E6E73;
  --text-muted:   #A1A1A6;
  --border:       rgba(0,0,0,0.08);
  --border-strong:rgba(0,0,0,0.15);

  /* Typografie */
  --font-sans:    -apple-system, "SF Pro Display", "Inter", "Helvetica Neue",
                  Arial, sans-serif;
  --font-serif:   "New York", Georgia, "Times New Roman", serif;

  /* Radius */
  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  22px;
  --r-xl:  28px;
  --r-pill:999px;

  /* Schatten */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg:  0 12px 32px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);
  --shadow-xl:  0 24px 48px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);

  /* Spacing scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10:40px;
  --sp-12:48px;
  --sp-16:64px;
  --sp-20:80px;
  --sp-24:96px;

  /* Übergänge */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast:   150ms var(--ease-out);
  --t-med:    300ms var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 18px;           /* Senioren: mind. 18px */
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--su-blue-600);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--su-blue-800); }
a:focus-visible {
  outline: 3px solid var(--su-orange);
  outline-offset: 3px;
  border-radius: 4px;
}

ul, ol { list-style-position: inside; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   2. LAYOUT HELPERS
   ------------------------------------------------------------ */
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.section {
  padding-block: var(--sp-20);
}

.section--sm { padding-block: var(--sp-12); }

/* Bento-Grid */
.bento-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

@media (max-width: 768px) {
  .bento-grid--2,
  .bento-grid--3 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   3. TYPOGRAFISCHE HELFER
   ------------------------------------------------------------ */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--su-orange);
  margin-bottom: var(--sp-3);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 680px;
}

.text-center { text-align: center; }
.text-muted   { color: var(--text-muted); }

/* ------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
              transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Primär-Button – Orange Akzent */
.btn--primary {
  background: var(--su-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232,119,34,.35);
}
.btn--primary:hover {
  background: var(--su-orange-dk);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232,119,34,.45);
}

/* Sekundär-Button – Blau */
.btn--secondary {
  background: var(--su-blue-700);
  color: #fff;
}
.btn--secondary:hover {
  background: var(--su-blue-900);
  color: #fff;
}

/* Ghost-Button */
.btn--ghost {
  background: transparent;
  border-color: var(--su-blue-600);
  color: var(--su-blue-600);
}
.btn--ghost:hover {
  background: var(--su-blue-100);
}

/* ------------------------------------------------------------
   5. KARTEN (Cards)
   ------------------------------------------------------------ */
.card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Glas-Karte */
.card--glass {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
}

/* Blaue Akzent-Karte */
.card--accent {
  background: linear-gradient(135deg, var(--su-blue-800), var(--su-blue-600));
  color: #fff;
  border: none;
}
.card--accent h2,
.card--accent h3,
.card--accent p { color: #fff; }
.card--accent .lead { color: rgba(255,255,255,.8); }

/* ------------------------------------------------------------
   6. HEADER & NAVIGATION
   ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(245,245,247,0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding-block: var(--sp-4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
}
.site-logo__mark {
  width: 44px;
  height: 44px;
  background: var(--su-blue-800);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.05em;
  flex-shrink: 0;
}
.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-logo__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--su-blue-900);
}
.site-logo__tagline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--su-blue-900);
  letter-spacing: 0;
}

/* Hauptnavigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.main-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav__link {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.main-nav__link:hover {
  background: var(--su-blue-100);
  color: var(--su-blue-700);
}
.main-nav__link.active,
.main-nav__link[aria-current="page"] {
  background: var(--su-blue-100);
  color: var(--su-blue-800);
  font-weight: 600;
}

/* CTA in Nav */
.nav-cta {
  margin-left: var(--sp-4);
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Mobile Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  border-radius: var(--r-sm);
  transition: background var(--t-fast);
}
.nav-toggle:hover { background: var(--su-blue-100); }
.nav-toggle__bar {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-med), opacity var(--t-med);
}

@media (max-width: 960px) {
  .main-nav__list { display: none; }
  .nav-toggle     { display: flex; }

  .main-nav.open .main-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 8px);
    right: var(--sp-6);
    background: rgba(245,245,247,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: var(--sp-3);
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    z-index: 999;
  }
  .main-nav.open .main-nav__link {
    padding: var(--sp-3) var(--sp-4);
    font-size: 1rem;
  }
  .nav-cta { display: none; }
}

/* ------------------------------------------------------------
   7. HERO SECTION
   ------------------------------------------------------------ */
.hero {
  padding-block: var(--sp-24) var(--sp-20);
  background: linear-gradient(160deg,
    var(--su-blue-100) 0%,
    var(--bg-page)     60%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,98,177,.12), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,119,34,.10), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;   /* Vollbreite: Bild + Text untereinander */
  align-items: center;
  gap: var(--sp-10);
}
.hero__content { position: relative; z-index: 1; }
.hero__eyebrow { margin-bottom: var(--sp-4); }
.hero__title {
  margin-bottom: var(--sp-5);
  max-width: 720px;
}
.hero__lead {
  margin-bottom: var(--sp-8);
  font-size: 1.2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.hero__visual {
  position: relative;
  z-index: 1;
}
.hero__image-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16/7;        /* passt zum Originalformat 1447×639 */
  background: var(--su-blue-100);
}
.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--su-blue-100), rgba(232,119,34,.12));
  color: var(--su-blue-600);
  font-size: 0.9rem;
  gap: var(--sp-3);
}
.hero__image-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: .4;
}

.hero__visual { order: -1; }   /* Bild immer oben */

/* Bildunterschrift unter dem Hero-Foto */
.hero__caption {
  margin-top: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  border-left: 4px solid var(--su-orange);
  box-shadow: var(--shadow-sm);
}
.hero__caption p {
  margin: 0 0 .6em;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.hero__caption p:last-child { margin-bottom: 0; }
.hero__caption-headline {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--su-blue-900) !important;
}
.hero__caption-names {
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
  font-style: italic;
  border-top: 1px solid var(--border);
  padding-top: .5em;
  margin-top: .5em !important;
}

/* ------------------------------------------------------------
   8. SECTION HEADERS
   ------------------------------------------------------------ */
.section-header {
  margin-bottom: var(--sp-10);
}
.section-header--center {
  text-align: center;
}
.section-header--center .lead { margin-inline: auto; }

/* ------------------------------------------------------------
   9. FEATURE / POSITIONS KARTEN
   ------------------------------------------------------------ */
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--su-blue-100);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.feature-icon svg { width: 24px; height: 24px; color: var(--su-blue-700); }

/* ------------------------------------------------------------
   10. TERMINE / EVENTS
   ------------------------------------------------------------ */
.termine-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.termin-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--sp-5);
  align-items: start;
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.termin-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.termin-date {
  background: var(--su-blue-800);
  border-radius: var(--r-sm);
  padding: var(--sp-2) var(--sp-3);
  text-align: center;
  color: #fff;
  line-height: 1.2;
}
.termin-date__day  { font-size: 1.6rem; font-weight: 700; }
.termin-date__month{ font-size: 0.7rem; font-weight: 600;
                     letter-spacing: .08em; text-transform: uppercase; }

.termin-body h3 { font-size: 1.05rem; margin-bottom: var(--sp-1); }
.termin-body p  { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }

/* ------------------------------------------------------------
   11. VORSTAND KARTEN
   ------------------------------------------------------------ */
.vorstand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-5);
}

.vorstand-card {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.vorstand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.vorstand-card__photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--sp-4);
  border: 3px solid var(--su-blue-100);
  background: var(--su-blue-100);
}
.vorstand-card__photo-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--su-blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
  color: var(--su-blue-500);
}
.vorstand-card__name  { font-size: 1rem; font-weight: 700; }
.vorstand-card__title { font-size: 0.85rem; color: var(--su-orange);
                        font-weight: 600; margin-top: var(--sp-1); }
.vorstand-card__bio   { font-size: 0.85rem; color: var(--text-secondary);
                        margin-top: var(--sp-3); }

/* ------------------------------------------------------------
   12. GALERIE
   ------------------------------------------------------------ */
.galerie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
}

.galerie-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.galerie-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.galerie-item:hover img { transform: scale(1.05); }

.galerie-item__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  color: #fff;
  padding: var(--sp-5) var(--sp-4) var(--sp-3);
  font-size: 0.85rem;
  transform: translateY(100%);
  transition: transform var(--t-med);
}
.galerie-item:hover .galerie-item__caption {
  transform: translateY(0);
}

/* ------------------------------------------------------------
   13. KONTAKT-FORMULAR
   ------------------------------------------------------------ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp-12);
  align-items: start;
}

.form-group {
  margin-bottom: var(--sp-5);
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--text-secondary);
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--su-blue-600);
  box-shadow: 0 0 0 4px rgba(0,98,177,.15);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* Datenschutz-Checkbox */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.form-check input[type="checkbox"] {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--su-blue-700);
  cursor: pointer;
}
.form-check label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  cursor: pointer;
}

@media (max-width: 768px) {
  .contact-wrap { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   14. INHALTSSEITE (Body Text Styles)
   ------------------------------------------------------------ */
.page-content {
  max-width: 760px;
}
.page-content h2 {
  margin-top: 1.8em;
  margin-bottom: .6em;
  padding-bottom: .3em;
  border-bottom: 2px solid var(--su-blue-100);
}
.page-content h3 {
  margin-top: 1.4em;
  margin-bottom: .5em;
  color: var(--su-blue-700);
}
.page-content ul, .page-content ol {
  margin: 1em 0 1em 1.5em;
  list-style-position: outside;
}
.page-content li { margin-bottom: .4em; }
.page-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}
.page-content strong { color: var(--su-blue-900); }
.page-content em     { color: var(--text-secondary); }

/* ------------------------------------------------------------
   15. HERO-SEITEN BANNER (Unterseiten)
   ------------------------------------------------------------ */
.page-hero {
  padding-block: var(--sp-16) var(--sp-12);
  background: linear-gradient(135deg,
    var(--su-blue-900) 0%,
    var(--su-blue-700) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.page-hero .eyebrow { color: var(--su-orange); }
.page-hero h1       { color: #fff; margin-bottom: var(--sp-3); }
.page-hero .lead    { color: rgba(255,255,255,.8); }

/* ------------------------------------------------------------
   16. BREADCRUMB
   ------------------------------------------------------------ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--su-blue-600); }
.breadcrumb__sep { color: var(--text-muted); }

/* ------------------------------------------------------------
   17. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding-block: var(--sp-16) var(--sp-8);
  margin-top: var(--sp-24);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}

.footer-brand .site-logo__name   { color: #fff; font-size: 1.1rem; }
.footer-brand .site-logo__tagline{ color: rgba(255,255,255,.9); }
.footer-brand .site-logo__mark   { background: var(--su-blue-600); }

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: var(--sp-4);
  color: rgba(255,255,255,.5);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: var(--sp-2); }
.footer-col a  {
  color: rgba(255,255,255,.55);
  font-size: 0.9rem;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.85rem;
  color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   18. NOTICE / ALERT BOXEN
   ------------------------------------------------------------ */
.alert {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  border-left: 4px solid;
  margin-bottom: var(--sp-5);
}
.alert--info {
  background: var(--su-blue-100);
  border-color: var(--su-blue-600);
  color: var(--su-blue-900);
}
.alert--warning {
  background: var(--su-orange-lt);
  border-color: var(--su-orange);
  color: #6d3406;
}

/* ------------------------------------------------------------
   19. IMPRESSUM / DATENSCHUTZ
   ------------------------------------------------------------ */
.legal-content {
  max-width: 820px;
  margin-inline: auto;
  background: var(--bg-card);
  border-radius: var(--r-xl);
  padding: var(--sp-12);
  box-shadow: var(--shadow-md);
}
.legal-content h2 {
  font-size: 1.4rem;
  margin: 2em 0 0.6em;
  color: var(--su-blue-800);
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.1rem;
  margin: 1.5em 0 0.4em;
  color: var(--su-blue-700);
}
.legal-content p, .legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.legal-content hr {
  border: none;
  border-top: 2px solid var(--su-blue-100);
  margin: 2.5em 0;
}

/* ------------------------------------------------------------
   20. SCROLL-TO-TOP BUTTON
   ------------------------------------------------------------ */
.scroll-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  width: 48px; height: 48px;
  background: var(--su-blue-800);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-med), visibility var(--t-med),
              transform var(--t-med), background var(--t-fast);
  z-index: 800;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top:hover { background: var(--su-orange); }

/* ------------------------------------------------------------
   21. SKIP-LINK (Accessibility)
   ------------------------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-6);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-5);
  background: var(--su-orange);
  color: #fff;
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-4); }

/* ------------------------------------------------------------
   22. PRINT-STYLES
   ------------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .scroll-top, .btn { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* ------------------------------------------------------------
   23. REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
