/* ================= FONTS ================= */
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../assets/fonts/InstrumentSerif-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ================= TOKENS ================= */
:root {
  --cream: #f3eee5;
  --band: #e7e0d3;
  --panel: #ebe4d8;
  --panel-2: #e7e0d3;
  --ink: #1c1a17;
  --ink-soft: #3d3934;
  --muted: #5a534a;
  --wine: #672031;
  --wine-soft: #8a3245;
  --line: rgba(28, 26, 23, 0.14);
  --line-soft: rgba(28, 26, 23, 0.08);
  --radius: 28px;
  --radius-sm: 16px;
  --maxw: 1240px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================= RESET ================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Basis bewusst auf 18px: Zielgruppe 50+. Muss auf <html> stehen, damit
   auch alle rem-Angaben mitskalieren – auf <body> hätte es keine Wirkung. */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 18px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: 0.005em; }
::selection { background: var(--wine); color: #fff; }

/* ================= HEADER ================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(236, 230, 219, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-top: 12px;
  padding-bottom: 12px;
}
.header-logo img { height: 34px; width: auto; opacity: 0; transition: opacity 0.4s var(--ease); }
.site-header.scrolled .header-logo img { opacity: 1; }
/* Navigation erst beim Scrollen zeigen – ganz oben bleibt nur der zentrale Logo-Badge (wie im Design) */
.header-nav, .header-contact {
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease), transform 0.35s var(--ease);
}
.site-header.scrolled .header-nav, .site-header.scrolled .header-contact {
  opacity: 1; visibility: visible; transform: none;
}
.header-nav { display: flex; gap: clamp(20px, 3vw, 40px); }
.header-nav a {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.header-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--wine);
  transform: scaleX(0); transform-origin: right; transition: transform 0.3s var(--ease);
}
.header-nav a:hover { color: var(--wine); }
.header-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-contact { display: inline-flex; align-items: center; gap: 8px; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 10px 22px;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header-cta:hover { background: var(--wine); border-color: var(--wine); color: #fff; }

/* Festnetz: runder Icon-Button, der beim Überfahren die Nummer ausfährt.
   Die Breite wächst über max-width des Labels – ein fester Zielwert wäre
   brüchig, sobald sich Schriftgröße oder Nummer ändert. */
.header-cta-alt {
  display: inline-flex; align-items: center;
  height: 40px; padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
  white-space: nowrap; overflow: hidden;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.header-cta-alt svg { flex: none; }
.header-cta-alt .cta-alt-label {
  display: inline-block;
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  font-size: 0.85rem; letter-spacing: 0.02em;
  transition: max-width 0.45s var(--ease), margin-left 0.45s var(--ease), opacity 0.3s var(--ease);
}
.header-cta-alt:hover,
.header-cta-alt:focus-visible {
  background: var(--wine); border-color: var(--wine); color: #fff;
}
.header-cta-alt:hover .cta-alt-label,
.header-cta-alt:focus-visible .cta-alt-label {
  max-width: 12em;
  margin-left: 8px;
  opacity: 1;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.45)); }
/* Oben über dem Video: helle Striche. Beim Scrollen / geöffnet: dunkel */
.nav-toggle span { width: 26px; height: 2px; background: #f6f1e9; border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background 0.3s var(--ease); }
.site-header.scrolled .nav-toggle { filter: none; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.open { filter: none; }
.nav-toggle.open span { background: var(--ink); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  animation: fadeIn 0.3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; color: var(--ink); padding: 10px 0; }
.mobile-menu .mobile-cta { font-family: var(--sans); font-size: 1.05rem; margin-top: 20px; border: 1px solid var(--ink); border-radius: 100px; padding: 12px 28px; }
.mobile-menu .mobile-cta.is--alt { margin-top: 10px; border-color: var(--line); color: var(--ink-soft); font-size: 0.96rem; padding: 10px 24px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ================= HERO ================= */
.hero {
  --hero-pad: clamp(14px, 2vw, 26px);
  position: relative;
  padding: var(--hero-pad);
  background: transparent;
}
.hero-frame {
  position: relative;
  height: min(94vh, 1040px);
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #241f1b;
  /* Schatten nur nach unten – oben (am Ausschnitt) bleibt er unsichtbar */
  box-shadow: 0 46px 60px -46px rgba(28, 26, 23, 0.55);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* Rechts etwas dunkler, damit Adresse und Nummern auf jedem Videobild lesbar sind */
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,16,13,0) 35%, rgba(20,16,13,0.5) 100%);
  pointer-events: none;
}
.hero-badge {
  position: absolute; top: var(--hero-pad); left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--cream);
  padding: 12px 54px 22px;
  border-radius: 0 0 24px 24px;
  z-index: 5;
}
.hero-badge img { height: clamp(30px, 3.4vw, 44px); width: auto; }
.hero-badge-sub {
  font-family: var(--sans); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase; color: #3f3b37;
  padding-left: 0.34em; margin-top: 3px;
}
.hero-overlay {
  position: absolute; z-index: 3;
  right: clamp(24px, 5vw, 72px);
  top: 50%; transform: translateY(-50%);
  text-align: right;
  max-width: 720px;
  color: #f7f2ea;
  text-shadow: 0 2px 22px rgba(0,0,0,0.45);
}
.hero-address {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 14px;
}
.hero-phones {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  line-height: 1.12;
}
.hero-phones a { transition: color 0.25s var(--ease); white-space: nowrap; }
.hero-phones a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.hero-or { font-family: var(--sans); font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; margin: 2px 0; }

/* Nur für Screenreader und Suchmaschinen sichtbar */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hero-scroll {
  position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 44px; border: 1.5px solid rgba(246,241,233,0.7); border-radius: 40px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero-scroll span { width: 3px; height: 8px; background: rgba(246,241,233,0.9); border-radius: 3px; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ================= MARQUEE ================= */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  margin-top: clamp(10px, 2vw, 22px);
}
.marquee-track {
  display: flex; align-items: center; gap: 44px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-track span { font-family: var(--sans); font-size: clamp(1.05rem, 2vw, 1.45rem); font-weight: 400; letter-spacing: 0.01em; color: var(--ink); white-space: nowrap; }
.marquee-track img { width: 14px; height: 14px; opacity: 0.75; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ================= SECTION HEADINGS ================= */
.eyebrow { font-family: var(--sans); font-size: 0.84rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--wine); margin-bottom: 14px; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; padding: 0 24px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 18px; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 60ch; margin: 0 auto; }

/* ================= EINLEITUNG ================= */
/* Sitzt direkt unter Video und Laufband – bewusst ohne großen Abstand davor */
.intro { padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 56px) 0; }
.intro-text {
  max-width: 50ch; margin: 0 auto; text-align: center;
  font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.05rem); line-height: 1.4;
  color: var(--ink);
}

/* ================= SERVICES ================= */
/* Aufbau wie auf der alten Startseite: Überschrift, Bildergalerie mit den
   Originalfotos (ungeschnitten, gleiche Reihenfolge), darunter die Erklärungen. */
.services { background: transparent; padding: clamp(44px, 6vw, 80px) clamp(20px, 5vw, 56px) clamp(64px, 9vw, 120px); }
.services-list { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(64px, 9vw, 120px); }

.service-head { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(24px, 3.2vw, 42px); }
.service-icon { width: 46px; height: 46px; flex: none; color: #2b2621; }
.service-icon svg { width: 100%; height: 100%; stroke-width: 1.3; }
/* Größe so gewählt, dass auch die längste Überschrift („Möbelrestaurierung von
   Antiquitäten …") am Desktop in eine Zeile passt. Bricht sie auf schmalen
   Bildschirmen doch um, verteilt balance die Zeilen gleichmäßig. */
.service-head h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.6rem, 2.55vw, 2.1rem); line-height: 1.15;
  letter-spacing: 0.005em; color: var(--ink);
  text-wrap: balance;
}

