/* Future Perfect – Styles. Palette/Typo aus dem Squarespace-Original
   (docs/konzept-future-perfect-webseite.md, Kap. 7): Blau #1c3572 / #3558bf,
   Gelb #ffcd52, Hellblau #f4f5fb; IBM Plex Sans; Pill-Buttons mit hartem
   Schatten (3px 3px 0 #1c3572), Karten mit 2px Rahmen und 5px Schatten. */

:root {
  --blue-dark: #1c3572;   /* darkAccent 223,61%,28% */
  --blue: #3558bf;        /* accent 223,57%,48% */
  --blue-light: #f4f5fb;  /* lightAccent 230,37%,97% */
  --yellow: #ffcd52;      /* "black" im Squarespace-Theme = Gelb */
  --blue-bright: #5b8ff7; /* bright-Theme 222,91%,66% */
  --green: #33f0a4;       /* tertiary/bright-Buttons 157,90%,57% */
  --white: #fff;
  --text: #1c3572;
  --shadow: 3px 3px 0 var(--blue-dark);
  --shadow-lg: 5px 5px 0 var(--blue-dark);
  --radius: 20px;
  --wrap: 1300px;
  --font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--font); font-size: 1.05rem; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[x-cloak] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.small, .small p { font-size: .9rem; }

