/* ============================================================
   FV-PPS Website – Frontend CSS
   ============================================================ */

/* ── Variablen ──────────────────────────────────────────── */
:root {
  --navy:       #0d2137;
  --navy-mid:   #163552;
  --navy-light: #1e4976;
  --accent:     #c9a227;
  --accent-hover: #b8911f;
  --white:      #ffffff;
  --light:      #f4f6f9;
  --border:     #e1e6ed;
  --text:       #1a2332;
  --muted:      #6b7a8d;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 2px 16px rgba(13,33,55,.09);
  --shadow-md:  0 4px 28px rgba(13,33,55,.14);
  --transition: .2s ease;
  --font:       'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset & Basis ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-light); text-decoration: none; }
a:hover { color: var(--accent); }

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header & Navigation ────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
  color: var(--white);
  text-decoration: none;
}
.site-logo:hover { color: var(--accent); }

.logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 700;
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .5px;
}
.logo-badge.sm { width: 32px; height: 32px; border-radius: 8px; font-size: .8rem; }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title { font-weight: 700; font-size: .95rem; color: var(--white); }
.logo-sub { font-size: .72rem; color: rgba(255,255,255,.55); letter-spacing: .3px; }

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: .25rem;
}
.main-nav a {
  padding: .45rem .85rem;
  border-radius: 7px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.main-nav a.nav-cta {
  background: var(--accent);
  color: var(--navy);
  font-weight: 600;
  margin-left: .5rem;
}
.main-nav a.nav-cta:hover { background: var(--accent-hover); color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
/* Hamburger → X */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.4rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font);
}
.btn-primary {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--navy); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { color: var(--text); background: var(--light); }
.btn-sm { padding: .4rem 1rem; font-size: .82rem; }
.btn-full { width: 100%; }

/* ── Hero-Bereich ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  text-align: center;
}
.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 2.25rem;
  letter-spacing: .5px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-actions .btn-outline {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.35);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}

/* ── Seiten-Hero (klein) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 3rem 0 2.5rem;
}
.page-hero.page-hero-sm { padding: 2rem 0 1.75rem; }
.page-hero--image {
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,33,55,.82) 0%, rgba(22,53,82,.7) 100%);
}
.page-hero--image .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
  font-weight: 700;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .6rem;
}
.breadcrumb a { color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { opacity: .4; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-light { background: var(--light); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  gap: 1rem;
}
.section-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}
.section-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy-light);
  white-space: nowrap;
}
.section-link:hover { color: var(--accent); }
.section-title-sm {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
}

/* ── Blog-Karten ────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.04); }

.post-card-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-inner .logo-badge { width: 52px; height: 52px; font-size: 1rem; opacity: .7; }

.post-card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-date {
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: .5rem;
}
.post-card-body h2, .post-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .7rem;
  line-height: 1.35;
}
.post-card-body h2 a, .post-card-body h3 a {
  color: var(--text);
  text-decoration: none;
}
.post-card-body h2 a:hover, .post-card-body h3 a:hover { color: var(--navy-light); }
.post-teaser {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.1rem;
}
.read-more {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy-light);
  margin-top: auto;
}
.read-more:hover { color: var(--accent); }

/* ── Einzelner Post ─────────────────────────────────────── */
.post-full { background: var(--white); border-radius: var(--radius-lg); overflow: visible; box-shadow: var(--shadow); }
.post-full-image img { width: 100%; max-height: 420px; object-fit: cover; }
.post-full-header { padding: 2rem 2.5rem 1.25rem; border-bottom: 1px solid var(--border); }
.post-full-header h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; margin-top: .5rem; }
.post-content { padding: 2rem 2.5rem; }
.post-nav { padding: 1.5rem 2.5rem 2rem; border-top: 1px solid var(--border); }

/* Post mit Hero-Bild: Bild links, schwebt seitlich heraus */
.post-full-hero { position: relative; padding: 2rem 2.5rem 0; }
.post-hero-img {
  float: left;
  width: 42%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: -6px 6px 28px rgba(13,33,55,.22), 0 2px 8px rgba(13,33,55,.12);
  margin: 0 2rem 1.5rem -3.5rem;
  shape-outside: border-box;
}
.post-hero-meta { overflow: hidden; }
.post-hero-meta .post-date { display: block; margin-bottom: .4rem; }
.post-hero-meta h1 { font-size: clamp(1.3rem, 2.8vw, 1.9rem); font-weight: 700; line-height: 1.25; }
.post-content--has-img { padding-top: .75rem; clear: both; }
.post-content--has-img::before { content: ''; display: table; clear: both; }

