/* ============================================================
   A&OHR — style.css
   Clean · Allgäu · Senioren-freundlich · Spielend zu bedienen
   ============================================================ */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 17px;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #FAFAF8;
  color: #1C1C1A;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
button { font-family: inherit; }

/* TOKENS */
:root {
  --red:       #C8102E;
  --black:     #1C1C1A;
  --white:     #FAFAF8;
  --sand:      #F0EDE8;   /* warmes Off-White, Allgäu-neutral */
  --sand-mid:  #E2DDD7;
  --muted:     #6B6B67;
  --line:      #E2DDD7;
  --nav-h:     96px;
  --max:       1160px;
  --pad:       clamp(20px, 5vw, 60px);
  --ease:      cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* HELPERS */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section    { padding: 96px 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--black); }
.divider { border: none; border-top: 1px solid var(--line); }

/* TYPO */
.eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.eyebrow-muted { color: var(--muted); }

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--red); color: #fff; border-color: var(--red); }
.btn-solid:hover { background: #a80d24; border-color: #a80d24; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-white:hover { background: #fff; color: var(--black); border-color: #fff; }

/* TEXT-LINK */
.tlink {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--red);
  transition: gap 0.2s var(--ease), opacity 0.2s;
}
.tlink:hover { gap: 10px; opacity: 0.8; }
.tlink::after { content: '→'; }

/* IMG PLACEHOLDER */
.ph {
  background: var(--sand-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  width: 100%;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

/* Ausgleich für fixed header */
body { padding-top: var(--nav-h); }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }

.nav {
  display: flex; align-items: center;
  height: var(--nav-h); gap: 0;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
}

/* Logo */
.nav-logo { flex-shrink: 0; margin-right: auto; display: flex; align-items: center; }
.nav-logo img {
  height: 75px;   /* Header-Logo: prägnant und gut sichtbar */
  width: auto;
  display: block;
}

/* Links */
.nav-links-desktop {
  display: flex; align-items: center; gap: 2px;
  margin: 0 24px;
}

/* Backdrop hinter dem Menü */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 497;
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}
.nav-backdrop.open {
  display: block;
  opacity: 1;
}

/* Mobile nav-menu */
.nav-menu {
  display: block;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  width: 100vw;
  background: var(--white);
  padding: 0;
  margin: 0;
  z-index: 498;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.nav-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

@media (min-width: 1025px) {
  .nav-menu { display: none !important; }
}

.nav-link, .nav-drop-btn {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  font-size: 0.88rem; font-weight: 500; color: var(--black);
  background: none; border: none; cursor: pointer;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.nav-link:hover, .nav-drop-btn:hover { background: var(--sand); color: var(--red); }
.nav-link.active, .nav-drop-btn.active { color: var(--red); }

.nav-chevron { transition: transform 0.22s var(--ease); flex-shrink: 0; }
.has-drop.open .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.has-drop { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
  min-width: 200px;
  padding: 6px;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.has-drop.open .dropdown {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.dropdown a {
  display: block; padding: 10px 14px;
  font-size: 0.88rem; color: var(--black);
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--sand); color: var(--red); }

/* Tel + Hamburger */
.nav-tel {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.88rem; font-weight: 700; color: var(--red);
  white-space: nowrap; flex-shrink: 0;
  padding: 8px 14px;
  border: 1.5px solid var(--red);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.nav-tel:hover { background: var(--red); color: #fff; }
.nav-tel svg { flex-shrink: 0; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: 12px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--black);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}
/* X wenn offen */
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero-logo {
  height: 130px;   /* großer Blickfang – HIER SIND SIE BEI A&OHR */
  width: auto;
  max-width: 100%;
  margin-bottom: 36px;
  display: block;
  margin-left: 0;  /* linksbündig am Text */
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-h));
  overflow: hidden;
}

.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start;   /* alles linksbündig, auch das Logo */
  padding: clamp(48px, 8vw, 96px) clamp(32px, 6vw, 80px);
  background: var(--sand);
}

.hero-kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: 32px;
}
.hero-kicker-dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; flex-shrink: 0; }
.hero-kicker-text { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.hero-h1 {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 800;
  color: var(--black);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 44px;
  max-width: 420px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-img { position: relative; overflow: hidden; }

.hero-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.hero-img:hover img { transform: scale(1.03); }
.hero-img .ph { height: 100%; min-height: 480px; }

.hero-badge {
  position: absolute; bottom: 28px; left: 28px;
  background: var(--white);
  padding: 18px 24px;
  border-left: 4px solid var(--red);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.hero-badge b { display: block; font-size: 2rem; font-weight: 800; color: var(--black); line-height: 1; }
.hero-badge span { font-size: 0.78rem; color: var(--muted); margin-top: 4px; display: block; }

/* ============================================================
   INDIVIDUELL
   ============================================================ */
.individuell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.individuell-img { position: relative; overflow: hidden; }
.individuell-img img { width: 100%; height: 100%; object-fit: cover; }
.individuell-img .ph { height: 100%; min-height: 480px; }

.individuell-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 7vw, 96px) clamp(32px, 6vw, 80px);
  background: var(--white);
}
.individuell-h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 24px;
}
.individuell-text {
  font-size: 1rem; line-height: 1.85; color: var(--muted);
}
.individuell-text p { margin-bottom: 14px; }
.individuell-text strong { color: var(--black); }

