@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
    --primary: #0f3e76;
    --secondary: #1f6597;
    --accent: #e49500;
    --light: #F2F4F7;
    --dark: #111827;

    

    /* Off-White & Surface Layering (Feinschliff) */
    --bg-main: var(--light);
    --surface: #ffffff;
    --surface-soft: #F7F9FB;   /* very subtle contrast */
    --surface-alt: #EEF2F6;    /* a touch deeper for alternating sections */
    --border-soft: rgba(15, 62, 118, 0.10);
/* Premium (elegant/ruhig) Akzente */
    --champagne: #CBA135;
    --navy-deep: #081a33;
    --navy-mid: #0b2e58;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--light);
    color: var(--dark);
    /* Center align all text and headings within the body.
       This centers the contents of sections like articles, cards, etc.
       Header (.navbar) and footer will override this to remain left-aligned. */
    text-align: center !important;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 10;
}

.navbar .logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.navbar > ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.navbar > ul li {
    position: relative;
    margin-left: 0;
}

.navbar > ul li a,
.navbar > ul li span {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.navbar > ul li a[aria-current="page"] {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
}

.navbar > ul li a:hover {
    color: var(--accent);
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--accent);
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    min-width: 180px;
    border-radius: 0 0 4px 4px;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.navbar > ul li:hover > .dropdown-menu {
    display: block;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    height: 60vh;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
}

.section {
    padding: 3rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}



/* =========================================================
   FEINSCHLIFF: Off-White Background + Section Layering
   - minimal changes, big effect
   - works without HTML changes
   ========================================================= */

/* Global page background: calm, premium off-white */
html, body { background: var(--bg-main); }

/* Turn content sections into subtle "panels" to avoid harsh white */
.section{
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--radius, 14px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.05);
  margin: 1.6rem auto; /* creates breathing room between panels */
}

/* Alternating section tone (when multiple .section are used) */
.section:nth-of-type(even){
  background: var(--surface-soft);
}

/* Optional: subtle premium divider inside section (doesn't affect layout) */
.section > h2{
  position: relative;
  padding-bottom: 0.35rem;
}
.section > h2::after{
  content:"";
  display:block;
  width: 86px;
  height: 3px;
  margin: 0.55rem auto 0;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  opacity: 0.95;
}

