@font-face {
  font-family: "Amatic SC Custom";
  src: url("../fonts/AmaticSC-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #e8e3d5;
  --surface: rgba(255, 252, 247, 0.96);
  --surface-strong: #ffffff;
  --surface-alt: #efe8da;
  --text: #193235;
  --muted: #56696b;
  --primary: #3a78a6;
  --primary-2: #285d83;
  --display-blue: #3a78a6;
  --accent: #fd7823;
  --accent-soft: rgba(253, 120, 35, 0.14);
  --number-blue: #275f86;
  --number-pink: #b84c7e;
  --number-green: #2f7f49;
  --number-purple: #624ab0;
  --border: rgba(58, 120, 166, 0.12);
  --tile-bg: var(--surface);
  --tile-border: rgba(17, 33, 48, 0.12);
  --tile-text: #112130;
  --tile-muted: rgba(17, 33, 48, 0.88);
  --confetti-image: url("../img/Konfetti.png");
  --logo-watercolor: url("../img/Aquarell/Aquarell-small.jpg");
  --confetti-filter-coral: hue-rotate(-10deg) saturate(1.08) brightness(1.03);
  --confetti-filter-blue: hue-rotate(145deg) saturate(1.16) brightness(1.02);
  --confetti-filter-green: hue-rotate(92deg) saturate(1.16) brightness(1.02);
  --confetti-filter-pink: hue-rotate(-58deg) saturate(1.18) brightness(1.05);
  --confetti-filter-purple: hue-rotate(205deg) saturate(1.12) brightness(1.02);
  --confetti-filter-sun: hue-rotate(28deg) saturate(1.12) brightness(1.08);
  --confetti-filter-rainbow: saturate(1.1) brightness(1.04);
  --shadow: 0 20px 60px rgba(24, 41, 42, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
  --font-body: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
  --font-display: "Amatic SC Custom", "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: linear-gradient(180deg, #f2ede3 0%, #ede6d9 44%, #e8e3d5 100%);
  color: var(--text);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  background: #fff;
  color: var(--text);
  padding: 0.85rem 1rem;
  z-index: 1000;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(232, 227, 213, 0.9);
  border-bottom: 1px solid rgba(58, 120, 166, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: 0;
}

.brand-mark,
.footer-mark {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
    var(--logo-watercolor) center / 122% 122% no-repeat,
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 30px rgba(24, 41, 42, 0.1);
}

.brand-logo,
.footer-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.15rem;
  transform: scale(1.18);
  transform-origin: center;
}

.brand-text strong,
.brand strong {
  display: block;
  font-size: 1.05rem;
}

.brand-text small,
.brand small {
  display: block;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.main-nav a {
  color: var(--muted);
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--primary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff !important;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(58, 120, 166, 0.2);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

.hero {
  position: relative;
  padding: 5.5rem 0 4rem;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(23, 54, 75, 0.88) 0%, rgba(23, 54, 75, 0.68) 38%, rgba(23, 54, 75, 0.3) 100%),
    url("../img/Background_img.png") center center / cover no-repeat;
  opacity: 0.3;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -5rem auto;
  width: 20rem;
  height: 20rem;
  background: radial-gradient(circle, rgba(253, 120, 35, 0.22), transparent 70%);
  pointer-events: none;
}

.hero .container,
.section .container,
.contact-section .container,
.legal-main .container {
  position: relative;
  z-index: 1;
}

.hero-grid,
.intro-grid,
.cards,
.feature-grid,
.news-grid,
.download-grid,
.contact-grid,
.steps {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 0.85rem;
  padding: 0.42rem 0.85rem;
  background: rgba(58, 120, 166, 0.1);
  border: 1px solid rgba(58, 120, 166, 0.16);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1,
.section-head h2,
.contact-section h2,
.site-footer h2,
.legal-card h1 {
  line-height: 1.08;
  margin: 0 0 1rem;
}

.hero h1,
.section-head h2,
.contact-section h2,
.social-news-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--display-blue);
}

.hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  max-width: 16ch;
  line-height: 0.95;
}

.home-page .confetti-word {
  --confetti-word-color: var(--accent);
  --confetti-word-filter: var(--confetti-filter-coral);
  position: relative;
  display: inline-block;
  color: var(--confetti-word-color);
  isolation: isolate;
}

.home-page .confetti-word::after {
  content: "";
  position: absolute;
  inset: -0.34em -0.3em -0.1em;
  background: var(--confetti-image) center / cover no-repeat;
  opacity: 0.58;
  transform: rotate(-6deg);
  filter: var(--confetti-word-filter);
  pointer-events: none;
  z-index: -1;
}

.home-page .confetti-blue {
  --confetti-word-color: #3a78a6;
  --confetti-word-filter: var(--confetti-filter-blue);
}

.home-page .confetti-green {
  --confetti-word-color: #4f9a5d;
  --confetti-word-filter: var(--confetti-filter-green);
}

.home-page .confetti-pink {
  --confetti-word-color: #d95b96;
  --confetti-word-filter: var(--confetti-filter-pink);
}

.home-page .confetti-purple {
  --confetti-word-color: #7b5fc6;
  --confetti-word-filter: var(--confetti-filter-purple);
}

.home-page .confetti-sun {
  --confetti-word-color: #e69426;
  --confetti-word-filter: var(--confetti-filter-sun);
}

.home-page .confetti-coral {
  --confetti-word-color: #fd7823;
  --confetti-word-filter: var(--confetti-filter-coral);
}

.home-page .confetti-rainbow {
  --confetti-word-color: #2f7f99;
  --confetti-word-filter: var(--confetti-filter-rainbow);
}

.home-page .hero-copy,
.home-page .section-head,
.home-page .intro-grid article,
.home-page .highlight-box,
.home-page .social-news-card,
.home-page #schule .info-panel,
.home-page .hero-facts li,
.home-page .cards .card,
.home-page .feature-box,
.home-page .step,
.home-page .news-card:not(.featured-news),
.home-page .download-card,
.home-page .quote-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.home-page .hero-copy > *,
.home-page .section-head > *,
.home-page .intro-grid article > *,
.home-page .highlight-box > *,
.home-page .social-news-card > *,
.home-page #schule .info-panel > *,
.home-page .hero-facts li > *,
.home-page .cards .card > *,
.home-page .feature-box > *,
.home-page .step > *,
.home-page .news-card:not(.featured-news) > *,
.home-page .download-card > *,
.home-page .quote-card > * {
  position: relative;
  z-index: 1;
}

.home-page .hero-copy::before,
.home-page .hero-copy::after,
.home-page .section-head::before,
.home-page .section-head::after,
.home-page .intro-grid article::before,
.home-page .intro-grid article::after,
.home-page .highlight-box::before,
.home-page .highlight-box::after,
.home-page .social-news-card::before,
.home-page .social-news-card::after,
.home-page #schule .info-panel::before,
.home-page .hero-facts li::before,
.home-page .cards .card::before,
.home-page .feature-box::before,
.home-page .step::before,
.home-page .news-card:not(.featured-news)::before,
.home-page .download-card::before,
.home-page .quote-card::before {
  content: "";
  position: absolute;
  aspect-ratio: 940 / 788;
  background: var(--confetti-image) center / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

.home-page .hero-copy::before {
  top: -2.2rem;
  left: -1.7rem;
  width: 9.6rem;
  opacity: 0.46;
  transform: rotate(-14deg);
  filter: var(--confetti-filter-pink);
}

.home-page .hero-copy::after {
  top: -1.5rem;
  right: -1.45rem;
  width: 10.3rem;
  opacity: 0.54;
  transform: rotate(12deg);
  filter: var(--confetti-filter-blue);
}

.home-page .section-head::before {
  top: -1.2rem;
  left: -0.7rem;
  width: 6.4rem;
  opacity: 0.38;
  transform: rotate(-16deg);
  filter: var(--confetti-filter-green);
}

.home-page .section-head::after {
  top: -1rem;
  right: -0.6rem;
  width: 7.6rem;
  opacity: 0.4;
  transform: rotate(10deg);
  filter: var(--confetti-filter-sun);
}

.home-page .intro-grid article::before {
  top: -0.8rem;
  left: -0.7rem;
  width: 4.8rem;
  opacity: 0.28;
  transform: rotate(-18deg);
  filter: var(--confetti-filter-purple);
}

.home-page .intro-grid article::after {
  top: 0.45rem;
  right: 0.35rem;
  width: 5.2rem;
  opacity: 0.3;
  transform: rotate(12deg);
  filter: var(--confetti-filter-blue);
}

.home-page .highlight-box::before {
  top: -1.8rem;
  right: 0.7rem;
  width: 11.2rem;
  opacity: 0.42;
  transform: rotate(-10deg);
  filter: var(--confetti-filter-rainbow);
}

.home-page .highlight-box::after {
  bottom: -1.5rem;
  left: -1rem;
  width: 7.4rem;
  opacity: 0.28;
  transform: rotate(156deg);
  filter: var(--confetti-filter-pink);
}

.home-page .social-news-card::before {
  top: -2rem;
  right: -1.4rem;
  width: 10rem;
  opacity: 0.44;
  transform: rotate(15deg);
  filter: var(--confetti-filter-green);
}

.home-page .social-news-card::after {
  top: -1.9rem;
  left: -1.5rem;
  width: 11.2rem;
  opacity: 0.5;
  transform: rotate(-12deg);
  filter: var(--confetti-filter-purple);
}

.home-page #schule .info-panel::before,
.home-page .hero-facts li::before,
.home-page .cards .card::before,
.home-page .feature-box::before,
.home-page .step::before,
.home-page .news-card:not(.featured-news)::before,
.home-page .download-card::before,
.home-page .quote-card::before {
  top: -1rem;
  right: -0.8rem;
  width: 4.8rem;
  opacity: 0.24;
  transform: rotate(12deg);
}

.home-page .hero-facts li:nth-child(3n + 1)::before,
.home-page .cards .card:nth-child(4n + 1)::before,
.home-page .feature-grid > :nth-child(3n + 1)::before,
.home-page .steps > :nth-child(4n + 1)::before,
.home-page .download-grid > :nth-child(5n + 1)::before,
.home-page .quote-grid > :nth-child(3n + 1)::before,
.home-page #schule .info-panel::before {
  filter: var(--confetti-filter-blue);
}

.home-page .hero-facts li:nth-child(3n + 2)::before,
.home-page .cards .card:nth-child(4n + 2)::before,
.home-page .feature-grid > :nth-child(3n + 2)::before,
.home-page .steps > :nth-child(4n + 2)::before,
.home-page .download-grid > :nth-child(5n + 2)::before,
.home-page .quote-grid > :nth-child(3n + 2)::before,
.home-page .news-grid > :nth-child(2)::before {
  filter: var(--confetti-filter-pink);
}

.home-page .hero-facts li:nth-child(3n + 3)::before,
.home-page .cards .card:nth-child(4n + 3)::before,
.home-page .feature-grid > :nth-child(3n + 3)::before,
.home-page .steps > :nth-child(4n + 3)::before,
.home-page .download-grid > :nth-child(5n + 3)::before,
.home-page .quote-grid > :nth-child(3n + 3)::before,
.home-page .news-grid > :nth-child(3)::before {
  filter: var(--confetti-filter-green);
}

.home-page .cards .card:nth-child(4n + 4)::before,
.home-page .steps > :nth-child(4n + 4)::before,
.home-page .download-grid > :nth-child(5n + 4)::before {
  filter: var(--confetti-filter-sun);
}

.home-page .download-grid > :nth-child(5n + 5)::before,
.home-page .news-grid > :nth-child(1)::before {
  filter: var(--confetti-filter-purple);
}

.lead,
.section-head p,
.split-layout p,
.feature-box p,
.card p,
.news-card p,
.download-card p,
.step p,
.info-panel li,
.contact-section p,
.contact-list,
.form-note,
.site-footer p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.hero-facts li p,
.card p,
.feature-box p,
.news-card p,
.download-card p,
.step p,
.info-panel li,
.highlight-box p,
.quote-card p,
.quote-card span,
.wetterau-copy p,
.photo-gallery-content p,
.faq-list details p,
.legal-card p,
.legal-card li,
.news-meta {
  color: var(--tile-muted);
}

#rechtliches .info-panel p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.hero-copy {
  padding: 0.4rem 0;
}