.tick-list { margin-top: 28px; }
.tick-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.95rem; font-weight: 500; color: var(--black);
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.tick-list li:first-child { border-top: 1px solid var(--line); }
.tick-list li::before {
  content: '';
  width: 6px; height: 6px; min-width: 6px;
  background: var(--red); border-radius: 50%;
  margin-top: 7px; flex-shrink: 0;
}

/* ============================================================
   HÖRSYSTEME
   ============================================================ */
.produkt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}
.produkt-card {
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease);
  display: block; color: inherit;
}
.produkt-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); z-index: 1; position: relative; }
.produkt-card img, .produkt-card .ph { width: 100%; height: 210px; object-fit: contain; background: #fff; }
.produkt-body { padding: 28px; }
.produkt-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.produkt-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.65; margin-bottom: 14px; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  margin-top: 2px;
}
.feature-item {
  background: var(--sand);
  padding: 36px;
}
.f-icon {
  width: 44px; height: 44px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.f-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.feature-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-item p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.leistung-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.leistung-card {
  background: var(--white);
  padding: 36px 30px;
  border-top: 3px solid var(--red);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.leistung-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.l-icon {
  width: 48px; height: 48px;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.l-icon svg { width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.leistung-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.leistung-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   GEHÖRSCHUTZ
   ============================================================ */
.schutz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}
.schutz-card {
  background: var(--white);
  display: block; color: inherit;

  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative;
  z-index: 0;
}
.schutz-card:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,0.13);
  transform: translateY(-6px);
  z-index: 1;
}
.schutz-img,
.schutz-card picture,
.schutz-card picture img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.schutz-body { padding: 28px 32px 36px; }
.schutz-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--red);
  border: 1.5px solid var(--red);
  padding: 3px 9px; margin-bottom: 14px;
}
.schutz-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.schutz-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ============================================================
   STANDORTE
   ============================================================ */
.standorte-wrap { background: var(--black); padding: 96px 0; }
.standorte-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.standorte-top {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; gap: 24px;
}
.standorte-h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800; color: #fff; letter-spacing: -0.02em;
}
.standorte-hint { text-align: right; }
.standorte-hint p { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin-bottom: 6px; }
.standorte-hint a { font-size: 1.2rem; font-weight: 800; color: var(--red); }

