/* ============================================
   VIVACI KITA — Clone Stylesheet
   Brand: Fraunces (headings) + Inter (body)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300..700&family=EB+Garamond:wght@400;500;700&family=Gorditas:wght@400;700&family=Inter:wght@400;500;600;700&family=Noto+Serif:wght@400;500;700&family=Noto+Sans:wght@400;500;700&display=swap');

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

:root {
  --cream: #FBF6EC;
  --petrol: #2C5F6E;
  --brown: #3D2E1F;
  --yellow: #F4C842;
  --green: #4A9B5F;
  --red: #D94530;
  --grey-placeholder: #C8C3BA;
  --border-light: #e5e0d4;
  --container: 1080px;
  --container-wide: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'EB Garamond', 'Noto Serif', serif;
  color: #000000;
  background: #ffffff;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
p {
  font-size: 1em;
  line-height: 1.75;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Noto Serif', serif;
  color: var(--petrol);
  font-weight: 400;
  line-height: 1.2;
}

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

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

/* --- Placeholder Images --- */
.img-placeholder {
  background: var(--grey-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.75em;
  font-family: 'Inter', 'Noto Sans', sans-serif;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header --- */
.site-header {
  padding: 20px 0;
}
.site-header .container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.header-logo-link {
  display: inline-block;
  line-height: 0;
  margin-left: -56px;
}
.header-logo {
  max-height: 140px;
  width: auto;
  display: block;
  /* Logo nach unten bis auf Höhe des Nav-Unterstrichs (gelber Strich).
     Feinjustage: nur diesen einen Wert anpassen. */
  transform: translateY(14px);
}
.site-header nav {
  position: relative;
  padding-bottom: 8px;
}
.site-header nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--yellow);
}
.site-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}
.site-nav a {
  font-family: 'Gorditas', 'Inter', 'Noto Sans', sans-serif;
  font-size: 1.05em;
  font-weight: 400;
  color: var(--petrol);
  text-decoration: none;
  padding: 4px 0;
  position: relative;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--brown);
}
.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--yellow);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--brown);
  padding: 14px 32px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  border: none;
  cursor: pointer;
  font-family: 'Inter', 'Noto Sans', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(244, 200, 66, 0.4);
  text-decoration: none;
}

/* --- Section Spacing --- */
.section {
  padding: 64px 0;
}
.section-sm {
  padding: 40px 0;
}

/* --- Hero (Home) --- */
.hero-home {
  padding: 80px 0;
}
.hero-home-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-home-text {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-home-text h4 {
  font-family: 'EB Garamond', 'Noto Serif', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 18px;
  color: var(--petrol);
}
.hero-home-text h1 {
  font-size: clamp(2.5em, 6vw, 72px);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-home-text p {
  font-size: 1em;
  margin-bottom: 10px;
  max-width: 480px;
}
.hero-home-image {
  display: flex;
  align-items: center;
}
.hero-home-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  clip-path: polygon(0% 4%, 97% 0%, 100% 96%, 3% 100%);
}
/* Gelbe versetzte Form hinter dem Home-Hero-Bild: gleiche clip-path-Form, spürbar gedreht,
   deutlich nach links-unten versetzt, eine Ebene dahinter. Nur Home (nicht Vorhaben/Impressum). */
.hero-home:not(.vorhaben-hero):not(.impressum-banner) .hero-home-image {
  position: relative;
}
.hero-home:not(.vorhaben-hero):not(.impressum-banner) .hero-home-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244, 200, 66, 0.22);
  clip-path: polygon(0% 4%, 97% 0%, 100% 96%, 3% 100%);
  transform: rotate(-5deg) translate(-26px, 26px);
  z-index: 0;
}
.hero-home:not(.vorhaben-hero):not(.impressum-banner) .hero-home-image img {
  position: relative;
  z-index: 1;
}

/* --- Quotes Karussell --- */
.quotes-section {
  padding: 64px 0;
  text-align: center;
}
.quotes-section .container {
  max-width: 700px;
  padding: 32px 24px;
}
/* Baslerstab als Kapitel-/Schmuckelement über dem Zitat-Karussell (ersetzt die frühere Linie).
   Wappen zentriert auf einer kurzen schwarzen Linie, die es optisch unterbricht. */