.service-text { margin-top: clamp(26px, 3.5vw, 40px); }
.service-text p { color: var(--muted); font-size: 1.02rem; line-height: 1.7; max-width: 64ch; }
/* Spezifität muss über ".service-text p" liegen, sonst greift der Wert nicht */
.service-text p.service-lead { color: var(--ink-soft); font-size: 1.15rem; line-height: 1.7; max-width: 64ch; }
.service-details {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px clamp(28px, 4vw, 56px);
}
.service-text h3 {
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  letter-spacing: 0.02em; color: var(--ink);
  margin: 26px 0 10px;
}
.service-text ul { list-style: none; margin: 0; padding: 0; }
.service-text li {
  position: relative; padding-left: 22px; margin-bottom: 9px;
  color: var(--muted); font-size: 1.02rem; line-height: 1.6;
}
.service-text li::before {
  content: ""; position: absolute; left: 2px; top: 0.6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--wine);
}

/* ================= BILDERGALERIEN ================= */
/* Originalfotos ungeschnitten. js/gallery.js verteilt sie wie die alte
   Website: jedes Bild in die gerade kürzeste Spalte (3 Spalten, mobil 2).
   Ohne JavaScript greift die CSS-Spaltenvariante darunter. */
.photo-grid { --gap: 14px; }
.photo-grid:not(.is-masonry) { columns: 3; column-gap: var(--gap); }
.photo-grid:not(.is-masonry) .photo { break-inside: avoid; margin-bottom: var(--gap); }
.photo-grid.is-masonry { display: flex; align-items: flex-start; gap: var(--gap); }
.pg-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }

.photo {
  display: block; position: relative;
  border-radius: 12px; overflow: hidden;
  background: #d8d0c2;
  cursor: zoom-in;
  box-shadow: 0 18px 40px -34px rgba(28, 26, 23, 0.6);
}
.photo img { width: 100%; height: auto; display: block; transition: transform 0.5s var(--ease), filter 0.3s var(--ease); }
.photo:hover img { transform: scale(1.025); filter: brightness(1.04); }
.photo:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
/* Sehr kleine Originale nicht unscharf aufblasen (max-width setzt gallery.js).
   width: 100% ist nötig: mit margin auto schrumpft das Element in der
   Flex-Spalte sonst auf Inhaltsbreite – und das Bild darin auf 0. */
.photo[data-max] { width: 100%; background: transparent; box-shadow: none; margin-inline: auto; }

/* Einzelbild (Holzwurm-Plakat) mittig, nicht über die Spalte gestreckt */
.photo-single { display: flex; justify-content: center; }
.photo-single .photo { max-width: min(100%, 680px); width: 100%; }

/* ================= GALERIE ================= */
.gallery { padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 56px); border-top: 1px solid var(--line-soft); }
.gallery-inner { max-width: 1120px; margin: 0 auto; }

/* ================= ALLE LEISTUNGEN ================= */
.services-all { background: var(--panel); padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 56px); }
.services-all-inner { max-width: var(--maxw); margin: 0 auto; }
.services-all .section-head { margin-bottom: clamp(30px, 4vw, 52px); }
.services-all-list {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 clamp(30px, 5vw, 64px);
  max-width: 1040px; margin: 0 auto;
}
.services-all-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 17px 2px;
  border-top: 1px solid var(--line);
  font-size: 1.02rem; line-height: 1.5; color: var(--ink);
}
.services-all-list li svg { flex: none; width: 19px; height: 19px; color: var(--wine); margin-top: 3px; }
.services-all-cta { text-align: center; margin-top: clamp(34px, 5vw, 56px); }
.services-all-cta p { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); margin-bottom: 22px; }
.btn-cta {
  display: inline-block; background: var(--wine); color: #fff;
  border-radius: 100px; padding: 17px 38px; font-size: 1.05rem; letter-spacing: 0.02em;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn-cta:hover { background: var(--wine-soft); transform: translateY(-1px); }

/* ================= ABOUT ================= */
.about { background: transparent; padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 56px); }
.about-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
/* Die beiden Fotos der alten Über-uns-Seite, untereinander und ungeschnitten */
.about-media { display: flex; flex-direction: column; gap: 16px; }
.about-media .photo { border-radius: var(--radius-sm); box-shadow: 0 30px 70px -45px rgba(28,26,23,0.5); }
.about-text h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-bottom: 24px; }
.about-text p { color: var(--muted); margin-bottom: 18px; max-width: 52ch; }
.about-stats { list-style: none; display: flex; gap: clamp(24px, 3vw, 40px); margin-top: 38px; flex-wrap: wrap; }
.about-stats li { display: flex; flex-direction: column; justify-content: flex-end; } /* Labels auf einer Linie, auch wenn eine Zahl zweizeilig ist */
.about-stats strong { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3rem); color: var(--wine); line-height: 1; }
.about-stats span { font-size: 0.92rem; color: var(--muted); margin-top: 8px; letter-spacing: 0.02em; }