/* ── Dateianhänge ───────────────────────────────────────── */
.post-files {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--light);
}
.post-files h3 { font-size: 1rem; margin-bottom: 1rem; color: var(--muted); font-weight: 600; }
.file-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.file-item a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
  font-size: .9rem;
}
.file-item a:hover { border-color: var(--navy-light); background: #eef3f9; color: var(--navy); }
.file-icon { font-size: 1.2rem; flex-shrink: 0; }
.file-name { flex: 1; font-weight: 500; }
.file-size { font-size: .78rem; color: var(--muted); margin-left: auto; white-space: nowrap; }

/* ── WYSIWYG-Content (Frontend-Rendering) ───────────────── */
.wysiwyg { font-size: 1rem; line-height: 1.8; color: var(--text); }
.wysiwyg h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--navy); }
.wysiwyg h3 { font-size: 1.2rem; font-weight: 700; margin: 1.75rem 0 .6rem; color: var(--navy); }
.wysiwyg h4 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
.wysiwyg p { margin-bottom: 1.1rem; }
.wysiwyg ul, .wysiwyg ol { margin: .75rem 0 1.1rem 1.5rem; }
.wysiwyg li { margin-bottom: .35rem; }
.wysiwyg strong { font-weight: 700; }
.wysiwyg em { font-style: italic; }
.wysiwyg a { color: var(--navy-light); text-decoration: underline; }
.wysiwyg a:hover { color: var(--accent); }
.wysiwyg img { max-width: 100%; border-radius: var(--radius); margin: 1.25rem 0; box-shadow: var(--shadow); height: auto; }
.wysiwyg img[style*="float:left"], .wysiwyg img[style*="float: left"]   { margin: .25rem 1rem .75rem 0; }
.wysiwyg img[style*="float:right"], .wysiwyg img[style*="float: right"] { margin: .25rem 0 .75rem 1rem; }
.wysiwyg::after { content: ''; display: table; clear: both; }
.wysiwyg blockquote {
  border-left: 4px solid var(--accent);
  padding: .75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--light);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--muted);
}
.wysiwyg hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
/* Quill-Ausgabe: Ausrichtung */
.wysiwyg .ql-align-center { text-align: center; }
.wysiwyg .ql-align-right  { text-align: right; }
.wysiwyg .ql-align-justify { text-align: justify; }
/* Quill-Ausgabe: Einrückung (margin-left verschiebt Bullet + Text gemeinsam) */
.wysiwyg li.ql-indent-1 { margin-left: 2em; }
.wysiwyg li.ql-indent-2 { margin-left: 4em; }
.wysiwyg li.ql-indent-3 { margin-left: 6em; }
.wysiwyg li.ql-indent-4 { margin-left: 8em; }
.wysiwyg li.ql-indent-5 { margin-left: 10em; }
/* Einrückung für Nicht-Listen-Elemente (Absätze etc.) */
.wysiwyg :not(li).ql-indent-1 { padding-left: 2em; }
.wysiwyg :not(li).ql-indent-2 { padding-left: 4em; }
.wysiwyg :not(li).ql-indent-3 { padding-left: 6em; }
.wysiwyg :not(li).ql-indent-4 { padding-left: 8em; }
.wysiwyg :not(li).ql-indent-5 { padding-left: 10em; }