.standorte-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: #2a2a28;
}
.standort-card { background: #242422; padding: 40px; }
.standort-name { font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.standort-addr { font-size: 0.9rem; color: rgba(255,255,255,0.4); line-height: 1.6; margin-bottom: 28px; }

.zeiten { margin-bottom: 28px; }
.zeiten-row {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 0.9rem; padding: 10px 0;
  border-bottom: 1px solid #333330;
  color: rgba(255,255,255,0.7);
}
.zeiten-row:last-child { border: none; }
.zeiten-row dt { font-weight: 600; flex-shrink: 0; }
.zeiten-row dd { color: rgba(255,255,255,0.45); text-align: right; }

.standort-tel {
  display: block; font-size: 1.4rem; font-weight: 800;
  color: var(--red); margin-bottom: 20px;
  transition: opacity 0.18s;
}
.standort-tel:hover { opacity: 0.75; }

.btn-map {
  display: block; width: 100%; text-align: center;
  background: var(--red); color: #fff;
  font-size: 0.95rem; font-weight: 600; padding: 14px;
  margin-bottom: 18px;
  transition: opacity 0.2s;
}
.btn-map:hover { opacity: 0.85; }
.standort-iframe { width: 100%; height: 230px; border: none; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--white); border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.footer-copy { font-size: 0.82rem; color: var(--muted); }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  font-size: 0.82rem; color: var(--muted);
  transition: color 0.18s;
}
.footer-nav a:hover { color: var(--black); }

/* ============================================================
   UNTERSEITEN
   ============================================================ */
.page-hero {
  background: var(--sand);
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--line);
}
.page-h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800; color: var(--black); letter-spacing: -0.03em;
  margin-bottom: 18px; max-width: 680px;
}
.page-intro {
  font-size: 1.05rem; color: var(--muted);
  line-height: 1.8; max-width: 540px;
}

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-flip { direction: rtl; }
.split-flip > * { direction: ltr; }
.split-img { display: flex; align-items: stretch; }
.split-img img {
  width: 100%;
  height: auto;
  min-height: 360px;
  object-fit: contain;
  background: #fff;
  display: block;
}
.split-img .ph {
  width: 100%;
  min-height: 400px;
  background: #fff;
}

/* Check List */
.check-list { margin-top: 24px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--black);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.check-list li:first-child { border-top: 1px solid var(--line); }
.check-list li::before {
  content: '';
  width: 6px; height: 6px; min-width: 6px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.body-copy p { font-size: 1rem; line-height: 1.85; color: var(--muted); margin-bottom: 16px; }
.body-copy p:last-child { margin-bottom: 0; }
.body-copy strong { color: var(--black); font-weight: 600; }

.block-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800; color: var(--black);
  letter-spacing: -0.02em; margin-bottom: 20px;
}

