/* ===================================================
   MALERBETRIEB GIMPEL – Stylesheet
   Design-Sprache: Tesla · Google Material 3
   Inter Font · Pill-Buttons · Clean & Minimal
=================================================== */

/* ---------------------------------------------------
   1. Design-Tokens
--------------------------------------------------- */

/* DSGVO-konform selbst gehostet – kein Google-Server-Kontakt */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Farben */
  --c-black:      #0a0a0a;
  --c-gray-900:   #171717;
  --c-gray-800:   #262626;
  --c-gray-600:   #525252;
  --c-gray-400:   #a3a3a3;
  --c-gray-200:   #e5e5e5;
  --c-gray-100:   #f3f3f3;
  --c-gray-50:    #f9f9f9;
  --c-white:      #ffffff;

  /* Akzent Orange (Logo-Farbe) */
  --c-accent:     #E8701A;
  --c-accent-mid: #F07828;
  --c-accent-bg:  #FEF3E8;

  /* Status */
  --c-success:    #16a34a;
  --c-error:      #dc2626;

  /* Typografie */
  --font:       'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:    0.8125rem;
  --text-sm:    0.9375rem;
  --text-base:  1.0625rem;
  --text-lg:    1.1875rem;
  --text-xl:    1.375rem;
  --text-2xl:   1.875rem;
  --text-3xl:   2.5rem;
  --text-4xl:   3.25rem;
  --text-hero:  4.5rem;

  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semi:   600;
  --fw-bold:   700;
  --fw-black:  800;

  /* Abstände */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Navigation */
  --nav-h:  120px;

  /* Radien */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-pill: 9999px;

  /* Schatten – sehr dezent */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);

  /* Übergänge */
  --ease: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------
   2. Reset
--------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: var(--fw-normal);
  line-height: 1.7;
  color: var(--c-gray-800);
  background: var(--c-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, picture, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4 { overflow-wrap: break-word; }

a {
  color: var(--c-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--ease);
}
a:hover, a:focus-visible { color: var(--c-black); }

:focus-visible {
  outline: 2px solid var(--c-accent-mid);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

ul[role="list"] { list-style: none; }

/* ---------------------------------------------------
   3. Layout
--------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ---------------------------------------------------
   4. NAVIGATION – Sticky, Frosted White, zentrierte Links
--------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(18px) saturate(200%);
  -webkit-backdrop-filter: blur(18px) saturate(200%);
  border-bottom: 1px solid var(--c-gray-200);
  transition: box-shadow var(--ease);
}

.site-header.header--scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.main-header { height: 120px; }

/*
  Flex-Layout: Logo + Nav gemeinsam zentriert
*/
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: var(--sp-4);
}

/* Logo – gemeinsam mit Nav zentriert */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity var(--ease);
}
.logo:hover, .logo:focus-visible { opacity: 0.75; }

.logo-img {
  height: 80px;
  width: auto;
  max-width: 420px;
  object-fit: contain;
  display: block;
  filter: none;
}

.logo-img--footer {
  height: 34px;
  filter: brightness(0) invert(1);
}

/* Nav – mittlere Spalte, perfekt zentriert */
.main-nav {
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  display: inline-block;
  padding: 0 0.9rem;
  height: 120px;
  line-height: 120px;
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
  color: #4a4a4a;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color var(--ease);
}

.nav-link:hover, .nav-link:focus-visible { color: var(--c-black); }

/* Dropdown-Trigger als Button, optisch identisch mit nav-link */
button.nav-link {
  background: none;
  background-color: transparent;
  border: none;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  padding: 0 0.9rem;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.01em;
  color: #4a4a4a;
  -webkit-appearance: none;
  appearance: none;
}
button.nav-link:focus,
button.nav-link:focus-visible {
  outline: none;
  box-shadow: none;
  background: none;
}

.nav-link--has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-arrow {
  width: 10px;
  height: 6px;
  flex-shrink: 0;
  opacity: 1;
  transform: translateY(0);
  transition: transform var(--ease);
}

.nav-item--dropdown:hover .nav-arrow,
.nav-item--dropdown:focus-within .nav-arrow {
  transform: translateY(2px) rotate(0deg);
}

/* Dropdown-Menü */
.nav-item--dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 190px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 999;
}