.hero-copy .lead {
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.home-page .button-primary,
.home-page .social-link-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-page .button-primary::before,
.home-page .social-link-button::before {
  content: "";
  position: absolute;
  top: -0.95rem;
  right: -0.8rem;
  width: 6rem;
  aspect-ratio: 940 / 788;
  background: var(--confetti-image) center / contain no-repeat;
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.home-page .button-primary::before {
  filter: var(--confetti-filter-blue);
  transform: rotate(14deg);
}

.home-page .highlight-box .button-primary::before {
  filter: var(--confetti-filter-pink);
}

.home-page .social-link-button::before {
  filter: var(--confetti-filter-green);
  transform: rotate(12deg);
}

.button-primary {
  background:
    var(--confetti-image) right -0.55rem center / 5.6rem auto no-repeat,
    linear-gradient(135deg, var(--accent) 0%, #ff9a53 56%, #7cb6dc 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(253, 120, 35, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(58, 120, 166, 0.14);
  color: var(--text);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-facts li,
.card,
.feature-box,
.info-panel,
.news-card,
.download-card,
.step,
.contact-form,
.intro-grid article,
.highlight-box,
.hero-photo-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-facts li,
.card,
.feature-box,
.info-panel,
.news-card,
.download-card,
.step,
.intro-grid article,
.highlight-box,
.quote-card,
.faq-list details,
.legal-card {
  background: var(--tile-bg);
  border-color: var(--tile-border);
  color: var(--tile-text);
}

#rechtliches .info-panel,
.legal-card {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.contact-form,
.hero-photo-card {
  background: var(--surface);
}

.hero-facts li {
  padding: 1rem;
}

.hero-facts strong,
.contact-list strong,
.info-panel strong {
  display: block;
  margin-bottom: 0.2rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-photo-card {
  width: min(100%, 500px);
  padding: 0.9rem;
  position: relative;
}

.hero-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 8px);
}

.hero-note {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.35rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(24, 41, 42, 0.82);
  color: rgba(255, 255, 255, 0.92);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  margin-bottom: 0.2rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(239, 232, 218, 0.78), rgba(247, 242, 232, 0.22)),
    radial-gradient(circle at bottom right, rgba(58, 120, 166, 0.08), transparent 24rem);
}

.intro-band {
  padding-top: 2.25rem;
}

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

.intro-grid article,
.card,
.feature-box,
.info-panel,
.news-card,
.download-card,
.step,
.contact-form,
.highlight-box {
  padding: 1.5rem;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head.narrow {
  max-width: 760px;
}

.section-head h2,
.contact-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

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

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

.card h3,
.feature-box h3,
.step h3,
.news-card h3,
.download-card h3,
.info-panel h3,
.highlight-box h3,
.legal-section h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.icon {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(253, 120, 35, 0.18), rgba(58, 120, 166, 0.16));
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.home-page .cards.four-up .icon {
  background: transparent;
  color: var(--number-blue);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  letter-spacing: 0.02em;
  font-weight: 900;
  text-shadow: 0 0 0.01px currentColor;
}

.home-page .cards.four-up .icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 240, 228, 0.92));
  border: 1px solid rgba(58, 120, 166, 0.2);
  box-shadow: 0 10px 22px rgba(58, 120, 166, 0.12);
  z-index: -2;
}

.home-page .cards.four-up .card:nth-child(4n + 1) .icon {
  color: var(--number-blue);
}

.home-page .cards.four-up .card:nth-child(4n + 1) .icon::before {
  border-color: rgba(58, 120, 166, 0.24);
  box-shadow: 0 10px 22px rgba(58, 120, 166, 0.14);
}

.home-page .cards.four-up .card:nth-child(4n + 2) .icon {
  color: var(--number-pink);
}

.home-page .cards.four-up .card:nth-child(4n + 2) .icon::before {
  border-color: rgba(217, 91, 150, 0.24);
  box-shadow: 0 10px 22px rgba(217, 91, 150, 0.14);
}

.home-page .cards.four-up .card:nth-child(4n + 3) .icon {
  color: var(--number-green);
}

.home-page .cards.four-up .card:nth-child(4n + 3) .icon::before {
  border-color: rgba(79, 154, 93, 0.24);
  box-shadow: 0 10px 22px rgba(79, 154, 93, 0.14);
}

.home-page .cards.four-up .card:nth-child(4n + 4) .icon {
  color: var(--number-purple);
}

.home-page .cards.four-up .card:nth-child(4n + 4) .icon::before {
  border-color: rgba(123, 95, 198, 0.24);
  box-shadow: 0 10px 22px rgba(123, 95, 198, 0.14);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .home-page .cards.four-up .icon::after {
    content: attr(data-icon);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font: inherit;
    line-height: 1;
    background: var(--confetti-image) center / 250% auto no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    z-index: 1;
    opacity: 0.82;
  }

  .home-page .cards.four-up .card:nth-child(4n + 1) .icon::after {
    background-position: 14% 28%;
    filter: var(--confetti-filter-blue) contrast(1.12) saturate(1.08);
  }

  .home-page .cards.four-up .card:nth-child(4n + 2) .icon::after {
    background-position: 42% 22%;
    filter: var(--confetti-filter-pink) contrast(1.1) saturate(1.1);
  }

  .home-page .cards.four-up .card:nth-child(4n + 3) .icon::after {
    background-position: 66% 34%;
    filter: var(--confetti-filter-green) brightness(0.82) contrast(1.34) saturate(1.18);
  }

  .home-page .cards.four-up .card:nth-child(4n + 4) .icon::after {
    background-position: 84% 30%;
    filter: var(--confetti-filter-purple) contrast(1.12) saturate(1.08);
  }
}

.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2rem;
}