.quotes-wappen {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px;
}
.quotes-wappen::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 640px;
  max-width: 100%;
  height: 1px;
  background: #000;
  z-index: 0;
}
.quotes-wappen img {
  position: relative;
  z-index: 1;
  height: 52px;
  width: auto;
  background: #fff;
  padding: 0 18px;
}
.quote-carousel {
  position: relative;
  min-height: 90px;
  max-width: 700px;
  margin: 0 auto;
}
.quote-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.quote-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.quote-slide blockquote {
  font-family: 'EB Garamond', 'Noto Serif', serif;
  font-style: italic;
  font-size: clamp(1.2em, 2.4vw, 1.6em);
  color: var(--petrol);
  margin: 0 auto 16px;
  line-height: 1.5;
}
.quote-slide cite {
  font-family: 'EB Garamond', 'Noto Serif', serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--petrol);
  opacity: 0.7;
}
.quote-dots {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.quote-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--petrol);
  opacity: 0.3;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}
.quote-dots .dot.active {
  opacity: 1;
}

/* --- About (Home) --- */
.about-section .container {
  max-width: 900px;
}
.about-section h2 {
  font-size: clamp(2em, 4.5vw, 50px);
  line-height: 1.2;
  margin-bottom: 24px;
}
/* Bild links (grösser), Text rechts, enge Lücke. Gelbe, leicht gedrehte Form schaut
   hinter dem unbeschnittenen Bild hervor (wie bei den Hero-Bildern, nur Bild bleibt eckig). */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 360px);
  justify-content: center;
  gap: 28px;
  align-items: center;
}
.about-media {
  position: relative;
}
.about-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 95, 110, 0.30);
  clip-path: polygon(0% 4%, 97% 0%, 100% 96%, 3% 100%);
  transform: rotate(-5deg) translate(-24px, 24px);
  z-index: 0;
}
.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  clip-path: polygon(0% 4%, 97% 0%, 100% 96%, 3% 100%);
}
.about-text p {
  font-size: 1em;
  line-height: 1.75;
  margin-bottom: 12px;
  text-align: justify;
  hyphens: auto;
}
.about-text p:last-child {
  margin-bottom: 0;
}

/* --- Profile / Blurbs --- */
.profile-section {
  text-align: center;
}
.profile-section > .container {
  max-width: 900px;
}
.profile-section > .container > h1 {
  font-size: clamp(2em, 4.5vw, 50px);
  line-height: 1.2;
  color: var(--petrol);
  margin-bottom: 16px;
}
.profile-section > .container > .profile-intro {
  font-size: 1.05em;
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto 40px;
}
.blurb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: left;
  margin-bottom: 40px;
}
.blurb h4 {
  font-size: 1em;
  margin-bottom: 10px;
  color: var(--petrol);
}
.blurb p {
  font-size: 0.92em;
  line-height: 1.55;
}
.btn-center {
  text-align: center;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  max-width: 900px;
  width: calc(100% - 48px);
  margin: 48px auto 64px;
  padding: 36px 60px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-section .cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-section .cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.cta-section .cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1;
}
.cta-section .cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.cta-section h4 {
  font-family: 'EB Garamond', 'Noto Serif', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--yellow);
  margin-bottom: 12px;
}
.cta-section h4:empty { display: none; }
/* Leere Eyebrow-Labels (z. B. entfernte Lorem-Platzhalter) nicht als Lücke rendern */
.hero-home-text h4:empty { display: none; }
.kontakt-header h4:empty { display: none; }
.cta-section h2 {
  color: #fff;
  font-size: clamp(2em, 4.5vw, 50px);
  line-height: 1.2;
  margin-bottom: 8px;
}
.cta-section p {
  margin-bottom: 28px;
  font-size: 1em;
  line-height: 1.75;
}