.nav-item--dropdown:hover .dropdown,
.nav-item--dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
  font-weight: var(--fw-normal);
  color: var(--c-gray-800);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--ease), color var(--ease);
}

.dropdown-link:hover,
.dropdown-link:focus-visible {
  background: var(--c-accent-bg);
  color: var(--c-accent);
}

/* Gleitender Unterstrich */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--c-black);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s cubic-bezier(0.4,0,0.2,1);
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link--active::after { transform: scaleX(1); }

.nav-link--active {
  color: var(--c-black);
  font-weight: var(--fw-semi);
}

/* CTA – direkt nach den Nav-Links */
.nav-link--cta {
  display: inline-flex;
  align-items: center;
  height: auto;
  line-height: 1;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  background: var(--c-accent);
  color: var(--c-white) !important;
  font-size: 0.875rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.02em;
  border: 1.5px solid var(--c-accent);
  margin-left: var(--sp-4);
  transition: background var(--ease), box-shadow var(--ease);
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover, .nav-link--cta:focus-visible {
  background: #14427E;
  border-color: #14427E;
  color: var(--c-white) !important;
  box-shadow: var(--shadow-sm);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-shrink: 0;
  justify-self: end;
  transition: background var(--ease);
}

.nav-toggle:hover, .nav-toggle:focus-visible { background: var(--c-gray-100); }

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-gray-800);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------------------------------------------------
   5. BUTTONS – Pill-Style
--------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.85rem 2.1rem;
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  transition:
    background var(--ease), color var(--ease),
    border-color var(--ease), transform var(--ease),
    box-shadow var(--ease);
}

.btn:hover  { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }

/* Primär: Orange (Logo-Farbe) */
.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: #14427E;
  border-color: #14427E;
  color: var(--c-white);
  box-shadow: var(--shadow-sm);
}

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline:hover, .btn--outline:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: var(--c-white);
}

/* Hell (auf dunklen Sektionen) */
.btn--light {
  background: var(--c-white);
  color: var(--c-black);
  border-color: var(--c-white);
}
.btn--light:hover, .btn--light:focus-visible {
  background: var(--c-gray-100);
  box-shadow: var(--shadow-sm);
}

.btn--full { width: 100%; justify-content: center; }

/* ---------------------------------------------------
   6. SEKTIONEN
--------------------------------------------------- */
.section { padding-block: var(--sp-24); }

.section--white { background: var(--c-white); }
.section--light { background: var(--c-gray-50); }
.section--dark  {
  /* Malerwerkzeug-Foto als dezenter dunkler Hintergrund */
  background-color: var(--c-black);
  background-image:
    linear-gradient(rgba(5,5,10,0.88), rgba(5,5,10,0.88)),
    url('https://images.unsplash.com/photo-1589939705384-5185137a7f0f?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--c-white);
}

/* Sektions-Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-16);
}

.section-header--light .section-label { color: #93c5fd; }
.section-header--light h2             { color: var(--c-white); }
.section-header--light .section-intro { color: rgba(255,255,255,0.6); }

/* Pill-Label */
.section-label {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  background: var(--c-accent-bg);
  color: var(--c-accent);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-4);
}

.section--dark .section-label {
  background: rgba(59,130,246,0.15);
  color: #93c5fd;
}

h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--c-black);
  margin-bottom: var(--sp-4);
}

.section--dark h2 { color: var(--c-white); }

.section-intro {
  font-size: var(--text-lg);
  color: var(--c-gray-600);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.65;
}

.section--dark .section-intro { color: rgba(255,255,255,0.6); }

.section-cta { text-align: center; margin-top: var(--sp-12); }