.info-panel ul,
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-panel li,
.contact-list li {
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(58, 120, 166, 0.16);
}

.info-panel li:last-child,
.contact-list li:last-child {
  border-bottom: 0;
}

.image-card {
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.image-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -24% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 120, 35, 0.18), transparent 68%);
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 2rem;
}

.step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.home-page .steps .step span {
  width: 48px;
  height: 48px;
  background: transparent;
  color: var(--number-blue);
  font-size: 1.15rem;
  font-weight: 900;
  isolation: isolate;
  text-shadow: 0 0 0.01px currentColor;
}

.home-page .steps .step span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 240, 228, 0.92));
  border: 1px solid rgba(58, 120, 166, 0.2);
  box-shadow: 0 10px 22px rgba(58, 120, 166, 0.12);
  z-index: -2;
}

.home-page .steps .step:nth-child(4n + 1) span {
  color: var(--number-blue);
}

.home-page .steps .step:nth-child(4n + 1) span::before {
  border-color: rgba(58, 120, 166, 0.24);
  box-shadow: 0 10px 22px rgba(58, 120, 166, 0.14);
}

.home-page .steps .step:nth-child(4n + 2) span {
  color: var(--number-pink);
}

.home-page .steps .step:nth-child(4n + 2) span::before {
  border-color: rgba(217, 91, 150, 0.24);
  box-shadow: 0 10px 22px rgba(217, 91, 150, 0.14);
}