/* --- Footer --- */
.site-footer {
  padding: 0 0 32px;
}
.site-footer hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: 48px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.9em;
  color: #666;
  line-height: 1.6;
}
.footer-inner strong {
  color: var(--brown);
  font-weight: 600;
}
.footer-inner em {
  font-style: italic;
  color: #888;
}
.footer-links {
  text-align: right;
}
.footer-links a {
  color: var(--petrol);
}

/* --- Hero Banner (Subpages) --- */
.hero-banner {
  position: relative;
  padding: 64px 0;
  overflow: hidden;
}
.hero-banner .banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-banner .banner-bg .img-placeholder {
  width: 100%;
  height: 100%;
}
.hero-banner .banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-banner .container {
  position: relative;
  z-index: 2;
}

/* --- Hero Vorhaben --- */
.hero-vorhaben {
  color: #fff;
  padding: 80px 0;
}
.hero-vorhaben .banner-overlay {
  background: rgba(0, 0, 0, 0.5);
}
.hero-vorhaben h4 {
  font-family: 'EB Garamond', 'Noto Serif', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--yellow);
  margin-bottom: 12px;
}
.hero-vorhaben h1 {
  color: #fff;
  font-size: clamp(2.5em, 6vw, 72px);
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
}
.hero-vorhaben p {
  font-size: 1em;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 28px;
  opacity: 0.95;
}


/* Vorhaben Hero override: grösseres Bild und Schrift, organische S-Kurve auf linker Kante */
.vorhaben-hero {
  padding: 28px 0 24px;
}
.vorhaben-hero .hero-home-grid {
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
}
.vorhaben-hero .hero-home-image img {
  clip-path: url(#vorhabenHeroClip);
  aspect-ratio: 3/4;
}
.vorhaben-hero .hero-home-text {
  max-width: 460px;
  margin-left: auto;
}
.vorhaben-hero .hero-home-text h1 {
  font-size: clamp(2.2em, 4.5vw, 56px);
}
.vorhaben-hero .hero-home-text p {
  font-size: 1em;
}
.vorhaben-hero .hero-home-text .hero-subtitle {
  font-family: 'Fraunces', 'Noto Serif', serif;
  font-size: clamp(1.15em, 2vw, 1.5em);
  font-style: italic;
  color: var(--petrol);
  line-height: 1.3;
  margin-top: -8px;
  margin-bottom: 20px;
}
.hero-subtitle:empty { display: none; }

/* Vorhaben Aufbau-Sektion: ein durchgehender Absatz, kleinere Schrift, von Rand zu Rand */
.vorhaben-aufbau h2 {
  font-size: clamp(1.6em, 3.2vw, 36px);
}
.vorhaben-aufbau .vorhaben-aufbau-lead {
  font-size: 0.85em;
  line-height: 1.75;
  text-align: justify;
  hyphens: auto;
}
/* Gelbe Form bündig zum Hero-Bild darüber: Container auf Hero-Breite (1080px), die gelbe Fläche
   um 24px eingerückt (= Innenabstand der Hero → exakt auf Bild-/Textkante). Text bekommt 48px
   Polster, damit er nicht an der Formkante klebt. Wasserzeichen wird an der Containerkante geclippt. */
.vorhaben-aufbau.about-section .container {
  position: relative;
  max-width: var(--container);
  padding-top: 56px;
  padding-bottom: 56px;
  padding-left: 48px;
  padding-right: 48px;
  overflow: hidden;
}
.vorhaben-aufbau.about-section .container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  right: 24px;
  background: rgba(244, 200, 66, 0.16);
  z-index: 0;
}
.vorhaben-aufbau.about-section .container > * {
  position: relative;
  z-index: 1;
}
.vorhaben-aufbau.about-section .container .aufbau-watermark {
  position: absolute;
  right: -3%;
  top: 60%;              /* etwas abgesenkt, damit oben nichts abgeschnitten wird */
  transform: translateY(-50%);
  height: 300px;
  width: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0);
}