/* Werte */
.werte-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); }
.wert { background: var(--white); padding: 32px 26px; }
.wert-n { font-size: 2.2rem; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: 14px; }
.wert h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.wert p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* Jobs */
.jobs-stack { display: flex; flex-direction: column; gap: 2px; background: var(--line); }
.job {
  background: var(--white); padding: 26px 30px;
  border-left: 4px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.job:hover, .job.featured { border-left-color: var(--red); background: var(--sand); }
.job h3 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.job p { font-size: 0.85rem; color: var(--muted); }

/* Referenzen */
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.ref-card { background: var(--sand); padding: 32px; }
.ref-card p { font-size: 0.95rem; color: var(--black); line-height: 1.75; font-style: italic; margin-bottom: 18px; }
.ref-card footer { font-size: 0.8rem; color: var(--muted); font-weight: 600; }

/* Leistungen Unterseite */
.leistung-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.leistung-full {
  background: var(--white); padding: 34px 30px;
  display: flex; gap: 22px; align-items: flex-start;
  border-top: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.leistung-full:hover { border-top-color: var(--red); background: var(--sand); }
.lf-icon { width: 46px; height: 46px; min-width: 46px; background: var(--sand); display: flex; align-items: center; justify-content: center; }
.lf-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.5; }
.lf-body h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.lf-body p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* Hersteller */
.hersteller-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
.hersteller-card {
  background: var(--white); padding: 34px 30px;
  border-top: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.hersteller-card:hover { border-top-color: var(--red); background: var(--sand); }
.hersteller-logo-text { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; color: #ccc; margin-bottom: 18px; text-transform: uppercase; }
.hersteller-card img { height: 32px; width: auto; object-fit: contain; margin-bottom: 18px; }
.hersteller-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }

/* CTA Block */
.cta-block { text-align: center; max-width: 620px; margin: 0 auto; }
.cta-block .block-title { margin-bottom: 18px; }
.cta-block p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 36px; }

/* ============================================================
   RESPONSIVE
   Breakpoints:
   – Tablet:  max-width 1024px  (iPad landscape, kleine Laptops)
   – Mobile:  max-width 768px   (iPad portrait, große Phones)
   – Small:   max-width 480px   (iPhone, Android Phones)
   ============================================================ */

/* ------ TABLET: ≤ 1024px ------ */
@media (max-width: 1024px) {

  /* Nav-Logo Tablet: etwas kleiner, Nav schmaler */
  :root { --nav-h: 80px; }
  .nav-logo img { height: 58px; }

  /* Navigation: Hamburger ab Tablet */
  .nav-menu {
    display: block;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    width: 100vw;
    height: auto;
    background: var(--white);
    padding: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  }
  .nav-menu.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }
  .nav-links-desktop { display: none; }
  .hamburger { display: flex; }

  /* Nav Links volle Breite, sauber */
  .nav-link, .nav-drop-btn {
    font-size: 1.05rem;
    font-weight: 500;
    padding: 16px 24px;
    width: 100%;
    min-height: 52px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
  }
  .nav-menu > li:last-child > .nav-link,
  .nav-menu > li:last-child > .nav-drop-btn { border-bottom: none; }
  .nav-link:hover, .nav-drop-btn:hover {
    background: var(--sand);
  }

  /* Dropdowns im mobilen Menü: smooth mit max-height */
  .has-drop .dropdown {
    position: static;
    opacity: 1; pointer-events: all; transform: none;
    box-shadow: none; border: none;
    border-bottom: 1px solid var(--line);
    background: var(--sand);
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s var(--ease);
    display: block;  /* always in DOM, controlled by max-height */
  }
  .has-drop.open .dropdown { max-height: 300px; }

  .dropdown a {
    padding: 14px 24px 14px 36px;
    font-size: 0.95rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--warm-mid);
  }
  .dropdown a:last-child { border-bottom: none; }
  .dropdown a:hover { background: var(--warm-mid); }

  /* Hero: Bild oben, Text unten */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }
  .hero-img { order: -1; }
  .hero-img img,
  .hero-img .ph { min-height: 380px; height: 380px; }
  .hero-img img { object-position: center bottom; }
  .hero-text {
    padding: 48px 32px 56px;
  }
  .hero-logo { height: 90px; margin-bottom: 28px; }
  .hero-h1 { font-size: clamp(36px, 6vw, 52px); }

  /* Individuell: Bild oben, Text unten */
  .individuell {
    grid-template-columns: 1fr;
  }
  .individuell-img { order: -1; }
  .individuell-img img,
  .individuell-img .ph { min-height: 340px; height: 340px; }
  .individuell-body { padding: 48px 32px; }

  /* Splits: einspaltig */
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-flip { direction: ltr; }
  .split-img img,
  .split-img .ph { max-height: 360px; object-fit: cover; }

  /* Grids: auf Tablet 3-spaltig behalten wo möglich */
  .produkt-grid { grid-template-columns: repeat(3, 1fr); }
  .produkt-card img, .produkt-card .ph { height: 160px; }
  .feature-row { grid-template-columns: 1fr 1fr; }
  .leistung-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .schutz-grid { grid-template-columns: repeat(3, 1fr); }
  .schutz-img { height: 200px; }
  .standorte-grid { grid-template-columns: 1fr; gap: 2px; }
  .werte-grid { grid-template-columns: 1fr 1fr; }
  .ref-grid { grid-template-columns: 1fr 1fr; }
  .leistung-full-grid { grid-template-columns: 1fr; }
  .hersteller-grid { grid-template-columns: 1fr 1fr; }

  /* Standorte Header */
  .standorte-top { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Sections etwas kompakter */
  .section { padding: 72px 0; }
  .standorte-wrap { padding: 72px 0; }
  .page-hero { padding: 64px 0 56px; }
}