.home-page .steps .step:nth-child(4n + 3) span {
  color: var(--number-green);
}

.home-page .steps .step:nth-child(4n + 3) span::before {
  border-color: rgba(79, 154, 93, 0.24);
  box-shadow: 0 10px 22px rgba(79, 154, 93, 0.14);
}

.home-page .steps .step:nth-child(4n + 4) span {
  color: var(--number-purple);
}

.home-page .steps .step:nth-child(4n + 4) span::before {
  border-color: rgba(123, 95, 198, 0.24);
  box-shadow: 0 10px 22px rgba(123, 95, 198, 0.14);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .home-page .steps .step span::after {
    content: attr(data-step);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font: inherit;
    line-height: 1;
    background: var(--confetti-image) center / 250% auto no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    z-index: 1;
    opacity: 0.82;
  }

  .home-page .steps .step:nth-child(4n + 1) span::after {
    background-position: 14% 28%;
    filter: var(--confetti-filter-blue) contrast(1.12) saturate(1.08);
  }

  .home-page .steps .step:nth-child(4n + 2) span::after {
    background-position: 42% 22%;
    filter: var(--confetti-filter-pink) contrast(1.1) saturate(1.1);
  }

  .home-page .steps .step:nth-child(4n + 3) span::after {
    background-position: 66% 34%;
    filter: var(--confetti-filter-green) brightness(0.82) contrast(1.34) saturate(1.18);
  }

  .home-page .steps .step:nth-child(4n + 4) span::after {
    background-position: 84% 30%;
    filter: var(--confetti-filter-purple) contrast(1.12) saturate(1.08);
  }
}