/* ── Termine ────────────────────────────────────────────── */
.termine-list { display: flex; flex-direction: column; gap: 1rem; }
.termin-item {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  align-items: flex-start;
}
.termin-item:hover { box-shadow: var(--shadow-md); border-color: #c5d3e0; }
.termin-item.past { opacity: .6; }

.termin-date-block {
  flex-shrink: 0;
  width: 82px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: .6rem .4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.termin-day { font-size: 1.75rem; font-weight: 700; line-height: 1; }
.termin-month { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; opacity: .85; margin-top: .1rem; }
.termin-year { font-size: .7rem; opacity: .6; margin-top: .1rem; }

.termin-info { flex: 1; }
.termin-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.termin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .83rem;
  color: var(--muted);
  margin-bottom: .5rem;
}
.termin-info p { font-size: .9rem; color: var(--text); margin: 0; }
.termin-info .wysiwyg { font-size: .9rem; color: var(--text); }

/* ── Termin-Anmeldemodul ─────────────────────────────────── */
.termin-registration {
  margin-top: 1.25rem; padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}
.termin-registration details > summary {
  display: inline-flex; align-items: center; gap: .4rem;
  cursor: pointer; font-size: .85rem; font-weight: 600;
  color: var(--navy); padding: .45rem .9rem;
  background: var(--light); border: 1.5px solid var(--border);
  border-radius: 7px; list-style: none; transition: .15s;
}
.termin-registration details > summary::-webkit-details-marker { display: none; }
.termin-registration details[open] > summary { background: var(--navy); color: #fff; border-color: var(--navy); }
.reg-form-box {
  margin-top: 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1rem;
  background: #f8fafc;
}
.reg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.reg-form .form-group { margin-bottom: .75rem; }
.reg-form .form-group label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .35rem; color: var(--text); }
.reg-form input[type=text],
.reg-form input[type=email] { width: 100%; box-sizing: border-box; padding: .55rem .8rem; border: 1.5px solid #cbd5e1; border-radius: 7px; font-size: .9rem; background: #fff; }
.reg-form input:focus { outline: none; border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(13,33,55,.08); }
.reg-form .reg-hint { font-size: .75rem; color: var(--muted); margin-top: .6rem; }
.reg-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; border-radius: 8px; padding: .65rem 1rem; font-size: .85rem; margin-bottom: .5rem; }
.reg-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: 8px; padding: .65rem 1rem; font-size: .85rem; margin-bottom: .5rem; }
@media (max-width: 540px) { .reg-form-row { grid-template-columns: 1fr; } }

/* ── Pagination ─────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}
.pagination-info { font-size: .88rem; color: var(--muted); }

/* ── Empty state ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 3rem;
  font-size: 1rem;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 2.5rem 0;
  margin-top: 4rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-nav a:hover { color: var(--white); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.35); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: .2rem; }
  .main-nav a { display: block; padding: .6rem .8rem; }
  .main-nav a.nav-cta { margin-left: 0; margin-top: .5rem; text-align: center; }

  .hero { padding: 2.5rem 0 2rem; }
  .post-grid { grid-template-columns: 1fr; }
  .termin-item { gap: 1rem; }
  .post-full-header, .post-content, .post-nav, .post-files { padding-left: 1.5rem; padding-right: 1.5rem; }
  .post-full-hero { padding: 1.5rem 1.5rem 0; }
  .post-hero-img { float: none; width: 100%; margin: 0 0 1.25rem 0; aspect-ratio: 16/9; border-radius: var(--radius); box-shadow: 0 4px 20px rgba(13,33,55,.18); }
  .section { padding: 2.5rem 0; }
}

@media (max-width: 480px) {
  .header-inner { height: 62px; }
  .site-header { position: sticky; top: 0; }
  .main-nav { top: 62px; }
  .hero-content h1 { font-size: 1.6rem; }
  .logo-title { font-size: .85rem; }
  .logo-sub { display: none; }
}

/* ── Hero mit Hintergrundbild ───────────────────────────── */
.hero--image {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
}
.hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 33, 55, 0.62);
}
.hero--image .hero-content { position: relative; z-index: 1; }

/* Logo-Bild in Header ──────────────────────────────────── */
.logo-img { max-height: 42px; width: auto; object-fit: contain; border-radius: 6px; }

/* ── Skip-Navigation (Barrierefreiheit) ─────────────────── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: var(--white);
  padding: .6rem 1.2rem;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
  transition: top .2s;
}
.skip-nav:focus { top: 0; }

/* ── Cookie-Banner ──────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--navy);
  color: rgba(255,255,255,.9);
  padding: 1.1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
}
.cookie-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text strong { display: block; margin-bottom: .25rem; }
.cookie-text p { font-size: .85rem; margin: 0; opacity: .85; }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-banner .btn-outline {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.35);
}
.cookie-banner .btn-outline:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
}

/* ── Kontaktformular ────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}
.contact-info .admin-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); }
.contact-info h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.contact-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: .95rem;
  line-height: 1.5;
}
.contact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.contact-form-wrap .form-group label { font-size: .88rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: .4rem; }
.contact-form-wrap input,
.contact-form-wrap textarea,
.contact-form-wrap select {
  width: 100%;
  padding: .6rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  outline: none;
  transition: border-color .15s;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus { border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(30,73,118,.1); }
.contact-form-wrap textarea { resize: vertical; min-height: 140px; }
.checkbox-label { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; font-size: .88rem; line-height: 1.5; }
.checkbox-label input { width: auto; margin-top: .2rem; flex-shrink: 0; accent-color: var(--navy); }
.form-errors { background: #fee2e2; border: 1px solid #fecaca; border-radius: var(--radius); padding: .85rem 1.1rem; margin-bottom: 1.25rem; }
.form-errors ul { margin-left: 1.25rem; }
.form-errors li { color: #991b1b; font-size: .875rem; }
.alert-success-box { text-align: center; padding: 3rem 2rem; }
.alert-success-box h2 { font-size: 1.4rem; margin: .75rem 0 .5rem; }
.alert-success-box p { color: var(--muted); }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; gap: .75rem; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE – neues 2/3 + 1/3 Layout
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero-Erweiterungen ─────────────────────────────────────── */
.hero-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.btn-outline-hero {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .6rem 1.4rem; border-radius: 8px;
  font-size: .9rem; font-weight: 600;
  border: 2px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.9);
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-hero:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
.hero-logo-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  z-index: 2;
}
.hero-logo-img {
  max-height: 99px;
  width: auto;
  border-radius: 12px;
  background: #ffffff;
  padding: 6px 10px;
}