/* ------ MOBILE: ≤ 768px ------ */
@media (max-width: 768px) {
  :root { --pad: 20px; --nav-h: 68px; }
  html { font-size: 16px; }

  /* Nav-Logo Mobile */
  .nav-logo img { height: 46px; }

  /* Nav: Telefonnummer kürzen */
  .nav-tel span { display: none; } /* nur Icon zeigen wenn sehr eng */

  /* Hero */
  .hero-img img,
  .hero-img .ph { min-height: 300px; height: 300px; }
  .hero-text { padding: 40px 20px 48px; text-align: center; align-items: center; }
  .hero-logo { height: 80px; margin-bottom: 24px; }
  .hero-kicker { justify-content: center; }
  .hero-h1 { font-size: clamp(32px, 8vw, 46px); line-height: 1.05; }
  .hero-sub { font-size: 0.95rem; text-align: center; }
  .hero-btns { flex-direction: column; gap: 10px; align-items: stretch; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; min-height: 52px; font-size: 1rem; text-align: center; }
  .hero-badge { padding: 14px 18px; }
  .hero-badge b { font-size: 1.5rem; }

  /* Individuell */
  .individuell-img img,
  .individuell-img .ph { min-height: 260px; height: 260px; }
  .individuell-body { padding: 40px 20px; }
  .individuell-h2 { font-size: clamp(26px, 6vw, 36px); }

  /* Grids: alles 1-spaltig */
  .produkt-grid { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .leistung-grid { grid-template-columns: 1fr; gap: 14px; }
  .schutz-grid { grid-template-columns: 1fr; }
  .werte-grid { grid-template-columns: 1fr 1fr; } /* 2er bleibt auf 768 noch okay */
  .ref-grid { grid-template-columns: 1fr; }
  .hersteller-grid { grid-template-columns: 1fr 1fr; }

  /* Leistung Cards: kein Transform-Hover auf Touch */
  .leistung-card:hover { transform: none; box-shadow: none; }

  /* Standort */
  .standort-card { padding: 32px 20px; }
  .standort-name { font-size: 1.2rem; }
  .standort-tel { font-size: 1.15rem; }
  .zeiten-row { font-size: 0.85rem; }

  /* Sections */
  .section { padding: 56px 0; }
  .standorte-wrap { padding: 56px 0; }
  .page-hero { padding: 48px 0 40px; }
  .page-h1 { font-size: clamp(28px, 7vw, 42px); }
  .block-title { font-size: clamp(24px, 6vw, 34px); }
  .standorte-h2 { font-size: clamp(26px, 6vw, 36px); }

  /* Unterseiten Split */
  .split { gap: 28px; }
  .split-img .ph { height: 260px; min-height: 260px; }

  /* Werte / Jobs */
  .wert { padding: 24px 20px; }
  .job { padding: 20px; }
  .ref-card { padding: 24px 20px; }

  /* Feature items */
  .feature-item { padding: 28px 24px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-nav { gap: 16px; }
}

/* ------ SMALL MOBILE: ≤ 480px ------ */
@media (max-width: 480px) {
  html { font-size: 15px; }

  /* Nav-Logo klein aber lesbar */
  :root { --nav-h: 60px; }
  .nav-logo img { height: 36px; }

  /* Nav Tel: komplett verstecken, steht ja im Hero */
  .nav-tel { display: none; }

  .hero-img img,
  .hero-img .ph { height: 240px; min-height: 240px; }
  .hero-h1 { font-size: 30px; letter-spacing: -0.02em; }
  .hero-kicker-text { font-size: 0.68rem; }

  /* Badge: rechts unten, kleiner – weg vom Gesicht */
  .hero-badge {
    left: auto;
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
  }
  .hero-badge b { font-size: 1.2rem; }
  .hero-badge span { font-size: 0.7rem; }

  .werte-grid { grid-template-columns: 1fr; }
  .hersteller-grid { grid-template-columns: 1fr; }

  /* Produkt-Cards: Bild etwas kleiner */
  .produkt-card img,
  .produkt-card .ph { height: 180px; }

  /* Standort Iframe kleiner */
  .standort-iframe { height: 200px; }

  /* Schutz Cards */
  .schutz-body { padding: 20px; }

  /* Page Hero */
  .page-h1 { font-size: 26px; letter-spacing: -0.01em; }
  .page-intro { font-size: 0.95rem; }
}

/* ------ REDUCED MOTION ------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ------ TOUCH: Hover-Effekte nur auf Geräten die es unterstützen ------ */
@media (hover: none) {
  .leistung-card:hover { transform: none; box-shadow: none; }
  .produkt-card:hover { box-shadow: none; }
  .hero-img:hover img { transform: none; }
  .schutz-card:hover { box-shadow: none; transform: none; }
  .schutz-card:hover .schutz-img { transform: none; }
  .job:hover { border-left-color: transparent; background: var(--white); }
  .hersteller-card:hover { border-top-color: transparent; background: var(--white); }
  .leistung-full:hover { border-top-color: transparent; background: var(--white); }
}
/* ============================================================
   JOBS SEITE
   ============================================================ */
.jobs-grid { display: flex; flex-direction: column; gap: 2px; background: var(--line); }

.job-card-full {
  background: var(--white);
  padding: 40px 48px;
}
.job-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.job-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); border: 1.5px solid var(--line);
  padding: 3px 10px; margin-bottom: 10px;
}
.job-tag-ausbildung { color: #1a6b3c; border-color: #1a6b3c; }
.job-title {
  font-size: 1.25rem; font-weight: 800;
  color: var(--black); margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.job-meta { font-size: 0.82rem; color: var(--muted); font-weight: 400; }
.job-btn { flex-shrink: 0; width: auto !important; min-height: auto !important; }
.job-desc {
  font-size: 0.92rem; color: var(--muted);
  line-height: 1.75; margin: 20px 0 20px;
}
.job-benefits {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
}
.job-benefits li {
  font-size: 0.85rem; color: var(--black);
  font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.job-benefits li::before {
  content: '';
  width: 5px; height: 5px; min-width: 5px;
  background: var(--red); border-radius: 50%;
  flex-shrink: 0;
}

/* Standorte Jobs */
.standorte-jobs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.standort-job-name { font-size: 1.2rem; font-weight: 800; color: var(--black); margin-bottom: 4px; }
.standort-job-addr { font-size: 0.88rem; color: var(--muted); margin-bottom: 16px; }
.standort-map { width: 100%; height: 260px; border: none; display: block; }

/* CTA Block */
.cta-block { text-align: center; max-width: 620px; margin: 0 auto; }
.cta-block .block-title { margin-bottom: 16px; }
.cta-block p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 32px; }

/* Responsive Jobs */
@media (max-width: 768px) {
  /* Seitentitel zentrieren */
  .page-hero .page-h1,
  .page-hero .page-intro,
  .page-hero .eyebrow { text-align: center; max-width: 100%; }

  .job-card-full { padding: 28px 20px; text-align: center; }
  .job-card-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .job-tag { display: block; margin: 0 auto 10px; }
  .job-title, .job-meta, .job-desc { text-align: center; }
  .job-btn { width: 100% !important; justify-content: center; }
  .job-benefits {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .job-benefits li { justify-content: center; }
  .standorte-jobs-grid { grid-template-columns: 1fr; gap: 32px; }
  .standort-job-name, .standort-job-addr { text-align: center; }
  .standort-map { display: block; margin: 0 auto; }

  /* Section-Überschriften auf Jobs-Seite zentrieren */
  .jobs-grid ~ * .block-title,
  .section .eyebrow,
  .section .block-title { text-align: center; }
  .werte-grid { text-align: center; }
  .cta-block { text-align: center; }
}

/* ============================================================
   CALL MODAL
   ============================================================ */
.call-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 26, 0.55);
  z-index: 900;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.call-modal-backdrop.open { display: block; opacity: 1; }

.call-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -48%) scale(0.97);
  z-index: 901;
  background: var(--white);
  width: min(480px, 90vw);
  padding: 48px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18);
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.call-modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.call-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--muted); line-height: 1;
  transition: color 0.18s;
}
.call-modal-close:hover { color: var(--black); }
.call-modal-eyebrow {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.call-modal-title {
  font-size: 1.3rem; font-weight: 700;
  color: var(--black); margin-bottom: 28px;
}
.call-modal-locations { display: flex; flex-direction: column; gap: 2px; }
.call-modal-location { background: var(--sand); padding: 20px 24px; }
.call-modal-location-name {
  font-size: 0.78rem; font-weight: 600;
  color: var(--muted); letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 6px;
}
.call-modal-number {
  font-size: 1.4rem; font-weight: 800;
  color: var(--black); text-decoration: none; display: block;
  transition: color 0.18s;
}
.call-modal-number:hover { color: var(--red); }
.call-modal-hint {
  font-size: 0.8rem; color: var(--muted);
  margin-top: 24px; text-align: center; line-height: 1.6;
}

@media (max-width: 768px) {
  .call-modal-backdrop, .call-modal { display: none !important; }
}


/* ============================================================
   SOZIALES & SPONSORING
   ============================================================ */
.soziales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}