/* ---------------------------------------------------
   7. HERO – Tesla: Full-Screen, Bold, Centered
--------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('Gimpel Auto.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-block: var(--sp-24);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(5, 5, 10, 0.78) 0%,
      rgba(5, 5, 20, 0.62) 50%,
      rgba(5, 5, 10, 0.82) 100%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
}

.hero-pretitle {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.3rem;
  background: var(--c-accent);
  color: var(--c-white);
  font-size: 0.875rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-accent);
  margin-bottom: var(--sp-6);
}

.hero-title {
  font-size: clamp(var(--text-3xl), 8vw, var(--text-hero));
  font-weight: var(--fw-black);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--c-white);
  margin-bottom: var(--sp-6);
}

.hero-title span {
  background: linear-gradient(135deg, #fff 30%, #fcd9a8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(var(--text-base), 2.5vw, var(--text-xl));
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--sp-10);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin-bottom: var(--sp-16);
}

/* Trust-Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  justify-content: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.45);
}

.trust-icon { color: var(--c-accent-mid); font-style: normal; }

/* ---------------------------------------------------
   8. ÜBER UNS
--------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-16);
  align-items: start;
}

.about-text p {
  font-size: var(--text-lg);
  color: var(--c-gray-600);
  margin-bottom: var(--sp-4);
  line-height: 1.75;
}

/* Werte-Kacheln */
.values-list {
  margin-top: var(--sp-10);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.value-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--c-white);
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-gray-200);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.value-item:hover {
  border-color: var(--c-accent-mid);
  box-shadow: var(--shadow-xs);
}

.value-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }

.value-item strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: var(--c-black);
  margin-bottom: 0.25rem;
}

.value-item p {
  font-size: var(--text-xs);
  color: var(--c-gray-600);
  margin: 0;
  line-height: 1.55;
}

/* Bild-Platzhalter */
.image-placeholder,
.map-placeholder,
.partner-logo-placeholder {
  background: var(--c-gray-50);
  border: 1.5px dashed var(--c-gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  color: var(--c-gray-400);
  font-size: var(--text-sm);
  padding: var(--sp-8);
  text-align: center;
}

.image-placeholder span, .map-placeholder span { font-size: 2.5rem; }

.about-image-wrap {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-6));
}
.about-image-wrap .image-placeholder { min-height: 380px; }

/* ---------------------------------------------------
   9. KARTEN-GRID
--------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
}

.card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid var(--c-gray-200);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.card:hover {
  border-color: var(--c-gray-400);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* Blauer Akzent-Strich oben */
.card::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--c-accent-mid);
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-5);
}

.card-icon { font-size: 1.875rem; margin-bottom: var(--sp-3); line-height: 1; }

.card h3 {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--c-black);
  margin-bottom: var(--sp-3);
  line-height: 1.25;
}

.card p {
  font-size: var(--text-sm);
  color: var(--c-gray-600);
  line-height: 1.65;
}

/* Dunkle Karten */
.cards-grid--dark .card--dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.cards-grid--dark .card--dark::before { background: #1A54A3; }
.cards-grid--dark .card--dark:hover  {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.2);
}
.cards-grid--dark .card--dark h3 { color: var(--c-white); }
.cards-grid--dark .card--dark p  { color: rgba(255,255,255,0.6); }

/* ---------------------------------------------------
   10. FEATURE-BLOCKS (Fassaden)
--------------------------------------------------- */
.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.feature-block {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid var(--c-gray-200);
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.feature-block:hover {
  border-color: var(--c-accent-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.feature-icon { font-size: 1.875rem; margin-bottom: var(--sp-4); line-height: 1; }

.feature-block h3 {
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--c-black);
  margin-bottom: var(--sp-3);
}

.feature-block p {
  font-size: var(--text-sm);
  color: var(--c-gray-600);
  line-height: 1.65;
}

/* ---------------------------------------------------
   11. SENIORENSERVICE
--------------------------------------------------- */
.senioren-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-16);
  align-items: start;
  margin-bottom: var(--sp-8);
}

.senioren-text p {
  font-size: var(--text-lg);
  color: var(--c-gray-600);
  margin-bottom: var(--sp-6);
  line-height: 1.75;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.checklist li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-5) var(--sp-6);
  background: var(--c-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-gray-200);
  transition: border-color var(--ease);
}

.checklist li:hover { border-color: var(--c-accent-mid); }

.check {
  font-size: 0.95rem;
  color: var(--c-accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
  font-weight: var(--fw-bold);
}

.checklist strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--fw-semi);
  color: var(--c-black);
  margin-bottom: 0.2rem;
}

.checklist p {
  font-size: var(--text-xs);
  color: var(--c-gray-600);
  margin: 0;
  line-height: 1.55;
}

.senioren-image-wrap .image-placeholder { min-height: 360px; }