h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; }
.prose p { margin: 0 0 1em; }
.prose p.large { font-size: 1.2rem; }
.prose p.small { font-size: .9rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin: .3em 0; }
.prose li > p, .prose li > h4 { margin: 0; }
.prose ul li > h4 { font-size: 1.05rem; }
.prose a { color: var(--blue); }
.prose .center { text-align: center; }
.prose img { border-radius: 12px; margin: 1.2em 0; }
.text-center { text-align: center; }
.text-center .prose ul { display: inline-block; text-align: left; list-style: none; padding: 0; }
.text-center .prose ul li h4 { font-size: 1.25rem; margin: .4em 0; }
.section-head { max-width: 900px; margin: 0 auto 3.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.kicker { text-align: center; margin-bottom: 3rem; }
.kicker h2, .kicker h1 { margin: 0; }
.c-darkAccent { color: var(--blue-dark); }
.c-accent { color: var(--blue); }
.c-white { color: var(--white); }
.c-lightAccent { color: var(--blue-light); }
.c-black { color: var(--yellow); }
mark { background: none; color: inherit; position: relative; white-space: nowrap; }
mark::after { content: ""; position: absolute; left: -.1em; right: -.1em; bottom: -.08em; height: .18em; border-bottom: .1em solid currentColor; border-radius: 40%/100%; animation: draw .7s ease-out both; }
mark:nth-of-type(2)::after { animation-delay: .3s; } mark:nth-of-type(3)::after { animation-delay: .6s; }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.wrap { width: min(var(--wrap), 100% - 3rem); margin-inline: auto; }
.wrap--narrow { max-width: 860px; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; position: relative; }

/* Themes – exakt nach den Squarespace-Theme-Definitionen (site.css):
   Hintergrund / grosse Titel (h1,h2) / mittlere Titel (h3,h4) / Text / Buttons */
.section { --bg: var(--white); --h-large: var(--blue-dark); --h-medium: var(--blue); --p: var(--blue-dark);
  --btn1-bg: var(--yellow); --btn1-fg: var(--blue-dark); --btn2-bg: var(--blue-dark); --btn2-fg: var(--white); --btn3-bg: var(--blue); --btn3-fg: var(--white); }
.theme-white-bold { --btn3-bg: var(--green); --btn3-fg: var(--blue-dark); }
.theme-light, .theme-light-bold { --bg: var(--blue-light); --h-medium: var(--blue-dark);
  --btn1-bg: var(--blue-dark); --btn1-fg: var(--white); --btn2-bg: var(--blue); --btn2-fg: var(--white); --btn3-bg: var(--white); --btn3-fg: var(--blue-dark); }
.theme-bright, .theme-bright-inverse { --bg: var(--blue-bright); --h-large: var(--white); --h-medium: var(--white); --p: var(--white);
  --btn1-bg: var(--green); --btn1-fg: var(--blue-dark); --btn2-bg: var(--green); --btn2-fg: var(--blue-dark); --btn3-bg: var(--blue); --btn3-fg: var(--white); }
.theme-bright-inverse { --btn1-bg: var(--blue); --btn1-fg: var(--white); --btn2-bg: var(--blue); --btn2-fg: var(--white); }
.theme-dark { --bg: var(--blue); --h-large: var(--white); --h-medium: var(--white); --p: var(--white);
  --btn2-bg: var(--green); --btn2-fg: var(--blue-dark); --btn3-bg: var(--blue-light); --btn3-fg: var(--blue-dark); }
.theme-dark-bold { --bg: var(--blue-dark); --h-large: var(--blue); --h-medium: var(--blue); --p: var(--blue);
  --btn1-bg: var(--blue); --btn1-fg: var(--white); --btn2-bg: var(--blue); --btn2-fg: var(--white); --btn3-bg: var(--blue); --btn3-fg: var(--white); }
.theme-black { --bg: var(--blue-dark); --h-large: var(--white); --h-medium: var(--white); --p: var(--white);
  --btn2-bg: var(--white); --btn2-fg: var(--blue-dark); }
.theme-black-bold { --bg: var(--yellow); --h-large: var(--blue-dark); --h-medium: var(--blue); --p: var(--blue-dark);
  --btn1-bg: var(--blue); --btn1-fg: var(--white); --btn2-bg: var(--blue); --btn2-fg: var(--white); --btn3-bg: var(--blue); --btn3-fg: var(--white); }
.section { background: var(--bg); color: var(--p); }
.section h1, .section h2 { color: var(--h-large); }
.section h3, .section h4 { color: var(--h-medium); }
.section .prose a:not(.btn) { color: var(--h-medium); }
/* Flächen-Klassen (Squarespace-Shape-Farben) für Kacheln und Boxen */
.bg-white { --bg: var(--white); --h-large: var(--blue-dark); --h-medium: var(--blue); --p: var(--blue-dark); background: var(--bg); color: var(--p); }
.bg-lightAccent { --bg: var(--blue-light); --h-large: var(--blue-dark); --h-medium: var(--blue-dark); --p: var(--blue-dark); background: var(--bg); color: var(--p); }
.bg-accent { --bg: var(--blue); --h-large: var(--white); --h-medium: var(--white); --p: var(--white); background: var(--bg); color: var(--p); }
.bg-black { --bg: var(--yellow); --h-large: var(--blue-dark); --h-medium: var(--blue-dark); --p: var(--blue-dark); background: var(--bg); color: var(--p); }
.bg-darkAccent { --bg: var(--blue-dark); --h-large: var(--white); --h-medium: var(--white); --p: var(--white); background: var(--bg); color: var(--p); }
[class*="bg-"] h1, [class*="bg-"] h2 { color: var(--h-large); } [class*="bg-"] h3, [class*="bg-"] h4 { color: var(--h-medium); }
/* Redaktionelle Farbspans: in dunklen Flächen auf Weiss/Gelb umschalten */
.theme-black .c-darkAccent, .theme-dark .c-darkAccent, .theme-bright .c-darkAccent, .theme-bright-inverse .c-darkAccent, .bg-accent .c-darkAccent, .bg-darkAccent .c-darkAccent { color: var(--white); }
.theme-black .c-accent, .theme-dark .c-accent, .theme-bright .c-accent, .theme-bright-inverse .c-accent, .bg-accent .c-accent, .bg-darkAccent .c-accent { color: var(--white); }
.bg-white .c-darkAccent, .bg-lightAccent .c-darkAccent, .bg-black .c-darkAccent, .theme-white .c-darkAccent, .theme-light .c-darkAccent, .theme-black-bold .c-darkAccent { color: var(--blue-dark); }
.bg-white .c-accent, .bg-lightAccent .c-accent, .theme-white .c-accent, .theme-light .c-accent, .theme-black-bold .c-accent { color: var(--blue); }
.bg-black .c-accent { color: var(--blue-dark); }
.bg-black .c-white, .bg-white .c-white, .bg-lightAccent .c-white, .theme-black-bold .c-white, .theme-white .c-white { color: var(--blue-dark); }

/* Buttons – Pill, uppercase, harter Schatten, Hover verschiebt sich in den Schatten */
.btn { display: inline-block; font-family: var(--font); font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; padding: .85rem 1.6rem; border-radius: 999px; text-decoration: none; cursor: pointer; line-height: 1.2; border: 1px solid var(--blue-dark); box-shadow: var(--shadow); transition: transform .1s, box-shadow .1s; background: var(--btn1-bg, var(--yellow)); color: var(--btn1-fg, var(--blue-dark)); }
.btn:hover { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--blue-dark); }
.btn--primary { background: var(--btn1-bg, var(--yellow)); color: var(--btn1-fg, var(--blue-dark)); }
.btn--secondary { background: var(--btn2-bg, var(--blue-dark)); color: var(--btn2-fg, var(--white)); }
.btn--tertiary { background: var(--btn3-bg, var(--blue)); color: var(--btn3-fg, var(--white)); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0 0; }
.btn-row.center { justify-content: center; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Header */
.admin-bar { background: #222; color: #fff; font-size: .85rem; padding: .35rem 1rem; }
.admin-bar a { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid #e6e8f0; transition: transform .25s; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.site-header .logo img { height: 50px; width: auto; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.main-nav > a, .nav-folder-title { text-decoration: none; font-weight: 500; font-size: 1rem; padding: .3em 0; border-bottom: 2px solid transparent; color: var(--text); background: none; border-top: 0; border-left: 0; border-right: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .3em; }
.main-nav > a:hover, .main-nav > a.active, .nav-folder-title:hover, .nav-folder-title.active { border-bottom-color: var(--yellow); }
.nav-folder { position: relative; }
.nav-folder-content { display: none; position: absolute; top: 100%; left: -15px; min-width: 240px; background: var(--blue-dark); border-radius: 10px; box-shadow: 5px 5px 10px rgba(0,0,0,.2); padding: 0; overflow: hidden; z-index: 60; }
.nav-folder.open .nav-folder-content { display: block; }
.nav-folder-content a { display: block; padding: 15px; color: #fff; text-decoration: none; }
.nav-folder-content a:hover, .nav-folder-content a.active { background: var(--yellow); color: #000; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 1.5px; background: var(--text); margin: 8px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 960px) {
  .site-header .logo img { height: 36px; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--blue-light); padding: 1rem 1.5rem 1.5rem; border-bottom: 1px solid #ddd; gap: .4rem; }
  .main-nav > a, .nav-folder-title { font-size: 1.15rem; }
  .nav-folder-content { position: static; box-shadow: none; margin: .3rem 0 .6rem; }
  .nav-folder-content a { padding: 10px 15px; }
  .nav-open .main-nav { display: flex; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: 62vh; }
.section--hero { padding: clamp(3rem, 6vw, 5rem) 0; }
.hero--compact { grid-template-columns: 1fr; }
.hero-text h1 { margin-bottom: 1.2rem; }
.hero-text h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin-top: 1.2rem; }
.hero-text h3 { margin-top: 2.5rem; font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.hero-text p { max-width: 36em; }
.hero-image img { width: 100%; max-height: 560px; object-fit: contain; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } .hero-image { order: -1; max-width: 320px; margin-inline: auto; } .hero-image img { max-height: 260px; } }

/* Feature-Box (blaue Fläche mit Titel, Einleitung, Akkordeon, Bild, Spalten) */
.feature-box { background: var(--blue-light); color: var(--blue-dark); border-radius: var(--radius); padding: clamp(2rem, 4.5vw, 4rem); --h-large: var(--blue-dark); --h-medium: var(--blue-dark); }
.theme-light .feature-box, .theme-light-bold .feature-box { background: var(--white); border: 2px solid var(--blue-dark); box-shadow: var(--shadow-lg); }
.feature-head { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
.feature-head:has(.feature-image) { grid-template-columns: 1.4fr .8fr; }
.feature-head h2 { color: var(--blue-dark); }
.feature-head h4 { color: var(--blue); font-weight: 600; }
.feature-image img { width: 100%; max-height: 320px; object-fit: contain; }
.feature-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem 2.5rem; margin-top: 2.5rem; }
.feature-col h3 { color: var(--blue-dark); }
.feature-col--heading { grid-column: 1 / -1; margin-top: 1rem; }
.feature-col--heading h2 { margin-bottom: 0; }
@media (max-width: 860px) { .feature-head:has(.feature-image) { grid-template-columns: 1fr; } .feature-image { order: -1; max-width: 260px; } }

/* Akkordeon */
.accordion { margin: 1.2rem 0; border-top: 1px solid rgba(28,53,114,.25); }
.accordion-item { border-bottom: 1px solid rgba(28,53,114,.25); }
.accordion-item > button { width: 100%; text-align: left; background: none; border: 0; font: inherit; font-weight: 600; color: var(--blue-dark); padding: .9rem 2.5rem .9rem 0; cursor: pointer; position: relative; }
.accordion-icon { position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.accordion-item.open .accordion-icon { transform: translateY(-30%) rotate(-135deg); }
.accordion-body { padding: 0 0 1rem; }

/* Grid / Kacheln */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 3rem); }
.grid--1 { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5, .grid--6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid--3, .grid--4, .grid--5, .grid--6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.grid-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.grid-item .prose { width: 100%; }
.grid-item .prose h4 { margin-bottom: .4em; }
.grid-item .btn-row { margin-top: auto; padding-top: 1rem; }
.grid--cards .grid-item { background: var(--white); color: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 2.5rem 2rem; }
.grid--cards .grid-item h4 { font-size: 1.2rem; color: var(--h-large); }
.grid--box { background: var(--bg); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 3rem); }
.grid--rows { grid-template-columns: 1fr; gap: 2rem; max-width: 900px; margin-inline: auto; }
.grid--rows .grid-item { display: grid; grid-template-columns: 90px 1fr; gap: 1.5rem; text-align: left; align-items: start; }
.grid--rows .grid-image { margin: 0; } .grid--rows .grid-image img { max-height: 70px; }
.grid--rows .btn-row { grid-column: 2; }
.grid-image { width: 100%; margin-bottom: 1rem; display: flex; justify-content: center; }
.grid-image img { max-height: 200px; object-fit: contain; border-radius: 12px; }
.grid-item--icon .grid-image img { max-height: 90px; }
.page-uber-uns .grid-image img { aspect-ratio: 3/4; object-fit: cover; max-height: 320px; border-radius: 12px; }

/* Logo-Wand */
.logo-group { margin-top: 2rem; }
.logo-group-title { text-align: center; color: var(--blue-dark); margin-bottom: 1.2rem; }
.theme-bright .logo-group-title { color: var(--blue-dark); }
.logo-wall { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.logo-wall li { width: 200px; text-align: center; }
.logo-card { background: var(--white); border-radius: 16px; border: 2px solid var(--blue-dark); box-shadow: var(--shadow-lg); height: 130px; display: flex; align-items: center; justify-content: center; padding: 1rem; margin-bottom: .7rem; }
.theme-white .logo-card { border: 0; box-shadow: none; background: var(--blue-light); }
.logo-card img { max-height: 90px; max-width: 100%; object-fit: contain; }
.logo-card a { display: contents; }
.logo-name { font-size: .9rem; }

/* Karten-Reel (Angebote) und Galerie */
.reel { position: relative; margin-top: 1.5rem; }
.reel-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; scrollbar-width: none; }
.reel-track::-webkit-scrollbar { display: none; }
.card { flex: 0 0 min(380px, 85vw); scroll-snap-align: start; background: var(--white); color: var(--blue-dark); text-align: center; --btn1-bg: var(--yellow); --btn1-fg: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 2rem 1.8rem; display: flex; flex-direction: column; }
.card h3 { color: var(--blue-dark); font-weight: 700; font-size: 1.4rem; }
.card .btn { align-self: center; margin-top: auto; }
.card .prose p:first-child strong { color: var(--blue); }
.card-image img { max-height: 160px; object-fit: contain; margin: 0 auto 1rem; }
.gallery-track img { height: min(50vh, 420px); width: auto; max-width: 90vw; flex: 0 0 auto; scroll-snap-align: center; border-radius: var(--radius); object-fit: cover; cursor: zoom-in; }
.reel-nav { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; }
.reel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--blue-dark); background: var(--white); color: var(--blue-dark); box-shadow: var(--shadow); cursor: pointer; font-size: 1.1rem; }
.reel-nav button:hover { transform: translate(3px, 3px); box-shadow: none; }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: none; align-items: center; justify-content: center; z-index: 100; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 12px; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; }