/* Konzept Layout: horizontaler Bild-Balken mit Ausbleichen, Text-Content darunter */
:root {
  --section-spacing: 5rem;
}
.konzept-image-banner {
  max-width: 1080px;
  margin: 32px auto 0;
  height: 280px;
  overflow: hidden;
  padding: 0 24px;
}
.konzept-image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}
.konzept-text-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--section-spacing) 24px 0;
  display: flex;
  flex-direction: column;
  gap: var(--section-spacing);
}
/* Freigestelltes Fasnachts-Banner: klein, zentriert, direkt über dem Footer
   (Figuren laufen quasi über die Footer-Linie). Oben extra Abstand zum Textblock. */
.konzept-outro-image {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: -28px;
  position: relative;
  z-index: 1;
}
.konzept-outro-image img {
  width: 100%;
  max-width: 530px;
  height: auto;
  display: block;
}
/* Blocksatz für alle Fliesstexte der Konzept-Seite (optisch stimmige Kanten) */
.konzept-text-content p {
  text-align: justify;
  hyphens: auto;
}
/* Intro-Titel zentriert; Überschriften mit Luft zum Text darunter (sonst eingezwängt) */
.konzept-text-content > section:first-child h1 {
  text-align: center;
}
.konzept-text-content h1 {
  margin-bottom: 20px;
}
.konzept-text-content .konzept-col h2 {
  margin-bottom: 14px;
}
/* Die drei Spalten tiefer setzen. */
.konzept-cols-grid {
  margin-top: 2.5rem;
}
/* Kapiteltrenner im Buch-/Märchenstil: durchgehende schwarze Linie mit drei kleinen
   Blüten in den Markenfarben (Gelb · Petrol · Rot) mittig, die die Linie unterbrechen. */
.konzept-divider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 1rem 0 3.5rem;
}
.konzept-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  max-width: 70%;
  height: 1px;
  background: #000;
  z-index: 0;
}
.konzept-divider .bloom {
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 0 4px;
  font-size: 1.15rem;
  line-height: 1;
}
.konzept-divider .bloom-yellow { color: var(--yellow); }
.konzept-divider .bloom-petrol { color: var(--petrol); }
.konzept-divider .bloom-red    { color: var(--red); }
/* Home: Blüten-Trenner so breit wie der obere Wappen-Trenner (640px/100%). Nur Home, Konzept bleibt 320px. */
.profile-section .konzept-divider::before {
  width: 640px;
  max-width: 100%;
}
.konzept-cols-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 768px) {
  .konzept-image-banner {
    height: 200px;
  }
  .konzept-cols-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Impressum Banner: Bild mit Schräg-Schnitt + gelbe versetzte Form dahinter (wie Home).
   Der frühere box-shadow wurde vom clip-path weggeschnitten (unsichtbar) und ist durch die
   gelbe Form ersetzt. */
.impressum-banner .hero-home-image {
  position: relative;
}
.impressum-banner .hero-home-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(244, 200, 66, 0.22);
  clip-path: polygon(0 3%, 100% 0, 97% 100%, 3% 97%);
  transform: rotate(-5deg) translate(-26px, 26px);
  z-index: 0;
}
.impressum-banner .hero-home-image img {
  clip-path: polygon(0 3%, 100% 0, 97% 100%, 3% 97%);
  aspect-ratio: 4/5;
  position: relative;
  z-index: 1;
}
.impressum-banner .hero-home-text h1 {
  margin-bottom: 16px;
}

.konzept-block {
  padding: 48px 0;
}

/* Features-Section (Reihen Bild + Text) */
.features-section {
  padding: 64px 0;
}
.features-section .container {
  max-width: var(--container);
}
.features-heading {
  text-align: center;
  margin-bottom: 56px;
}
.feature-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  margin-bottom: 32px;
  align-items: center;
}
.feature-row:last-child {
  margin-bottom: 0;
}
.feature-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.feature-text h4 {
  font-family: 'Fraunces', 'Noto Serif', serif;
  font-size: 1.5em;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--petrol);
}
.feature-text p {
  font-size: 1em;
  line-height: 1.75;
}
@media (max-width: 720px) {
  .feature-row {
    grid-template-columns: 1fr;
  }
}