/* ================= CONTACT ================= */
.contact { padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 56px); }
.contact-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-info h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-bottom: 20px; }
.contact-info .section-sub { text-align: left; margin: 0 0 40px; }
/* Ein gemeinsames Raster für alle Zeilen: "display: contents" hebt die
   .contact-row-Ebene auf, dadurch teilen sich alle Zeilen dieselbe
   Label-Spalte. Die passt sich per max-content dem längsten Label an –
   eine feste Breite würde bei größerer Schrift wieder überlaufen. */
.contact-rows { display: grid; grid-template-columns: max-content 1fr; column-gap: 24px; }
.contact-row { display: contents; }
.contact-label, .contact-value { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-row:last-child .contact-label,
.contact-row:last-child .contact-value { border-bottom: 1px solid var(--line); }
.contact-label { font-size: 0.86rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-top: 25px; }
.contact-value { font-size: 1.1rem; }
.contact-value a { transition: color 0.25s var(--ease); }
.contact-value a:hover { color: var(--wine); }

.contact-form { position: relative; background: var(--panel); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 3px rgba(103,32,49,0.12); }
.field textarea { resize: vertical; }
.btn-solid {
  width: 100%; font-family: var(--sans); font-size: 1.05rem; letter-spacing: 0.02em; cursor: pointer;
  background: var(--wine); color: #fff; border: none; border-radius: 100px; padding: 16px 30px;
  transition: background 0.3s var(--ease), transform 0.2s var(--ease);
}
.btn-solid:hover { background: var(--wine-soft); transform: translateY(-1px); }
.form-hint { font-size: 0.9rem; color: var(--muted); text-align: center; margin-top: 16px; }
.form-hint a, .form-status a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.btn-solid:disabled { opacity: 0.6; cursor: wait; transform: none; }
/* Honeypot – für Menschen unsichtbar, Bots füllen es aus */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); font-size: 0.95rem; line-height: 1.55; }
.form-status[data-kind="ok"] { background: var(--cream); border: 1px solid var(--line); }
.form-status[data-kind="error"] { background: rgba(103,32,49,0.07); border: 1px solid rgba(103,32,49,0.25); color: var(--ink); }
/* Nach dem Versand nur noch die Bestätigung zeigen */
.contact-form.is-sent .field,
.contact-form.is-sent .btn-solid,
.contact-form.is-sent .form-hint { display: none; }
.contact-form.is-sent .form-status { margin-top: 0; padding: 0; background: none; border: 0; font-size: 1.05rem; }