/* Ensure sections don't look "boxed" on small screens */
@media (max-width: 768px){
  .section{
    margin: 1.15rem auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  }
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section p {
    margin-bottom: 1rem;
    /* Center align paragraphs within sections to match the body text alignment */
    text-align: center;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: var(--surface);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: #374151;
}

.cta {
    background-color: var(--secondary);
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin: 2rem 0;
    border-radius: 8px;
}



/* CTA: slightly more premium contrast against off-white */
.cta{
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  background-image: linear-gradient(180deg, rgba(31,101,151,1) 0%, rgba(15,62,118,1) 100%);
}

.cta h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cta p {
    margin-bottom: 1rem;
}

.cta a {
    display: inline-block;
    background-color: var(--accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.cta a:hover {
    background-color: #c77a00;
}

.footer {
    background-color: var(--primary);
    color: #fff;
    padding: 2rem;
    font-size: 0.9rem;
}

.footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.footer h4 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.footer a {
    color: #f0f0f0;
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
}

.footer a:hover {
    color: var(--accent);
}

.phone {
    font-weight: 600;
}

.logo-img-header {
    height: 70px;
    width: auto;
}

.logo-img-footer {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.cta-phone {
    background-color: var(--accent);
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.cta-phone:hover {
    background-color: #c77a00;
}

/* Override text alignment for header and footer.
   The body has been set to center-align text globally. These selectors restore
   the default left alignment for the navigation bar (.navbar) and footer,
   ensuring they remain unaffected. */
.navbar,
.footer {
    text-align: left !important;
}

.navbar > ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.navbar {
    padding: 1.5rem 2rem;
    position: relative;
}

.navbar > ul li {
    margin-left: 0;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    .nav-toggle {
        display: block;
    }
    .navbar > ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 2rem;
    }
    .navbar > ul.open {
        display: flex;
    }
    .navbar > ul li {
        margin: 0.5rem 0;
    }
    .logo-img-header {
        height: 50px;
    }
    .hero {
        height: 40vh;
    }
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero h2 {
        font-size: 1.1rem;
    }
}

/* --- Zentrierung nur für Inhaltsbereiche --- */
.hero,
.section,
.cta {
    text-align: center;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 768px) {
    .hero,
    .section,
    .cta {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}


/* --- Dropdown farblich & verhaltensgleich wie CTA-Phone --- */
.dropdown-menu { 
    color: #fff;
    z-index: 1000;
    margin-top: 0.25rem;
    box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    border-radius: 4px;
}
.dropdown-menu li a { color: #fff; }
.dropdown-menu li a:hover { background-color: #c77a00; color: #fff; }

/* Per Klick (mobile) anzeigen, wenn .open-dropdown via JS gesetzt ist */
.navbar > ul li.open-dropdown > .dropdown-menu { display: block; }

/* Mobile: Dropdown in die vertikale Liste integrieren */
@media (max-width: 768px) {
  .dropdown-menu {
      position: static;
      min-width: 100%;
      box-shadow: none;
      margin-top: 0.25rem;
      border-radius: 4px;
      padding: 0.25rem 0.25rem;
  }
  .dropdown-menu li a { padding: 0.5rem 0.75rem; }
}


/* === Global Mobile Overflow Fix (added) === */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

/* Prevent horizontal scroll due to long words/elements */
body { overflow-x: hidden; }

/* Media elements never overflow */
img, video, svg, canvas { max-width: 100%; height: auto; }

/* Allow long German compound words to wrap and hyphenate */
:where(h1,h2,h3,h4,h5,h6,p,li,a,button,th,td,span,div){
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

/* Navigation can wrap instead of overflowing */
.navbar > ul { flex-wrap: wrap; }

/* Optional: fluid heading sizes for safety on tiny screens */
@media (max-width: 480px) {
  .section h2 { font-size: clamp(1.25rem, 6.5vw, 1.6rem); line-height: 1.25; }
}



/* === Contact form card styles (added) === */
.form-card {
  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  max-width: 760px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 768px){
  .form-grid { grid-template-columns: 1fr; }
}
.input, .textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  background-color: #fff;
  transition: box-shadow .2s ease, border-color .2s ease;
  font-size: 1rem;
  caret-color: var(--secondary);
}
.input::placeholder, .textarea::placeholder { color: #9ca3af; }
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--secondary);
  /* Simulate a "ring" using box-shadow */
  box-shadow: 0 0 0 3px rgba(31, 101, 151, .25);
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.25rem 0 0.5rem;
  font-size: 0.95rem;
  color: #374151;
}
.checkbox-row a { color: var(--secondary); text-decoration: underline; }
.form-actions { display: flex; gap: 0.75rem; margin-top: 0.25rem; }
.btn { border-radius: 12px; padding: 0.75rem 1.25rem; font-weight: 600; border: none; cursor: pointer; }
.btn-primary { background-color: var(--secondary); color: #fff; }
.btn-primary:hover { filter: brightness(0.95); }
.btn-secondary { background-color: #6c757d; color: #fff; }
.btn-secondary:hover { filter: brightness(0.95); }
.text-success { color: #047857; }
.text-error { color: #b91c1c; }
/* Align the form section content center without affecting header/footer */
.section .form-card { margin-top: 0.5rem; }
/* Ensure links inside form don't wrap awkwardly on mobile */
.form-card a { overflow-wrap: anywhere; }






/* === Dropdown Hover-Puffer (Desktop) === */
/* Verhindert, dass sich das Dropdown beim Bewegen der Maus schließt */
@media (min-width: 769px) {
  .navbar > ul > li {
    position: relative;
  }

  /* Unsichtbare Hover-Brücke zwischen Menüpunkt und Dropdown */
  .navbar > ul > li::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 14px; /* Hover-Puffer */
  }

  .navbar > ul > li:hover > .dropdown-menu {
    display: block;
  }
}


/* Dropdown: aktueller Menuepunkt dezent hervorheben */
.dropdown-menu a[aria-current="page"]{
  color: #fff;
  font-weight: 600;
}
.dropdown-menu a[aria-current="page"]:hover{
  background: rgba(203,161,53,.14);
  color: #fff;
}


/* (entfernt) Dropdown-Active-Override: wird oben im Premium-Block elegant geregelt */

/* =========================================================
   Premium Upgrade (Master) – 2026
   Adds hierarchy, spacing, button system, and refined cards.
   ========================================================= */

/* Global rhythm & type polish */
:root{
  --radius: 14px;
  --shadow-sm: 0 8px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 16px 40px rgba(0,0,0,0.10);
}

h1, h2, h3{
  letter-spacing: -0.02em;
}

/* Page wrapper (optional semantic helper) */
.page{
  display: block;
}

/* Hero: more premium depth + better hierarchy (home only via .hero--home) */
.hero{
  height: 62vh;
  min-height: 420px;
}

.hero::after{
  /* Replace flat overlay with subtle gradient for depth */
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.60) 0%,
    rgba(0,0,0,0.40) 45%,
    rgba(0,0,0,0.55) 100%
  );
}

.hero .hero-content{
  max-width: 560px;
  padding: 0 1rem;
}

.hero-eyebrow{
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 600;
  font-size: 0.95rem;
}

.hero h1{
  font-size: clamp(2.0rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: 0.9rem;
}

.hero-subline{
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  max-width: 860px;
  margin: 0 auto 1.4rem auto;
  color: rgba(255,255,255,0.92);
}

/* Buttons (used in hero + everywhere) */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(180deg, var(--accent), #c77a00);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(228,149,0,0.22);
}

.btn-primary:hover{ filter: brightness(0.98); }

.btn-secondary{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
  color: #ffffff;
  backdrop-filter: blur(6px);
}

.btn-secondary:hover{
  background: rgba(255,255,255,0.14);
}

.hero-actions{
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections: more whitespace + subtle separators (premium feel) */
.section{
  padding: clamp(3rem, 6vw, 5rem) 2rem;
  max-width: 1100px;
}

.section + .section{
  border-top: 1px solid rgba(15,62,118,0.08);
}

/* Paragraphs: readable width */
.section p{
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

/* Cards: richer depth */
.card{
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform .22s ease, box-shadow .22s ease;
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* CTA: slightly more premium */
.cta{
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Mobile tuning */
@media (max-width: 768px){
  .hero{
    height: 46vh;
    min-height: 340px;
  }
}
/* =========================================================
   Partner-Logos (global)
   Mobile wie Screenshot: links/rechts/links/rechts + 5. Logo mittig darunter
   - Smartphone: 70px
   - Tablet: 80px
   ========================================================= */

.partner-wrap{
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.partner-logos{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 22px;
}

.partner-logos .logo-card{
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.partner-logos .logo-card img{
  width: auto;
  height: 96px; /* Desktop Default */
  max-width: 100%;
  display: block;
}

/* Tablet + Smartphone: 2 Spalten, 5. Logo zentriert (eigene Zeile) */
@media (max-width: 768px){
  .partner-logos .logo-card{
    flex: 0 0 calc(50% - 22px);
  }
  .partner-logos .logo-card:nth-child(5){
    flex-basis: 100%;
  }
}

/* Smartphone */
@media (max-width: 480px){
  .partner-logos .logo-card img{
    height: 70px;
  }
}

/* Tablet */
@media (min-width: 481px) and (max-width: 768px){
  .partner-logos .logo-card img{
    height: 80px;
  }
}

/* =========================================================
   HEADER + FOOTER Premium (Minimal invasive)
   - uses /images/Titelbild.png
   - keeps existing markup (navbar/footer)
   ========================================================= */

/* Premium header background (image + dark overlays) */
.navbar{
  position: sticky;
  top: 0;
  z-index: 10;
  color: #fff;

  background:
    linear-gradient(90deg, rgba(11,19,36,.92) 0%, rgba(15,29,54,.82) 55%, rgba(11,19,36,.92) 100%),
    url('/images/Titelbild.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;

  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

/* Champagner-Linie unten (ohne Header-Hoehe zu veraendern) */
.navbar{ position: sticky; }
.navbar::after{
  content:"";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--champagne) 18%, rgba(255,255,255,.18) 50%, var(--champagne) 82%, transparent 100%);
  opacity: .95;
}

/* Navigation-Links: mehr Premium (Spacing + Champagner-Akzent) */
.navbar > ul li a,
.navbar > ul li span{
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color .22s ease, color .22s ease;
}

.navbar > ul li a:hover{
  color: #fff;
  background: rgba(255,255,255,.06);
}

/* Champagner-Unterlinie (sichtbar, aber elegant) */
.navbar > ul li a::after{
  content:"";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
  opacity: .95;
}
.navbar > ul li a:hover::after{ transform: scaleX(1); }

/* Aktive Seite: Champagner-Hinweis */
.navbar > ul li a[aria-current="page"]{
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.navbar > ul li a[aria-current="page"]::after{ transform: scaleX(1); }

/* Logo im Header minimal groesser + weich freigestellt */
.logo-img-header{
  height: 78px; /* leicht groesser (Premium) */
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}

/* Mobile Logo: bleibt kleiner, aber nicht zu klein */
@media (max-width: 768px){
  .logo-img-header{ height: 54px; }
}

/* Dropdown: Glass / Corporate */
.dropdown-menu{
  background: rgba(15,29,54,.78) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(203,161,53,.28);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  padding: 10px;
  min-width: 240px;
}

.dropdown-menu li a{
  color: rgba(255,255,255,.82) !important;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 10px;
  position: relative;
}

/* Champagner-Akzent links beim Hover */
.dropdown-menu li a::before{
  content:"";
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--champagne);
  opacity: 0;
  transition: opacity .18s ease;
  border-radius: 2px;
}

.dropdown-menu li a:hover{
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
}
.dropdown-menu li a:hover::before{ opacity: 1; }

/* Mobile: Dropdown integriert, ohne Glass-Kanten zu hart wirken */
@media (max-width: 768px){
  .navbar > ul{
    background:
      linear-gradient(180deg, rgba(11,19,36,.96) 0%, rgba(15,29,54,.92) 100%),
      url('/images/Titelbild.png');
    background-size: cover;
    background-position: center right;
  }
  .dropdown-menu{
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 12px;
  }
}

/* Footer: Bild + Verlauf, staerker abgedunkelt + Champagner Kante */
.footer{
  background:
    linear-gradient(180deg, rgba(11,19,36,.92) 0%, rgba(7,10,16,.96) 100%),
    url('/images/Titelbild.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;

  border-top: 2px solid rgba(203,161,53,.55);
  box-shadow: 0 -10px 24px rgba(0,0,0,.22);
  padding: 1.6rem 2rem; /* etwas kompakter als vorher */
}

/* Footer Links: Champagner beim Hover (premium) */
.footer a:hover{
  color: var(--champagne);
}



/* =========================================================
   Flyer (PDF) – Vorschau + Download (Home)
   ========================================================= */
.flyer-section .flyer-text{
  max-width: 820px;
  margin: 0.75rem auto 1.5rem auto;
  color: #374151;
}

.flyer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}

.flyer-card{
  border: 1px solid rgba(15,62,118,0.12);
  border-radius: var(--radius, 14px);
  background: #fff;
  box-shadow: var(--shadow-sm, 0 8px 20px rgba(0,0,0,0.06));
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  width: 100%;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}

.flyer-card img{
  display: block;
  width: 100%;
  height: auto;
}

.flyer-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md, 0 16px 40px rgba(0,0,0,0.10));
}

.flyer-card-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 75%, rgba(0,0,0,.66) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.flyer-card-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: .04em;
}

.flyer-card-title{
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}

.flyer-actions{
  text-align: center;
display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.flyer-hint{
  margin: 0;
  max-width: 520px;
  font-size: 0.95rem;
  color: #374151;
  opacity: .92;
}

/* Modal */
.flyer-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.68);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 9999;
}

.flyer-modal.is-open{ display: flex; }

.flyer-modal-inner{
  width: min(1050px, 96vw);
  height: min(86vh, 920px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
}

.flyer-modal-close{
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(255,255,255,0.92);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.flyer-modal-view{
  width: 100%;
  height: 100%;
}

.flyer-modal-view iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

.flyer-modal-footer{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem;
  background: linear-gradient(180deg, rgba(247,249,251,0.85) 0%, rgba(247,249,251,1) 100%);
  border-top: 1px solid rgba(15,62,118,0.10);
}

.flyer-modal-note{
  font-size: 0.92rem;
  color: #374151;
  opacity: .9;
}

@media (max-width: 900px){
  .flyer-grid{
    grid-template-columns: 1fr;
  }
  .flyer-actions{
    padding-top: 0;
  }
  .flyer-modal-inner{
    height: min(88vh, 980px);
  }
}


/* =========================
   TEAM SECTION (Cards + Container)
========================= */

.team-section {
  padding: 70px 0;
}

.team-section .container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* Card */
.team-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

/* Photo */
.team-photo {
  padding: 18px 18px 0;
  display: flex;
  justify-content: center;
}

.team-photo img {
  width: 100%;
  max-width: 320px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* Text */
.team-info {
  padding: 16px 20px 22px;
  text-align: center;
}

.team-name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.team-role {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 0.2px;
}

.team-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.85;
}

/* Tablet */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-photo img {
    max-width: 340px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-photo img {
    max-width: 360px;
  }
}


/* =========================================================
   TEAM SECTION – Alternierend / Versetzt (Premium High-End)
   Bild links / rechts im Wechsel + Champagnerrahmen + weicher Tiefenschatten
   + Ultra-dezente Lichtkante (oben links) + minimaler Gold-Glow beim Hover
   Aktiviert mit: .team-section--alt
   ========================================================= */

.team-section--alt .team-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

/* Jede Team-Card wird zur horizontalen Zeile */
.team-section--alt .team-card{
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px;
  border-radius: 18px;

  background: #ffffff;
  border: 1px solid rgba(203,161,53,0.45);
  box-shadow: 0 14px 36px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-section--alt .team-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0,0,0,0.10);
}

/* Bild links/rechts – Premium Freistellung */
.team-section--alt .team-photo{
  flex: 0 0 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.team-section--alt .team-photo img{
  width: 200px;
  height: auto;                     /* kein Abschneiden */
  border-radius: 16px;

  /* Freistellung + dezente Lichtkante oben links */
  background:
    linear-gradient(135deg, rgba(255,255,255,0.70) 0%, rgba(255,255,255,0.00) 42%),
    #ffffff;
  padding: 6px;

  /* Champagnerrahmen */
  border: 1px solid rgba(203,161,53,0.65);

  /* Bild immer komplett sichtbar */
  object-fit: contain;

  /* Sehr weiche Tiefe (High-End) */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.72),  /* Lichtkante */
    0 10px 28px rgba(0,0,0,0.045),
    0 3px 10px rgba(0,0,0,0.035);

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-section--alt .team-photo img:hover{
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.78),
    0 16px 40px rgba(0,0,0,0.07),
    0 6px 14px rgba(0,0,0,0.05),
    0 0 18px rgba(203,161,53,0.16);        /* minimaler Gold-Glow */
}

/* Textbereich */
.team-section--alt .team-info{
  flex: 1 1 auto;
  text-align: center;
  padding: 0;
}

/* Rolle (z.B. Geschäftsführer und Inhaber) */
.team-section--alt .team-role{
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

/* Name */
.team-section--alt .team-name{
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}

/* Beschreibung */
.team-section--alt .team-text{
  margin: 0 auto;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.9;
}

.team-section--alt .team-role{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}

.team-section--alt .team-name{
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.85;
}

.team-section--alt .team-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.9;
}

/* Jede zweite Card gespiegelt */
.team-section--alt .team-card:nth-child(even){
  flex-direction: row-reverse;
}

/* Mobile: alles untereinander */
@media (max-width: 768px){
  .team-section--alt .team-card{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .team-section--alt .team-card:nth-child(even){
    flex-direction: column;
  }

  .team-section--alt .team-photo img{
    width: 240px;
    height: auto;
  }

  .team-section--alt .team-info{
    text-align: center;
  }
}

/* =========================================================
   TEAM SECTION – Cards als ganze Box versetzt (links/rechts)
   Ergänzung für .team-section--alt
   - begrenzt die Breite (nicht full width)
   - verschiebt komplette Container abwechselnd links/rechts
   ========================================================= */

/* Team-Zeilenbereich insgesamt schmaler */
.team-section--alt .team-grid{
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

/* Jede Card bekommt eine fixe Max-Breite und wird innerhalb der Grid-Spalte ausgerichtet */
.team-section--alt .team-card{
  width: min(860px, 92%);
}

/* Desktop: komplette Cards links/rechts versetzen */
@media (min-width: 769px){
  /* Standard: keinen Versatz */
  .team-section--alt .team-card{ --shift: 0px; }

  /* 1,3,5... leicht nach links */
  .team-section--alt .team-card:nth-child(odd){
    margin-left: 0;
    margin-right: auto;
    --shift: -22px;
  }

  /* 2,4,6... leicht nach rechts */
  .team-section--alt .team-card:nth-child(even){
    margin-left: auto;
    margin-right: 0;
    --shift: 22px;
  }

  /* Versatz anwenden (ohne Hover zu zerstören) */
  .team-section--alt .team-card{
    transform: translateX(var(--shift));
  }

  /* Hover: Versatz beibehalten + nur nach oben */
  .team-section--alt .team-card:hover{
    transform: translateX(var(--shift)) translateY(-4px);
  }
}

/* Mobile: alles zentriert, kein Versatz */
@media (max-width: 768px){
  .team-section--alt .team-card{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }
}



/* =========================================================
   STARTSEITE – Premium Elements (Trustbar + Ablauf)
   ========================================================= */

/* Trustbar (direkt unter Hero) */
.trustbar{
  background: linear-gradient(180deg, rgba(255,255,255,0.70) 0%, rgba(247,249,251,0.98) 100%);
  border-bottom: 1px solid rgba(15,62,118,0.10);
}
.trustbar-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}
.trust-item{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(203,161,53,0.25);
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
  font-weight: 700;
  color: rgba(17,24,39,0.92);
  font-size: 0.95rem;
}
.trust-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--champagne);
  box-shadow: 0 0 0 4px rgba(203,161,53,0.14);
}
@media (max-width: 480px){
  .trust-item{ font-size: 0.92rem; padding: 0.5rem 0.8rem; }
}

/* Ablauf / Process */
.process-section .process-intro{
  margin-top: -0.25rem;
  margin-bottom: 1.5rem;
}
.process-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 1rem;
}
.process-step{
  background: var(--surface);
  border: 1px solid rgba(15,62,118,0.10);
  border-radius: var(--radius, 14px);
  box-shadow: var(--shadow-sm, 0 8px 20px rgba(0,0,0,0.06));
  padding: 1.4rem 1.25rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.process-step::before{
  content:"";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--champagne) 18%, rgba(255,255,255,.18) 50%, var(--champagne) 82%, transparent 100%);
  opacity: .95;
}
.process-badge{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
  box-shadow: 0 10px 22px rgba(15,62,118,0.18);
  margin-bottom: 0.85rem;
}
.process-step h3{
  margin: 0 0 0.4rem 0;
  color: var(--primary);
  font-size: 1.05rem;
}
.process-step p{
  margin: 0;
  font-size: 0.98rem;
  color: #374151;
  max-width: none;
}
.process-cta{
  margin-top: 1.6rem;
  text-align: center;
}
@media (max-width: 992px){
  .process-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px){
  .process-grid{ grid-template-columns: 1fr; }
  .process-step{ text-align: center; }
}

/* =========================================================
   FIX: Mobile Hero Content Overflow (Buttons overlap Trustbar)
   Ursache: Hero hat feste Höhe (vh) und Inhalt läuft heraus.
   Lösung: Auf Mobile Hero-Höhe flexibel + ausreichend Padding.
   ========================================================= */
@media (max-width: 520px){
  .hero.hero--home{
    height: auto;
    min-height: 0;
    padding-top: 5.25rem;   /* genug Luft unter Sticky-Header */
    padding-bottom: 3.25rem;
  }
  .hero .hero-content{
    max-width: 680px;
  }
  .hero-actions{
    margin-top: 1.05rem;
  }
}