/* --- Legal Pages --- */
.legal-hero {
  padding: 48px 0;
}
.legal-hero .banner-overlay {
  background: rgba(0, 0, 0, 0.45);
}
.legal-hero h1 {
  color: #fff;
  font-size: clamp(2.5em, 6vw, 72px);
  line-height: 1.15;
}
.legal-content {
  position: relative;
  padding: 48px 0 64px;
  overflow: hidden;
}
.legal-content .container {
  position: relative;
}
.legal-watermark {
  position: absolute;
  right: -15%;
  top: 50%;
  transform: translateY(-50%);
  height: 1000px;
  width: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0);
}
.legal-content .container > *:not(.legal-watermark) {
  position: relative;
  z-index: 1;
}
.legal-eyebrow {
  font-family: 'EB Garamond', 'Noto Serif', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--petrol);
  margin-bottom: 12px;
}
.legal-title {
  font-size: clamp(2.5em, 6vw, 72px);
  line-height: 1.15;
  margin-bottom: 40px;
}
.legal-content h2 {
  font-size: clamp(1.6em, 2.5vw, 1.8em);
  line-height: 1.2;
  margin-bottom: 24px;
}
.legal-content p {
  margin-bottom: 14px;
  max-width: 740px;
}
.legal-content strong {
  display: block;
  margin-top: 24px;
  margin-bottom: 4px;
  font-weight: 600;
  color: var(--brown);
}
.legal-content a {
  color: var(--petrol);
}

/* --- Kontakt Page --- */
.kontakt-container {
  max-width: 720px;
}
.kontakt-header {
  text-align: center;
  margin-bottom: 48px;
}
.kontakt-header h4 {
  font-family: 'EB Garamond', 'Noto Serif', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--petrol);
  margin-bottom: 12px;
}
.kontakt-header h1 {
  font-size: clamp(2em, 4.5vw, 50px);
  line-height: 1.2;
  margin-bottom: 16px;
}
.kontakt-header p {
  font-size: 1em;
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto;
}
.contact-submit {
  text-align: center;
  margin-top: 24px;
}
.small-print {
  font-size: 0.85em;
  color: #888;
  margin-top: 20px;
}