/* ---------------------------------------------------
   12. PARTNER-GRID
--------------------------------------------------- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.partner-logo-wrap { display: flex; }

.partner-logo-placeholder {
  flex: 1;
  min-height: 110px;
  border-radius: var(--radius-md);
  padding: var(--sp-5);
}

.partner-logo-placeholder span { font-size: 1.75rem; }
.partner-logo-placeholder p    { font-weight: var(--fw-medium); }

.partner-note {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--c-gray-400);
}

/* ---------------------------------------------------
   13. KONTAKT
--------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-16);
  align-items: start;
}

.contact-form-wrap h3,
.contact-info h3 {
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--c-white);
  margin-bottom: var(--sp-6);
}

/* Formular */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: rgba(255,255,255,0.7);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1.1rem;
  font-size: var(--text-base);
  color: var(--c-black);
  background: rgba(255,255,255,0.96);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23262626' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-accent-mid);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* Checkbox */
.form-group--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--sp-3);
}

.form-group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  accent-color: var(--c-accent-mid);
  cursor: pointer;
  border: none;
  padding: 0;
  background: transparent;
}

.form-group--checkbox label {
  font-size: var(--text-xs);
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}
.form-group--checkbox label a { color: #93c5fd; }

.required { color: #f87171; }

/* Meldungen */
.form-message {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  display: none;
}

.form-message--success {
  display: block;
  background: rgba(22,163,74,0.15);
  border: 1px solid rgba(22,163,74,0.4);
  color: #86efac;
}

.form-message--error {
  display: block;
  background: rgba(220,38,38,0.15);
  border: 1px solid rgba(220,38,38,0.4);
  color: #fca5a5;
}

.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Kontaktdaten */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  margin-bottom: var(--sp-8);
}

.contact-detail { display: flex; gap: var(--sp-4); align-items: flex-start; }

.contact-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; line-height: 1; }

.contact-detail strong {
  display: block;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.38);
  font-weight: var(--fw-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.contact-detail p { color: var(--c-white); font-size: var(--text-base); }
.contact-detail a { color: #93c5fd; text-decoration: none; }
.contact-detail a:hover { color: var(--c-white); }

.map-placeholder {
  min-height: 180px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}
.map-placeholder span { font-size: 2rem; }
.map-placeholder p {
  color: rgba(255,255,255,0.38);
  font-size: var(--text-sm);
  text-align: center;
}

/* ---------------------------------------------------
   14. FOOTER
--------------------------------------------------- */
.site-footer {
  background-color: #050505;
  background-image:
    linear-gradient(rgba(5,5,10,0.93), rgba(5,5,10,0.93)),
    url('https://images.unsplash.com/photo-1589939705384-5185137a7f0f?auto=format&fit=crop&w=1920&q=60');
  background-size: cover;
  background-position: center;
  color: rgba(255,255,255,0.4);
  padding-block: var(--sp-16);
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  align-items: flex-start;
  justify-content: space-between;
}

.footer-brand { display: flex; flex-direction: column; gap: var(--sp-2); }

.footer-brand strong {
  font-size: var(--text-base);
  font-weight: var(--fw-semi);
  color: var(--c-white);
}

.footer-brand p { font-size: var(--text-sm); }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
}

.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--ease);
}
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--c-white); }

.footer-copy {
  font-size: var(--text-xs);
  width: 100%;
  text-align: center;
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.02em;
}

/* ---------------------------------------------------
   14b. FLOATING ACTION BUTTONS STACK
--------------------------------------------------- */
.fab-stack {
  position: fixed;
  bottom: calc(var(--sp-8) + 44px + 14px);
  right: var(--sp-8);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.fab {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-pill);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease);
}

.fab svg {
  width: 34px;
  height: 34px;
}

.fab:hover,
.fab:focus-visible {
  transform: scale(1.08);
}

/* E-Mail – Blau */
.fab--email {
  background: var(--c-accent);
  box-shadow: 0 4px 16px rgba(26,84,163,0.35);
}
.fab--email:hover,
.fab--email:focus-visible {
  box-shadow: 0 6px 22px rgba(26,84,163,0.5);
}