/* Zitate */
.quote-card { margin: 0; background: var(--white); color: var(--blue-dark); border: 2px solid var(--blue-dark); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.8rem; }
.quote-card h4 { font-weight: 500; font-style: italic; font-size: 1.05rem; line-height: 1.5; }
.quote-card h4 .c-darkAccent { color: var(--blue-dark); }
.quote-card p { margin: .5em 0 0; font-size: .9rem; color: var(--blue); }

/* CTA + Newsletter */
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.cta-grid h3 { font-weight: 500; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.cta-grid .newsletter-box h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.cta-grid .newsletter-box p { font-size: 1.2rem; }
.cta-grid .newsletter-box input { background: var(--white); border-color: var(--white); }
.cta-grid .form-footnote { color: inherit; opacity: .8; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
.form-box { background: var(--white); color: var(--blue-dark); --h-large: var(--blue-dark); border: 1px solid var(--blue-dark); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 1.8rem; }
.form-box h2 { color: var(--blue-dark); font-size: 1.5rem; }
.form label { display: block; font-weight: 600; margin: .9rem 0 0; font-size: .95rem; }
.form input:not([type=checkbox]), .form select, .form textarea { display: block; width: 100%; margin-top: .3rem; font: inherit; padding: .7rem 1rem; border: 1px solid #c9cedf; border-radius: 999px; background: var(--blue-light); }
.form textarea { border-radius: 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { background: #fff; border-color: var(--blue); }
.form .req { font-weight: 400; color: var(--blue); font-size: .85rem; }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: .35em; }
.form .btn { margin-top: 1.4rem; }
.form--inline { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; }
.form--inline input { flex: 1 1 220px; margin: 0; }
.form--inline .btn { margin: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-footnote { margin: 1rem 0 0; color: #555; }
.form-success { background: #e6f5ea; border: 1px solid #7fbf90; border-radius: 12px; padding: 1rem 1.2rem; }
.form-error { background: #fbe9e9; border: 1px solid #d99; border-radius: 12px; padding: .8rem 1.2rem; }

/* Kontaktseite */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact-text h1 { color: var(--yellow); }
.contact-text h3, .contact-text h4 { font-weight: 500; }
.contact-image { max-width: 300px; margin-top: 2rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-image { display: none; } }

/* News */
.news-list { display: grid; gap: 2.5rem; max-width: 1000px; margin-inline: auto; }
.news-item { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: center; background: var(--blue-light); color: var(--blue-dark); border-radius: var(--radius); padding: 1.5rem; }
.news-image img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.news-body h2 { font-size: 1.5rem; }
.news-body h2 a { text-decoration: none; color: var(--blue-dark); }
.tag { display: inline-block; background: var(--yellow); color: var(--blue-dark); border-radius: 999px; padding: .1em .7em; margin-right: .4em; font-size: .8rem; font-weight: 600; }
.theme-black .tag { background: var(--yellow); }
.news-hero { border-radius: var(--radius); margin-bottom: 2rem; max-height: 480px; object-fit: cover; width: 100%; }
.article h2, .article h3 { color: var(--blue-dark); margin-top: 1.5em; }
.article figure { margin: 1.5em 0; }
@media (max-width: 760px) { .news-item { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--blue-dark); color: var(--white); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid h4 { color: var(--yellow); margin-bottom: .6rem; font-size: 1rem; }
.footer-grid a { text-decoration: none; font-size: .95rem; line-height: 1.8; }
.footer-grid a:hover { text-decoration: underline; }
.footer-brand img { width: 180px; margin-bottom: 1rem; }
.social { display: inline-block; margin-top: .8rem; color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.2); }
.footer-bottom a { color: var(--white); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }


/* Buttons innerhalb .prose behalten ihre Theme-Farben */
.prose a.btn, .prose a.btn--primary { color: var(--btn1-fg, var(--blue-dark)); }
.prose a.btn--secondary { color: var(--btn2-fg, var(--white)); }
.prose a.btn--tertiary { color: var(--btn3-fg, var(--white)); }

/* Einblenden beim Scrollen (wie die Squarespace-Animation); ohne JS bzw. bei reduced-motion sofort sichtbar */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
.js .grid > .reveal:nth-child(2), .js .cards-track > .reveal:nth-child(2), .js .logo-wall > .reveal:nth-child(2) { transition-delay: .1s; }
.js .grid > .reveal:nth-child(3), .js .cards-track > .reveal:nth-child(3), .js .logo-wall > .reveal:nth-child(3) { transition-delay: .2s; }
.js .grid > .reveal:nth-child(4), .js .cards-track > .reveal:nth-child(4), .js .logo-wall > .reveal:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
/* Kachelfarben aus den Shape-Blöcken haben Vorrang vor der Karten-Grundfarbe */
.grid--cards .grid-item[class*="bg-"], .grid--box[class*="bg-"] { background: var(--bg); color: var(--p); }
.bg-accent .c-white, .bg-darkAccent .c-white, .bg-accent .c-darkAccent, .bg-accent .c-accent, .bg-accent h4 { color: var(--white); }
.grid--box .grid-item { border: 0; box-shadow: none; padding: 0; background: transparent; color: var(--p); }
.grid--box { --h-medium: var(--blue-dark); }