/* ── Home Section & Grid ────────────────────────────────────── */
.home-section {
  padding: 3.5rem 0 4.5rem;
  background: #f7f9fc;
}
.home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.75rem;
  align-items: start;
}

/* ── Column Headers ─────────────────────────────────────────── */
.home-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.home-col-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.label-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--navy-light);
  display: inline-block;
}
.label-dot--amber { background: var(--accent); }
.home-col-more {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-light);
}
.home-col-more:hover { color: var(--accent); }

/* ── News-Liste (Startseite) ────────────────────────────────── */
.news-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.news-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
}
.news-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.news-thumb {
  flex-shrink: 0;
  width: 118px;
  height: 88px;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.news-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.news-item:hover .news-thumb img { transform: scale(1.07); }
.news-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.news-body {
  flex: 1;
  min-width: 0;
  padding: .85rem 1.1rem .85rem 0;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.news-date {
  font-size: .7rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .7px;
}
.news-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: .1rem 0 .25rem;
}
.news-title a { color: inherit; }
.news-title a:hover { color: var(--navy-light); }
.news-excerpt {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: .45rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy-light);
  transition: gap var(--transition), color var(--transition);
}
.btn-text-link:hover { color: var(--accent); gap: .55rem; }

/* ── Sidebar ────────────────────────────────────────────────── */
.home-sidebar { position: sticky; top: 90px; }

.sidebar-termine {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1rem;
}
.sidebar-termin {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  background: #fff;
  border-radius: 10px;
  padding: .85rem 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  color: inherit;
}
.sidebar-termin:hover {
  border-color: var(--accent);
  box-shadow: 0 3px 16px rgba(201,162,39,.15);
}
.sidebar-termin-date {
  flex-shrink: 0;
  width: 44px;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: #fff;
  border-radius: 8px;
  padding: .4rem .2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.st-day { font-size: 1.25rem; font-weight: 700; line-height: 1; }
.st-month { font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; opacity: .8; margin-top: .1rem; }
.sidebar-termin-body { flex: 1; min-width: 0; }
.sidebar-termin-body strong {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .3rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-termin-meta {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.sidebar-termin-meta span {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  color: var(--muted);
}
.sidebar-all-btn {
  display: block;
  text-align: center;
  padding: .65rem 1rem;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-light);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.sidebar-all-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.sidebar-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: .5rem; padding: 2rem 0;
  color: var(--muted); font-size: .875rem; text-align: center;
}

/* ── Sidebar CTA ────────────────────────────────────────────── */
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  color: #fff;
  margin-top: .25rem;
}
.sidebar-cta-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(201,162,39,.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.sidebar-cta strong { display: block; font-size: .95rem; margin-bottom: .2rem; }
.sidebar-cta p { font-size: .8rem; color: rgba(255,255,255,.65); margin: 0; }
.sidebar-cta .btn-primary { align-self: flex-start; }

.home-empty {
  color: var(--muted);
  padding: 2rem 0;
  font-size: .95rem;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .home-grid { grid-template-columns: 1fr; gap: 2rem; }
  .home-sidebar { position: static; }
  .sidebar-termine { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
}
@media (max-width: 600px) {
  .news-thumb { width: 80px; height: 68px; }
  .sidebar-termine { grid-template-columns: 1fr; }
  .hero-logo-img { max-height: 52px; }
}
