/* ===========================================================
   Mittendrin — Globales Stylesheet
   Wird von allen Seiten genutzt
   =========================================================== */

:root {
  --bg: #FFFCFD;
  --primary: #E50059;
  --soft-pink: #EF5C93;
  --pale-rose: #F7B1CC;
  --ink: #2a1820;
  --muted: #6b5560;
  --line: #f0d8e2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }

p { font-size: 1.05rem; }

.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--soft-pink);
  margin-bottom: 1.4rem;
}

.accent { color: var(--primary); font-style: italic; }

/* ---------- Header / Navi ---------- */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 252, 253, 0);
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
header.site-header.scrolled,
header.site-header.solid {
  background: rgba(255, 252, 253, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo {
  position: relative;
  display: block;
  height: 56px;
}
.logo img {
  height: 100%;
  width: auto;
  display: block;
  transition: opacity .35s ease;
}
.logo .logo-white {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: auto;
  opacity: 1;
}
.logo .logo-color { opacity: 0; }
header.site-header.scrolled .logo .logo-white,
header.site-header.solid .logo .logo-white { opacity: 0; }
header.site-header.scrolled .logo .logo-color,
header.site-header.solid .logo .logo-color { opacity: 1; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2.4rem;
  align-items: center;
}
nav.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color .25s ease;
}
header.site-header:not(.scrolled):not(.solid) nav.main-nav a {
  color: white;
  text-shadow: 0 1px 14px rgba(0,0,0,0.5);
}
nav.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--primary);
  transition: width .35s ease;
}
header.site-header:not(.scrolled):not(.solid) nav.main-nav a::after { background: white; }
nav.main-nav a:hover { color: var(--primary); }
header.site-header:not(.scrolled):not(.solid) nav.main-nav a:hover { color: var(--pale-rose); }
nav.main-nav a:hover::after { width: 100%; }
nav.main-nav a.active { color: var(--primary); }
header.site-header:not(.scrolled):not(.solid) nav.main-nav a.active { color: var(--pale-rose); }
nav.main-nav a.active::after { width: 100%; }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all .3s;
}
header.site-header:not(.scrolled):not(.solid) .burger span { background: white; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .3s ease;
  border: 1.5px solid var(--primary);
  cursor: pointer;
}
.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.container { max-width: 1280px; margin: 0 auto; }

/* ---------- Footer (überall gleich) ---------- */
footer.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 5rem 2rem 2rem;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid h4 {
  color: var(--soft-pink);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.footer-grid p, .footer-grid a {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  line-height: 1.8;
  text-decoration: none;
  display: block;
}
.footer-grid a:hover { color: var(--soft-pink); }
.footer-logo img { height: 60px; width: auto; margin-bottom: 1rem; }
.footer-tag {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
}
.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page Hero (für Unterseiten – kleiner als Home Hero) ---------- */
.page-hero {
  position: relative;
  padding: 10rem 2rem 5rem;
  background: linear-gradient(180deg, #fef5f8 0%, var(--bg) 100%);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--pale-rose);
  opacity: 0.25;
  top: -250px; right: -150px;
  filter: blur(60px);
}
.page-hero .container { position: relative; max-width: 800px; }
.page-hero h1 {
  margin-bottom: 1.2rem;
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.page-hero .lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--muted);
  line-height: 1.5;
}

/* ---------- Team Card (Übersichtsseite) ---------- */
.person-card {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 15px 40px -20px rgba(42,24,32,0.18);
  transition: transform .4s ease, box-shadow .4s ease;
}
.person-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -20px rgba(42,24,32,0.28);
}
.person-card .photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--pale-rose);
}
.person-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.person-card:hover .photo img {
  transform: scale(1.05);
}
.person-card .info {
  padding: 1.4rem 1.3rem 1.5rem;
  background: white;
  text-align: left;
}
.person-card .name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.person-card .role {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-pink);
}