/* WhatsApp – Grün */
.fab--whatsapp {
  background: #25D366;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}
.fab--whatsapp:hover,
.fab--whatsapp:focus-visible {
  box-shadow: 0 6px 22px rgba(37,211,102,0.5);
}

/* Telefon – Schwarz */
.fab--phone {
  background: #1a6fd4;
  box-shadow: 0 4px 16px rgba(26,111,212,0.35);
}
.fab--phone:hover,
.fab--phone:focus-visible {
  box-shadow: 0 6px 22px rgba(26,111,212,0.5);
}

@media (max-width: 768px) {
  .fab-stack {
    gap: 6px;
    right: 8px;
    bottom: calc(var(--sp-8) + 40px + 8px);
  }
  .fab {
    width: 44px;
    height: 44px;
  }
  .fab svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .fab-stack {
    gap: 4px;
    right: 6px;
  }
  .fab {
    width: 40px;
    height: 40px;
  }
  .fab svg {
    width: 20px;
    height: 20px;
  }
}

/* ---------------------------------------------------
   15. ZURÜCK NACH OBEN
--------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: var(--c-black);
  border: 1px solid var(--c-gray-200);
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}

.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover   { transform: translateY(-2px); }

/* ---------------------------------------------------
   16. RESPONSIVE – Tablet (≤ 960px)
--------------------------------------------------- */
@media (max-width: 960px) {
  :root {
    --sp-24: 4.5rem;
    --nav-h: 64px;
  }

  .main-header { height: 64px; }
  .logo-img    { height: 42px; }

  .nav-toggle { display: flex; }

  /* Nav: Visibility-Ansatz statt display:none – ermöglicht CSS-Animation */
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--c-white);
    border-bottom: 1px solid var(--c-gray-200);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
    z-index: 800;
    justify-content: initial;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: var(--sp-3) var(--pad-x) var(--sp-5);
    gap: 0;
  }

  .nav-link {
    display: block;
    height: auto;
    line-height: 1;
    padding: 0.9rem var(--sp-4);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: #333;
    border-radius: var(--radius-md);
    border-bottom: none;
  }

  .nav-link::after { display: none !important; }
  .nav-link:hover  { background: var(--c-gray-50); color: var(--c-black); }
  .nav-link--active { background: var(--c-accent-bg); color: var(--c-accent); }

  .nav-icon { display: none; }

  /* Leistungen-Button: gleiche Höhe und Optik wie Links */
  button.nav-link {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem var(--sp-4);
    height: auto;
    line-height: 1;
    font-size: var(--text-sm);
    color: #333;
    border-radius: var(--radius-md);
  }

  /* Pfeil dreht sich wenn Dropdown sichtbar ist */
  .nav-arrow { width: 10px; height: 6px; flex-shrink: 0; transition: transform 0.22s ease; }

  /* Dropdown klappt inline nach unten auf */
  .nav-item--dropdown .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: unset;
    background: var(--c-gray-50);
    padding: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
    z-index: auto;
  }

  .nav-item--dropdown.is-expanded .dropdown { max-height: 400px; transform: none; }

  .nav-item--dropdown.is-expanded .nav-arrow { transform: rotate(180deg); }

  .dropdown-link {
    padding: 0.6rem var(--sp-4) 0.6rem calc(var(--sp-4) + var(--sp-3));
    font-size: var(--text-sm);
    white-space: normal;
  }

  .nav-link--cta {
    display: block;
    margin: var(--sp-3) 0 var(--sp-2);
    text-align: center;
    border-radius: var(--radius-pill);
    padding: 0.85rem;
    border-bottom: none;
    background: var(--c-black);
    border-color: var(--c-black);
    color: var(--c-white) !important;
  }

  .about-grid, .senioren-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-image-wrap { position: static; }
  .about-image-wrap .image-placeholder { min-height: 240px; }
  .senioren-image-wrap .image-placeholder { min-height: 200px; }
  .values-list { grid-template-columns: 1fr; }
  .feature-list-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------
   17. RESPONSIVE – Smartphone (≤ 640px)