.soziales-card {
  background: var(--white);
  display: block;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative; z-index: 0;
}
.soziales-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  z-index: 1;
}
.soziales-img {
  width: 100%; height: 220px;
  overflow: hidden; background: #ffffff;
}
.soziales-img img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
  padding: 16px;
}
.soziales-card:hover .soziales-img img { transform: none; }
.soziales-ph { height: 220px; }

/* 5 Karten: erste Reihe 3, zweite Reihe 2 zentriert */
.soziales-grid-referenzen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}
.soziales-grid-referenzen .soziales-card:nth-child(4) {
  grid-column: 1;
}
.soziales-grid-referenzen::after {
  content: '';
  background: var(--white);
}
.soziales-card-body { padding: 28px 30px 36px; }
.soziales-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red); border: 1.5px solid var(--red);
  padding: 3px 10px; margin-bottom: 14px;
}
.soziales-tag-ref {
  color: var(--muted);
  border-color: var(--line);
}
.soziales-title {
  font-size: 1.05rem; font-weight: 800;
  color: var(--black); letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.soziales-text {
  font-size: 0.88rem; color: var(--muted);
  line-height: 1.75;
}

/* 2-Spalten Grid für zweite Referenzen-Reihe */
.soziales-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: calc(66.666% + 1px);
}