/* ---------- CTA Block (überall verwendbar) ---------- */
.cta {
  padding: 7rem 2rem;
  text-align: center;
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--soft-pink);
  opacity: 0.3;
  top: -300px; right: -200px;
}
.cta::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--pale-rose);
  opacity: 0.2;
  bottom: -250px; left: -150px;
}
.cta .container { position: relative; z-index: 2; max-width: 800px; }
.cta h2 {
  color: white;
  margin-bottom: 1.2rem;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3rem);
}
.cta p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
}
.cta .btn {
  background: white;
  color: var(--primary);
  border-color: white;
}
.cta .btn:hover {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .header-inner { padding: 1rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .page-hero { padding: 8rem 1.5rem 4rem; }
  .cta { padding: 5rem 1.5rem; }
}

@media (max-width: 640px) {
  /* Header */
  nav.main-nav ul { display: none; }
  .burger { display: block; }
  .header-inner { padding: 0.85rem 1.2rem; }
  .logo { height: 40px; }

  /* Sections */
  h2 { font-size: clamp(1.8rem, 6vw, 2.4rem) !important; }
  .section-label { font-size: 0.7rem; letter-spacing: 0.26em; margin-bottom: 1rem; }

  /* Page Hero */
  .page-hero { padding: 7rem 1.2rem 3.5rem; }
  .page-hero h1 { font-size: 2.2rem; }
  .page-hero .lead { font-size: 1.05rem; }

  /* Buttons */
  .btn { padding: 0.85rem 1.6rem; font-size: 0.75rem; letter-spacing: 0.15em; }

  /* CTA */
  .cta { padding: 4rem 1.2rem; }
  .cta p { font-size: 1rem; }
  .cta::before { width: 400px; height: 400px; top: -200px; right: -150px; }
  .cta::after { width: 350px; height: 350px; bottom: -180px; left: -100px; }

  /* Footer */
  footer.site-footer { padding: 3.5rem 1.2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-logo img { height: 50px; }
  .footer-tag { font-size: 1rem; }
  .footer-bottom { font-size: 0.72rem; padding-top: 1.2rem; }

  /* Person cards */
  .person-card .name { font-size: 1.4rem; }
  .person-card .info { padding: 1.1rem 1rem 1.2rem; }

  /* Mobile Nav */
  nav.main-nav.open ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    padding: 1.8rem 1.5rem 2rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.12);
  }
  nav.main-nav.open li { border-bottom: 1px solid var(--line); }
  nav.main-nav.open li:last-child { border-bottom: none; }
  nav.main-nav.open a {
    color: var(--ink) !important;
    text-shadow: none !important;
    display: block;
    padding: 1rem 0;
    font-size: 0.95rem;
  }
  nav.main-nav.open a::after { display: none; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 380px) {
  .logo, .logo img { height: 36px; }
}

/* ===========================================================
   Cookie-Hinweis-Banner
   =========================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  max-width: 420px;
  background: white;
  border-radius: 4px;
  padding: 1.4rem 1.6rem 1.5rem;
  box-shadow: 0 25px 60px -15px rgba(42, 24, 32, 0.35),
              0 0 0 1px var(--line);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
  border-left: 3px solid var(--primary);
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner h4 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.cookie-banner p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.cookie-banner p a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--pale-rose);
}
.cookie-banner p a:hover {
  border-bottom-color: var(--primary);
}
.cookie-banner-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}
.cookie-banner button {
  padding: 0.7rem 1.4rem;
  background: var(--primary);
  color: white;
  border: 1.5px solid var(--primary);
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
  flex-shrink: 0;
}
.cookie-banner button:hover {
  background: var(--ink);
  border-color: var(--ink);
}
.cookie-banner button.secondary {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
.cookie-banner button.secondary:hover {
  background: #fef5f8;
  color: var(--ink);
  border-color: var(--pale-rose);
}

@media (max-width: 640px) {
  .cookie-banner {
    bottom: 0;
    right: 0;
    left: 0;
    max-width: none;
    border-radius: 0;
    border-left: none;
    border-top: 3px solid var(--primary);
    padding: 1.2rem 1.3rem 1.4rem;
  }
  .cookie-banner h4 { font-size: 1.2rem; }
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .cookie-banner button {
    width: 100%;
    padding: 0.8rem;
  }
}
.team-card { display: block; }
.team-name {
  display: block;
  margin-top: 0.6rem;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink, #2a1820);
}

/* ===== Founders-Foto: ganz sichtbar, Unterschrift mittig darunter ===== */
.founders .founders-grid .founders-images {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}
.founders .founders-grid .founders-images .founder-card--wide {
  width: 100%;
  max-width: 560px;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
}
.founders .founders-grid .founders-images .founder-card--wide img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: inherit;
}
.founders .founders-grid .founders-images .founder-caption {
  width: 100%;
  margin: 0.9rem 0 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink, #2a1820);
}