--------------------------------------------------- */
@media (max-width: 640px) {
  :root {
    --sp-24: 3.5rem;
    --sp-16: 3rem;
    --pad-x: 1rem;
  }

  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .trust-badges { flex-direction: column; align-items: center; }

  .cards-grid        { grid-template-columns: 1fr; }
  .feature-list-grid { grid-template-columns: 1fr; }
  .partner-grid      { grid-template-columns: repeat(2, 1fr); }
  .values-list       { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-nav ul { justify-content: center; }
  .back-to-top { bottom: var(--sp-4); right: var(--sp-4); }
}

/* ---------------------------------------------------
   18. Druckmodus
--------------------------------------------------- */
@media print {
  .site-header, .back-to-top, .hero-actions,
  .section-cta, .contact-form { display: none; }
  .section, .hero { padding-block: 1.5rem; }
  body { font-size: 12pt; color: #000; }
}

/* ---------------------------------------------------
   19. Reduzierte Bewegung
--------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================================================
   MD3 ÜBER UNS – Dark Section (aus v2.html)
=================================================== */
:root {
  --md-primary:           #B34F00;
  --md-on-primary:        #FFFFFF;
  --md-primary-container: #FFDCC4;
  --md-on-primary-container: #3A1500;
  --md-surface-dark:      #1A0E0A;
  --md-on-surface-dark:   #EDE0DB;
  --md-display-sm:        clamp(2rem, 5vw, 2.75rem);
  --md-body-lg:           1rem;
  --md-label-sm:          0.6875rem;
  --md-shape-lg:          16px;
  --md-elev-1: 0 1px 2px rgba(0,0,0,.10), 0 1px 3px 1px rgba(0,0,0,.08);
  --md-elev-2: 0 1px 2px rgba(0,0,0,.12), 0 2px 6px 2px rgba(0,0,0,.10);
  --md-elev-3: 0 4px 8px 3px rgba(0,0,0,.10), 0 1px 3px rgba(0,0,0,.12);
  --md-shape-sm:   8px;
  --md-shape-md:   12px;
  --md-shape-full: 9999px;
  --md-outline-variant: #D8C2BC;
  --md-on-surface-variant: #53433D;
  --md-on-surface: #211A17;
  --md-surface-variant: #F4DDD1;
  --md-outline: #85736D;
  --accent-v2: #F07828;
  --max-v2: 1320px;
  --pad-v2: clamp(1.25rem, 5vw, 5rem);
}

.about {
  background: var(--c-gray-50);
  color: var(--c-gray-800);
  padding: var(--sp-24) var(--pad-v2);
}

.about-inner {
  max-width: var(--max-v2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.about-kicker {
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.25rem;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.85rem;
  background: var(--c-accent-bg);
  border-radius: var(--radius-pill);
}
.about-kicker::before { display: none; }

.about-quote {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--c-black);
}
.about-quote em { font-style: italic; color: var(--c-accent); }

.about-body {
  font-size: var(--text-lg);
  color: var(--c-gray-600);
  line-height: 1.75;
  border-left: 3px solid var(--c-accent);
  padding-left: 1rem;
  margin-bottom: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.stat {
  background: var(--c-white);
  border: 1px solid var(--c-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.stat:focus,
.stat:focus-visible {
  outline: none;
}
.stat-num {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--c-accent);
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  color: var(--c-gray-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ===================================================
   MD3 KONTAKT – Light Section (aus v2.html)
=================================================== */
.contact {
  max-width: var(--max-v2);
  margin-inline: auto;
  padding: clamp(4rem, 8vh, 7rem) var(--pad-v2);
}

.contact-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--md-outline-variant);
  margin-bottom: clamp(3rem, 5vh, 4.5rem);
}

.contact-title {
  font-size: var(--md-display-sm);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--md-on-surface);
}

.contact-sub {
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
  max-width: 280px;
  text-align: right;
  line-height: 1.6;
}

/* Override: im md3-Kontakt das Grid neu */
section.contact .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
}

/* MD3 Form Field */
.form-field {
  position: relative;
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-size: var(--md-label-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--md-on-surface-variant);
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.form-field:focus-within label {
  color: var(--md-primary);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--md-surface-variant);
  border: none;
  border-bottom: 2px solid var(--md-outline);
  border-radius: var(--md-shape-sm) var(--md-shape-sm) 0 0;
  padding: 0.75rem 1rem;
  font-size: var(--md-body-lg);
  font-family: var(--font);
  color: var(--md-on-surface);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-bottom-color: var(--md-primary);
  background: color-mix(in srgb, var(--md-surface-variant) 85%, var(--md-primary) 15%);
}

.form-field textarea { resize: vertical; min-height: 120px; }

/* Required asterisk */
.form-field label span[aria-hidden] {
  color: var(--c-accent);
  margin-left: 0.1rem;
}
/* Error state */
.form-field.has-error input,
.form-field.has-error textarea,
.form-field.has-error select {
  border-bottom-color: var(--c-error);
}
.form-field.has-error label {
  color: var(--c-error);
}
/* Valid state */
.form-field.is-valid input,
.form-field.is-valid textarea,
.form-field.is-valid select {
  border-bottom-color: var(--c-success);
}
.field-error {
  display: block;
  font-size: 0.75rem;
  color: var(--c-error);
  margin-top: 0.3rem;
  padding-left: 0.1rem;
}

.form-check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.form-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  accent-color: var(--md-primary);
  cursor: pointer;
}
.form-check label {
  font-size: 0.875rem;
  color: var(--md-on-surface-variant);
  line-height: 1.6;
  cursor: pointer;
}
.form-check a { color: var(--md-primary); }

/* MD3 Submit Button */
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--md-primary);
  color: #fff;
  border: none;
  border-radius: var(--md-shape-full);
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font);
  letter-spacing: 0.00625em;
  cursor: pointer;
  box-shadow: var(--md-elev-1);
  transition: box-shadow 0.2s, filter 0.2s;
}
.form-submit:hover:not(:disabled) { box-shadow: var(--md-elev-2); filter: brightness(1.08); }
.form-submit svg { transition: transform 0.2s; }
.form-submit:hover:not(:disabled) svg { transform: translateX(4px); }
.form-submit:disabled {
  background: var(--c-gray-400);
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.form-note {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--md-on-surface-variant);
  line-height: 1.6;
}