/* --- Kontakt Form --- */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}
.contact-form label {
  display: block;
  margin-bottom: 16px;
}
.contact-form label strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Inter', 'Noto Sans', sans-serif;
  font-size: 0.95em;
  background: #fff;
  color: var(--brown);
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--petrol);
  box-shadow: 0 0 0 2px rgba(44, 95, 110, 0.15);
}
/* Formular-Validierung: dezente Fehlermarkierung in Markenrot */
.contact-form input.invalid,
.contact-form select.invalid,
.contact-form textarea.invalid {
  border-color: var(--red);
  background: #fdf3f1;
}
.contact-form input.invalid:focus,
.contact-form select.invalid:focus,
.contact-form textarea.invalid:focus {
  box-shadow: 0 0 0 2px rgba(217, 69, 48, 0.18);
}
.contact-form .field-error {
  display: block;
  min-height: 1em;
  margin-top: 6px;
  color: var(--red);
  font-family: 'Inter', 'Noto Sans', sans-serif;
  font-size: 0.85em;
  font-weight: 500;
  line-height: 1.3;
}
/* Honeypot-Feld: für Menschen unsichtbar, nicht display:none (Bots meiden das) */
.contact-form .hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Status-Meldung nach dem Absenden */
.contact-form .form-status {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: 6px;
  font-family: 'Inter', 'Noto Sans', sans-serif;
  font-size: 0.95em;
  line-height: 1.5;
}
.contact-form .form-status--ok {
  background: #eef6ef;
  border: 1px solid var(--green);
  color: #2f6d40;
}
.contact-form .form-status--error {
  background: #fdf3f1;
  border: 1px solid var(--red);
  color: #9a2f20;
}
.contact-note {
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.contact-note p {
  margin-bottom: 10px;
  font-size: 0.92em;
}
.contact-note strong {
  font-weight: 600;
  color: var(--brown);
}

/* --- Konzept Page --- */
.konzept-intro {
  max-width: 740px;
}
.konzept-block {
  padding: 32px 0;
}
.konzept-block h2 {
  font-size: clamp(2em, 3.5vw, 2.4em);
  line-height: 1.2;
  margin-bottom: 16px;
}
.konzept-block p {
  font-size: 1em;
  line-height: 1.75;
  max-width: 740px;
}
.konzept-block p {
  max-width: 740px;
  margin-bottom: 12px;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .hero-home-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-home-text {
    padding: 0;
  }
  .hero-home-image img {
    aspect-ratio: 4/3;
  }
  .site-header .container {
    flex-direction: column;
    gap: 16px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .blurb-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .cta-section {
    padding: 5vw 20px;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-links {
    text-align: left;
  }
  .site-nav {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 560px) {
  .blurb-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   Sprachumschalter (i18n) — zwei verknüpfte Auslöser
   - oben (Header): aktives Kürzel als Text, rechtsbündig unter dem Strich
   - unten (Footer): aktives Wappen, rechts
   Beide teilen denselben Zustand und dasselbe Dropdown-Verhalten.
   ===================================================================== */
.lang-switcher {
  position: relative;
  font-family: 'Inter', 'Noto Sans', sans-serif;
}
.lang-current {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 3px;
}

/* gemeinsames Dropdown */
.lang-list {
  position: absolute;
  min-width: 168px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  display: none;
  z-index: 100;
}
.lang-switcher.open .lang-list { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 7px 10px;
  border: none;
  border-radius: 5px;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--brown);
  transition: background 0.15s;
}
.lang-option:hover { background: var(--cream); }
.lang-option.active { background: var(--cream); }
.lang-option .lang-name { font-size: 0.9rem; line-height: 1.2; }
.lang-option.active .lang-name { font-weight: 700; color: var(--petrol); }

/* Dropdown-Inhalt: Wappen-Variante */
.lang-option img { display: block; width: 22px; height: 22px; object-fit: contain; border-radius: 50%; flex: none; }

/* Dropdown-Inhalt: Kürzel-Variante "DE | Deutsch" */
.lang-option .lang-code {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--petrol);
  min-width: 1.6em;
}
.lang-option .lang-sep { color: var(--border-light); }

/* Trennstrich zwischen Sprachgruppen (DE/EN | Rest) — beide Dropdowns */
.lang-sep-row {
  height: 1px;
  margin: 5px 9px;
  background: var(--border-light);
  list-style: none;
}

/* Text-Badge, falls für eine Sprache keine Flagge vorliegt (Footer-Variante) */
.lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 18px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--petrol);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  flex: none;
}

/* ---------- oben: Kürzel-Switcher im Header ---------- */
.site-header .container { position: relative; }
.lang-switcher--code {
  position: absolute;
  top: 100%;            /* knapp unter den Nav-Strich */
  right: 24px;
  margin-top: 8px;
  z-index: 60;
}
.lang-switcher--code .lang-current-code {
  font-family: 'Inter', 'Noto Sans', sans-serif;
  font-size: 1.05em;    /* Groesse wie die Reiter */
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #9a9a9a;       /* helleres Grau */
  transition: color 0.2s;
}
.lang-switcher--code .lang-current:hover .lang-current-code { color: var(--brown); }
.lang-switcher--code .lang-list { top: calc(100% + 6px); right: 0; }

/* ---------- unten: Wappen-Switcher im Footer ---------- */
/* Eigene Zeile unter Datenschutz/Impressum, rechtsbündig (erbt text-align) */
.lang-switcher--flag { display: block; margin-top: 12px; }
.lang-switcher--flag .lang-current { line-height: 0; transition: transform 0.2s; }
.lang-switcher--flag .lang-current:hover { transform: translateY(-1px); }
.lang-switcher--flag .lang-current-flag {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;   /* runde Flagge nicht beschneiden */
  border-radius: 50%;
}
.lang-switcher--flag .lang-current-badge { font-size: 0.78rem; font-weight: 600; color: var(--petrol); line-height: 1; }
.lang-switcher--flag .lang-current-badge:empty { display: none; }
/* Dropdown öffnet nach oben (Footer ist am Seitenende) */
.lang-switcher--flag .lang-list { bottom: calc(100% + 8px); right: 0; }