.highlight-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.highlight-box .button-primary {
  background:
    var(--confetti-image) right -0.45rem center / 5.2rem auto no-repeat,
    linear-gradient(135deg, var(--primary) 0%, #5f9fcb 58%, #ffac63 100%);
  box-shadow: 0 18px 36px rgba(58, 120, 166, 0.22);
}

.news-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.featured-news {
  min-height: 100%;
}

.news-label {
  display: inline-flex;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: var(--tile-text) !important;
  font-weight: 700;
  margin-top: 0;
}

.news-meta {
  display: inline-block;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem;
}

.photo-gallery-card {
  grid-column: span 4;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.photo-gallery-featured {
  grid-column: span 8;
}

.photo-gallery-media {
  overflow: hidden;
  background: rgba(58, 120, 166, 0.08);
}

.photo-gallery-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  text-align: inherit;
  cursor: zoom-in;
}

.photo-gallery-wide {
  aspect-ratio: 16 / 10;
}

.photo-gallery-tall {
  aspect-ratio: 4 / 5;
}

.photo-gallery-square {
  aspect-ratio: 1 / 1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-gallery-card:hover .gallery-image,
.photo-gallery-card:focus-within .gallery-image {
  transform: scale(1.04);
}

.photo-gallery-trigger:focus-visible {
  outline: 3px solid rgba(253, 120, 35, 0.65);
  outline-offset: -3px;
}

.focus-left {
  object-position: 18% center;
}

.focus-center {
  object-position: center center;
}

.focus-right {
  object-position: 82% center;
}

.focus-top {
  object-position: center 18%;
}

.focus-bottom {
  object-position: center 82%;
}

.photo-gallery-content {
  padding: 1.25rem 1.35rem 1.4rem;
}

.photo-gallery-content h3 {
  margin: 0 0 0.6rem;
}

.photo-gallery-content p {
  margin: 0;
  color: var(--muted);
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(12, 20, 22, 0.9);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: min(92vw, 1380px);
  max-height: 88vh;
  padding: 1rem;
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(88vh - 2rem);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-nav,
.lightbox-close {
  position: absolute;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.82);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

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

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 0.25rem;
}

.lightbox-next {
  right: 0.25rem;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(239, 124, 34, 0.95);
}

.download-card a,
.text-link {
  display: inline-flex;
  margin-top: 0.6rem;
  color: var(--primary);
  font-weight: 700;
}

.faq-list {
  max-width: 860px;
}

.faq-list details {
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  font-size: 1.2rem;
  color: var(--primary);
}

.faq-list details[open] summary::after {
  content: "-";
}

.legal-teaser {
  margin-bottom: 0;
}

.legal-teaser-cards {
  display: grid;
  gap: 1rem;
}

.social-news-section {
  padding-top: 2rem;
}

.social-news-card {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  padding: 3.5rem 1.5rem 4rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(247, 239, 225, 0.96)),
    radial-gradient(circle at top center, rgba(58, 120, 166, 0.08), transparent 18rem);
  border: 1px solid rgba(58, 120, 166, 0.08);
  box-shadow: var(--shadow);
  text-align: center;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  margin-bottom: 1rem;
}

.quote-card {
  min-height: 170px;
  padding: 1.5rem 1.25rem 1.3rem;
  border: 1px solid var(--tile-border);
  border-radius: var(--radius-xl);
  background: var(--tile-bg);
  box-shadow: var(--shadow);
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.quote-mark {
  width: 2.8rem;
  height: 2.8rem;
  margin-bottom: 0.35rem;
  object-fit: contain;
}

.quote-card p {
  margin: 0;
  color: var(--tile-muted);
  font-size: 1rem;
  line-height: 1.45;
}

.quote-card span {
  margin-top: 1rem;
  color: var(--tile-text);
  font-weight: 700;
}

.wetterau-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem;
}

.wetterau-copy {
  display: grid;
  gap: 1.25rem;
}

.wetterau-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.wetterau-copy strong {
  color: var(--text);
}

.social-news-card h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.social-links-stack {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: 100%;
}

.social-link-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: min(100%, 17rem);
  min-height: 3.4rem;
  padding: 0.9rem 1.5rem;
  background:
    var(--confetti-image) right -0.45rem center / 5.4rem auto no-repeat,
    linear-gradient(135deg, #fd7823 0%, #ff9d4c 48%, #74b0dd 100%);
  color: #1d2324;
  font-weight: 700;
  border-radius: 4px;
  box-shadow: 0 14px 28px rgba(253, 120, 35, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link-button:hover,
.social-link-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(253, 120, 35, 0.28);
}

.social-link-button-small {
  min-width: min(100%, 12rem);
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(58, 120, 166, 0.98), rgba(40, 93, 131, 0.98)),
    radial-gradient(circle at top right, rgba(253, 120, 35, 0.22), transparent 18rem);
  color: #f4f8f7;
}

.contact-grid {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.contact-section .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.contact-section .lead,
.contact-section p,
.contact-section .contact-list,
.contact-section .form-note,
.contact-section label {
  color: rgba(244, 248, 247, 0.86);
}

.contact-section a {
  color: #fff;
}

.contact-form {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: none;
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: #fff;
  margin-top: 0.45rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.contact-form .button[disabled],
.contact-form .button[disabled]:hover,
.contact-form .button[disabled]:focus-visible {
  opacity: 0.8;
  cursor: wait;
  transform: none;
}

.form-status {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  line-height: 1.6;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-success {
  color: #ecfff2;
  background: rgba(101, 181, 132, 0.2);
  border-color: rgba(159, 229, 186, 0.42);
}

.form-status.is-error {
  color: #fff0f0;
  background: rgba(187, 74, 74, 0.2);
  border-color: rgba(255, 181, 181, 0.38);
}

.site-footer {
  padding: 2rem 0 3rem;
  background: #142726;
  color: #f3f6f5;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.2rem;
}

.footer-nav a {
  color: rgba(243, 246, 245, 0.8);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.legal-main {
  padding: 4rem 0;
}

.legal-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.legal-card h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.legal-section + .legal-section {
  margin-top: 2rem;
}

.legal-card ul {
  padding-left: 1.2rem;
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-copy::before,
  .home-page .hero-copy::after,
  .home-page .section-head::before,
  .home-page .section-head::after,
  .home-page .intro-grid article::before,
  .home-page .intro-grid article::after,
  .home-page .highlight-box::before,
  .home-page .highlight-box::after,
  .home-page .social-news-card::before,
  .home-page .social-news-card::after,
  .home-page #schule .info-panel::before,
  .home-page .hero-facts li::before,
  .home-page .cards .card::before,
  .home-page .feature-box::before,
  .home-page .step::before,
  .home-page .news-card:not(.featured-news)::before,
  .home-page .download-card::before,
  .home-page .quote-card::before,
  .home-page .button-primary::before,
  .home-page .social-link-button::before {
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .news-grid,
  .photo-gallery-grid,
  .intro-grid,
  .four-up,
  .three-up,
  .feature-grid,
  .download-grid,
  .steps,
  .hero-facts {
    grid-template-columns: 1fr 1fr;
  }

  .featured-news {
    grid-column: span 2;
  }

  .photo-gallery-card {
    grid-column: span 1;
  }

  .photo-gallery-featured {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .home-page .hero-copy::before,
  .home-page .hero-copy::after {
    width: 7rem;
  }

  .home-page .section-head::before,
  .home-page .section-head::after,
  .home-page .intro-grid article::before,
  .home-page .intro-grid article::after {
    width: 4.5rem;
  }

  .home-page .highlight-box::before,
  .home-page .highlight-box::after,
  .home-page .social-news-card::before,
  .home-page .social-news-card::after {
    width: 7.8rem;
  }

  .home-page #schule .info-panel::before,
  .home-page .hero-facts li::before,
  .home-page .cards .card::before,
  .home-page .feature-box::before,
  .home-page .step::before,
  .home-page .news-card:not(.featured-news)::before,
  .home-page .download-card::before,
  .home-page .quote-card::before,
  .home-page .button-primary::before,
  .home-page .social-link-button::before {
    width: 4.3rem;
  }

  .home-page .button-primary,
  .home-page .highlight-box .button-primary,
  .home-page .social-link-button {
    background-size: 4.5rem auto, auto;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.55rem 0;
  }

  .hero,
  .section,
  .legal-main {
    padding: 4rem 0;
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .news-grid,
  .photo-gallery-grid,
  .intro-grid,
  .four-up,
  .three-up,
  .feature-grid,
  .download-grid,
  .steps,
  .hero-facts,
  .featured-news {
    grid-template-columns: 1fr;
  }

  .featured-news {
    grid-column: auto;
  }

  .photo-gallery-card,
  .photo-gallery-featured {
    grid-column: auto;
  }

  .highlight-box,
  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand small {
    display: none;
  }

  .brand-mark,
  .footer-mark {
    width: 54px;
    height: 54px;
  }

  .hero h1 {
    max-width: 16ch;
  }

  .hero-note {
    position: static;
    margin-top: 0.9rem;
  }

  .social-news-card {
    padding: 2.75rem 1rem 3rem;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .wetterau-card {
    padding: 1.5rem;
  }

  .social-link-button,
  .social-link-button-small {
    width: 100%;
    min-width: 0;
  }

  .legal-card {
    padding: 1.5rem;
  }

  .lightbox {
    padding: 0;
  }

  .lightbox-shell {
    width: min(96vw, 1380px);
    padding: 0.75rem;
  }

  .lightbox-nav,
  .lightbox-close {
    width: 2.75rem;
    height: 2.75rem;
  }
}