/* ================= FOOTER ================= */
.site-footer { background: var(--ink); color: #d9d2c7; padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 56px) 40px; }
.footer-top { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand img { height: 40px; width: auto; filter: brightness(0) saturate(100%) invert(85%) sepia(8%) saturate(400%) hue-rotate(350deg); margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; color: #c3bbae; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: #d9d2c7; transition: color 0.25s var(--ease); }
.footer-nav a:hover { color: #fff; }
.footer-legal { max-width: var(--maxw); margin: 40px auto 0; }
.footer-legal h3 { font-size: 1.4rem; margin-bottom: 14px; color: #f0eae0; }
.footer-legal p { font-size: 0.95rem; color: #a89f92; margin-bottom: 14px; line-height: 1.7; }
.footer-legal .disclaimer { max-width: 80ch; }
.footer-legal .copyright { font-size: 0.9rem; margin-top: 24px; margin-bottom: 0; }
.footer-legal a { color: #d9d2c7; text-decoration: underline; text-underline-offset: 2px; transition: color 0.25s var(--ease); }
.footer-legal a:hover { color: #fff; }

/* ================= BILDANSICHT (Lightbox) ================= */
/* Große, deutlich sichtbare Schaltflächen – Zielgruppe 50+ */
.lightbox {
  position: fixed; inset: 0;
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(18, 15, 12, 0.97);
  color: #f6f1e9;
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(18, 15, 12, 0.6); }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; animation: fadeIn 0.25s var(--ease); }
.lb-stage {
  flex: 1 1 auto; min-height: 0; width: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(64px, 8vh, 90px) clamp(16px, 9vw, 120px) 8px;
}
.lb-img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
  border-radius: 6px; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.8);
  user-select: none; -webkit-user-drag: none;
}
.lb-caption {
  flex: none; padding: 10px 20px clamp(18px, 3vh, 28px);
  font-size: 1.05rem; letter-spacing: 0.02em; color: #e9e1d4; text-align: center;
}
.lb-btn {
  position: absolute; z-index: 2;
  width: 60px; height: 60px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(246, 241, 233, 0.14); color: #f6f1e9;
  border: 1px solid rgba(246, 241, 233, 0.35);
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}
.lb-btn:hover { background: var(--wine); border-color: var(--wine); }
.lb-btn:focus-visible { outline: 3px solid #f6f1e9; outline-offset: 3px; }
.lb-prev { left: clamp(10px, 2.5vw, 32px); top: 50%; transform: translateY(-50%); }
.lb-next { right: clamp(10px, 2.5vw, 32px); top: 50%; transform: translateY(-50%); }
.lb-close { top: clamp(12px, 2vh, 22px); right: clamp(12px, 2.5vw, 32px); }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }

/* ================= REVEAL ANIM ================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ================= RESPONSIVE ================= */
@media (max-width: 960px) {
  .header-nav { display: none; }
  /* In der Mobilversion: Logo raus. Telefon-Button erscheint (wie die Leiste)
     erst beim Scrollen – gesteuert über die Basis-Regeln + .scrolled */
  .header-logo { display: none; }
  .header-contact { display: inline-flex; }
  .nav-toggle { display: flex; margin-right: 12px; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .services-all-list { grid-template-columns: 1fr; max-width: 620px; }
  /* Über uns: mobil erst Text, dann Foto */
  .about-text { order: 1; }
  .about-media { order: 2; max-width: 480px; }
  .hero-overlay { left: clamp(20px, 6vw, 40px); right: clamp(20px, 6vw, 40px); text-align: center; max-width: none; }
  .hero-phones { align-items: center; }
  /* Text steht mittig über dem Video – dann gleichmäßig abdunkeln statt nur rechts */
  .hero-frame::after { background: rgba(20, 16, 13, 0.4); }
}
@media (max-width: 600px) {
  /* Logo-Badge wie zuvor: an der Videokante, mittig, als Ausschnitt */
  .header-cta { padding: 9px 16px; font-size: 0.8rem; }
  /* Ohne Hover lässt sich der Festnetz-Button nicht ausfahren – auf kleinen
     Screens stünde nur ein Icon ohne Nummer. Beide Nummern stehen im Burgermenü. */
  .header-cta-alt { display: none; }
  .hero-badge { padding: 10px 22px 15px; border-radius: 0 0 18px 18px; }
  .hero-badge img { height: 29px; }
  .hero-badge-sub { font-size: 0.6rem; letter-spacing: 0.24em; padding-left: 0.24em; margin-top: 3px; }
}
@media (max-width: 560px) {
  /* Mobil untereinander: Label über Wert, Trennlinie nur oberhalb des Labels */
  .contact-rows { grid-template-columns: 1fr; }
  .contact-label { padding: 20px 0 4px; }
  .contact-value { padding: 0 0 20px; border-top: 0; }
  .contact-row:last-child .contact-label { border-bottom: 0; }
  .hero-frame { min-height: 480px; height: 80vh; }
  .marquee-track span { font-size: 1.3rem; }
  /* Statistik-Zahlen kleiner, damit sie in eine Zeile passen */
  .about-stats { gap: clamp(10px, 4vw, 18px); flex-wrap: nowrap; justify-content: space-between; margin-top: 28px; }
  .about-stats li { flex: 0 1 auto; min-width: 0; }
  .about-stats strong { font-size: clamp(1.35rem, 6vw, 1.7rem); }
  .about-stats span { font-size: 0.66rem; margin-top: 4px; }
  .photo-grid { --gap: 10px; }
  .photo-grid:not(.is-masonry) { columns: 2; }
  .photo { border-radius: 10px; }
  .service-icon { width: 38px; height: 38px; }
  .service-head { gap: 12px; align-items: flex-start; }
  /* Handy: Pfeile unten nebeneinander, groß genug für den Daumen */
  .lb-stage { padding: 70px 10px 6px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; width: 58px; height: 58px; }
  .lb-prev { left: 18px; }
  .lb-next { right: 18px; }
  .lb-caption { padding: 12px 86px 30px; font-size: 0.98rem; min-height: 96px; display: flex; align-items: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