/* Cover-Variante für Bilder die als Foto gut aussehen */
.soziales-img-cover img {
  object-fit: cover;
  padding: 0;
}

@media (max-width: 1024px) {
  .soziales-grid,
  .soziales-grid-2 {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    background: var(--line);
  }
  .soziales-grid .soziales-card,
  .soziales-grid-2 .soziales-card {
    flex: 1 1 calc(50% - 1px);
    min-width: 280px;
    box-sizing: border-box;
  }
  .soziales-grid-2 { max-width: 100%; margin-top: 2px; }
}
@media (max-width: 768px) {
  .soziales-grid .soziales-card,
  .soziales-grid-2 .soziales-card {
    flex: 1 1 100%;
  }
  .soziales-card-body { padding: 24px 20px; }
  .soziales-img { height: 200px; }
  /* Tablet odd-child fix aufheben */
  .soziales-grid .soziales-card:last-child:nth-child(odd) {
    grid-column: unset;
    max-width: 100%;
  }
}
/* ============================================================
   LEISTUNGEN SEITE
   ============================================================ */

/* Filter Tabs */
.leistung-tabs {
  display: flex;
  gap: 2px;
  background: var(--line);
  margin-bottom: 2px;
  flex-wrap: wrap;
}
.leistung-tab {
  background: var(--sand);
  border: none;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  white-space: nowrap;
}
.leistung-tab:hover { background: var(--white); color: var(--black); }
.leistung-tab.active { background: var(--white); color: var(--red); }