/* MD3 Kontakt-Info */
.contact-info-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--md-on-surface);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--md-outline-variant);
  margin-bottom: 0.25rem;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--md-outline-variant);
}

.info-label {
  font-size: var(--md-label-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--md-on-surface-variant);
}

.info-val {
  font-size: var(--md-body-lg);
  font-weight: 400;
  color: var(--md-on-surface);
  text-decoration: none;
  transition: color 0.2s;
}
a.info-val {
  color: var(--md-on-surface);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.info-val:hover { color: var(--md-primary); }

/* ===================================================
   PARTNER-TICKER
=================================================== */
.partner-ticker {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--c-gray-200);
  border-bottom: 1px solid var(--c-gray-200);
  background: var(--c-white);
  overflow: hidden;
  height: 100px;
}

.partner-ticker-label {
  flex-shrink: 0;
  padding: 0 var(--sp-6) 0 var(--sp-8);
  font-size: var(--text-xs);
  font-weight: var(--fw-semi);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-gray-400);
  white-space: nowrap;
  border-right: 1px solid var(--c-gray-200);
}

.partner-ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.partner-ticker-track {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  width: max-content;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
  flex-wrap: nowrap;
}

.partner-ticker-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.partner-ticker-item img {
  height: 52px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: transform 0.3s ease;
}

.partner-ticker-item img:hover {
  transform: scale(1.08);
}
.partner-ticker-item img[alt="Jäger Lacke"] {
  height: 28px;
}

.partner-ticker-item--text {
  font-size: var(--text-xl);
  font-weight: var(--fw-black);
  letter-spacing: -0.03em;
  color: var(--c-gray-400);
  transition: color 0.3s ease;
  cursor: default;
  white-space: nowrap;
}

.partner-ticker-item--text:hover {
  color: var(--c-accent);
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

@media (max-width: 480px) {
  .partner-ticker-label {
    padding: 0 var(--sp-3) 0 var(--sp-3);
    font-size: 0.6rem;
  }
}

/* ===================================================
   MD3 FOOTER (aus v2.html)
=================================================== */
.footer {
  background: var(--md-surface-variant);
  border-top: 1px solid var(--md-outline-variant);
}

.footer-inner {
  max-width: var(--max-v2);
  margin-inline: auto;
  padding: 1.5rem var(--pad-v2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: var(--md-shape-full);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--md-on-surface-variant);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-links a:hover {
  background: rgba(33,26,23,0.08);
  color: var(--md-on-surface);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--md-on-surface-variant);
  width: auto;
  padding-top: 0;
  border-top: none;
  text-align: left;
}

/* Responsive MD3 */
@media (max-width: 960px) {
  .about-inner { grid-template-columns: 1fr; }
  section.contact .contact-grid { grid-template-columns: 1fr; }
  .contact-header { flex-direction: column; gap: 1rem; }
  .contact-sub { text-align: left; max-width: none; }
}

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}