/* Karten Grid */
.leistung-cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  background: var(--line);
}
.leistung-karte {
  background: var(--white);
  padding: 36px 32px;
  border-top: 3px solid transparent;
  flex: 1 1 calc(33.333% - 2px);
  min-width: 260px;
  transition: border-color 0.2s, background 0.2s;
}
.leistung-karte:hover {
  border-top-color: var(--red);
  background: var(--sand);
}
.leistung-karte.hidden { display: none; }
.lk-icon {
  width: 48px; height: 48px;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.leistung-karte:hover .lk-icon { background: var(--white); }
.lk-icon svg {
  width: 24px; height: 24px;
  stroke: var(--red);
}
.lk-cat {
  display: block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.lk-title {
  font-size: 1.05rem; font-weight: 800;
  color: var(--black); margin-bottom: 12px;
  letter-spacing: -0.01em; line-height: 1.3;
}
.lk-text {
  font-size: 0.88rem; color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .leistung-cards-grid { gap: 2px; }
  .leistung-karte { flex: 1 1 calc(50% - 2px); min-width: 240px; }
}
@media (max-width: 768px) {
  .leistung-tabs { gap: 1px; }
  .leistung-tab { padding: 12px 16px; font-size: 0.82rem; flex: 1 1 auto; text-align: center; }
  .leistung-karte { flex: 1 1 100%; padding: 28px 20px; }
}

/* ============================================================
   HERSTELLER SEITE
   ============================================================ */
.hersteller-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--line);
}
.hersteller-logo-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  position: relative; z-index: 0;
}
.hersteller-logo-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  z-index: 1;
}
.hersteller-logo-wrap {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  padding: 40px 48px;
  border-bottom: 1px solid var(--line);
}
.hersteller-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.hersteller-logo-ph {
  font-size: 0.72rem; color: var(--muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center;
}
.hersteller-logo-body {
  padding: 28px 32px 36px;
  flex: 1;
}
.hersteller-name {
  font-size: 1.15rem; font-weight: 800;
  color: var(--black); letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.hersteller-desc {
  font-size: 0.9rem; color: var(--muted);
  line-height: 1.75; margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hersteller-logo-grid { grid-template-columns: 1fr; }
  .hersteller-logo-wrap { height: 160px; padding: 28px 32px; }
  .hersteller-logo-body { padding: 24px 20px 28px; }
}

/* ============================================================
   LEGAL SEITEN (Impressum / Datenschutz)
   ============================================================ */
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--black); margin: 40px 0 12px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.legal-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content p {
  font-size: 0.95rem; color: var(--muted);
  line-height: 1.85; margin-bottom: 14px;
}
.legal-content a { color: var(--red); text-decoration: underline; }
.legal-content a:hover { opacity: 0.8; }
.legal-content strong { color: var(--black); font-weight: 600; }