/* ================================================================
   SCHREINEREI GELING – main.css
   Architektur : BEM + CSS Custom Properties + Mobile First
   Breakpoints : md ≥ 768px  |  lg ≥ 1024px
   ================================================================ */

/* ----------------------------------------------------------------
   1. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Brand */
  --color-primary:      #a75003;
  --color-primary-dark: #8a4002;
  --color-nav:          #2d1a0e;
  --color-nav-dark:     #1a0f06;
  --color-wood-dark:    #100806;
  --color-border:       #e8ddd4;
  --color-bg:           #fdf9f4;

  /* Text */
  --color-text:         #333;
  --color-on-dark:      rgba(255, 255, 255, 0.82);
  --color-on-dark-muted:rgba(255, 255, 255, 0.65);

  /* Typography */
  --font-base:    Arial, sans-serif;
  --fz-base:      16px;
  --lh-base:      1.4;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  2rem;
  --sp-xl:  3rem;
  --sp-2xl: 4.5rem;

  /* Layout */
  --max-w:     1440px;
  --content-w: 1024px;
  --radius:    4px;
  --radius-md: 6px;

  /* Motion */
  --t-fast: 0.15s ease;
  --t-mid:  0.28s ease;
}

/* ----------------------------------------------------------------
   2. RESET / NORMALIZE
   ---------------------------------------------------------------- */
html {
  box-sizing: border-box;
  font-family: var(--font-base);
  font-size: var(--fz-base);
  line-height: var(--lh-base);
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-bg);
  color: var(--color-text);
}
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-base);
  font-size: var(--fz-base);
  font-weight: 400;
  line-height: var(--lh-base);
  background-color: var(--color-bg);
}

/* HTML5 block elements */
article, aside, details, figcaption, figure, footer,
header, hgroup, main, menu, nav, section, summary { display: block; }

audio, canvas, progress, video { display: inline-block; vertical-align: baseline; }
audio:not([controls]) { display: none; height: 0; }
[hidden], template { display: none; }

a { background-color: transparent; }
a:active, a:hover { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
dfn { font-style: italic; }
mark { background: #ff0; color: #000; }
small { font-size: 100%; }
sub, sup { font-size: 100%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
img { border: 0; max-width: 100%; height: auto; }
svg:not(:root) { overflow: hidden; }
figure { margin: 1em 40px; }
hr { box-sizing: content-box; height: 0; }
pre { overflow: auto; }
code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }

/* Forms */
button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; }
button { overflow: visible; }
button, select { text-transform: uppercase; }
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] { -webkit-appearance: button; cursor: pointer; }
button[disabled], html input[disabled] { cursor: default; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
input { line-height: normal; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { height: auto; }
input[type="search"] { -webkit-appearance: textfield; box-sizing: content-box; }
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
legend { border: 0; padding: 0; }
textarea { overflow: auto; }
optgroup { font-weight: bold; }
table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 0; }

/* Clearfix */
section::after { content: ""; display: table; clear: both; }

/* ----------------------------------------------------------------
   3. HEADINGS
   ---------------------------------------------------------------- */
h1 { font-size: 2em; margin: 0.67em 0; }
h3 { font-size: 3.375rem; font-weight: bold; margin: 0; color: var(--color-primary); }
i  { font-size: 2em; }

/* ----------------------------------------------------------------
   4. LAYOUT
   ---------------------------------------------------------------- */
main {
  margin: 0 auto;
  max-width: var(--max-w);
  min-width: 0;
  padding-bottom: var(--sp-md);
}

section {
  position: relative;
  margin: 4rem auto;
  max-width: var(--content-w);
  padding: 0 1rem;
}

/* Column — base: stacked (mobile) */
.col {
  position: relative;
  width: 100%;
}
.col img { width: 100%; }
.col .center { text-align: center; }
.col--spaced { padding-top: 2.5rem; padding-bottom: 2.5rem; }

/* Global links inside main */
main a:link,
main a:visited { color: var(--color-primary); text-decoration: none; }
main a:hover,
main a:active  { color: #000; text-decoration: none; }

/* ----------------------------------------------------------------
   5. SKIP NAV (Accessibility)
   ---------------------------------------------------------------- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.45rem 1.1rem;
  z-index: 9999;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 0 0 3px 3px;
}
.skip-nav:focus { top: 0; }

/* ----------------------------------------------------------------
   6. TOPBAR — Mobile: hidden
   ---------------------------------------------------------------- */
.topbar { display: none; }

/* ----------------------------------------------------------------
   7. HERO — Mobile base
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 9rem;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Hero background images with WebP via image-set() on index.html page */
.hero__slide#a {
  background-image: url("../pic/schreinerei-geling-header-01.jpg");
  background-image: -webkit-image-set(
    url("../pic/schreinerei-geling-header-01.webp") 1x,
    url("../pic/schreinerei-geling-header-01.jpg")  1x
  );
  background-image: image-set(
    url("../pic/schreinerei-geling-header-01.webp") type("image/webp"),
    url("../pic/schreinerei-geling-header-01.jpg")  type("image/jpeg")
  );
}
.hero__slide#b {
  background-image: url("../pic/schreinerei-geling-header-02.jpg");
  background-image: -webkit-image-set(
    url("../pic/schreinerei-geling-header-02.webp") 1x,
    url("../pic/schreinerei-geling-header-02.jpg")  1x
  );
  background-image: image-set(
    url("../pic/schreinerei-geling-header-02.webp") type("image/webp"),
    url("../pic/schreinerei-geling-header-02.jpg")  type("image/jpeg")
  );
}
.hero__slide#c {
  background-image: url("../pic/schreinerei-geling-header-03.jpg");
  background-image: -webkit-image-set(
    url("../pic/schreinerei-geling-header-03.webp") 1x,
    url("../pic/schreinerei-geling-header-03.jpg")  1x
  );
  background-image: image-set(
    url("../pic/schreinerei-geling-header-03.webp") type("image/webp"),
    url("../pic/schreinerei-geling-header-03.jpg")  type("image/jpeg")
  );
}
.hero__slide#d { background-image: url("../pic/schreinerei-geling-header-04.jpg"); }
.hero__slide#e { background-image: url("../pic/schreinerei-geling-header-05.jpg"); }
.hero__slide#f { background-image: url("../pic/schreinerei-geling-header-06.jpg"); }
.hero__slide#g { background-image: url("../pic/schreinerei-geling-header-07.jpg"); }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.18) 50%,
    rgba(0, 0, 0, 0.48) 100%
  );
}

/* Mobile: compact inner layout */
.hero__inner {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 9rem;
}

.hero__logo            { display: block; flex-shrink: 0; }
.hero__logo img        { width: 75px; height: auto; display: block; filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); margin: 0; }
.hero__text            { flex: 1; text-align: center; }
.hero__sub             { display: none; color: var(--color-on-dark); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; margin: 0; }

header h1 {
  display: block;
  color: #fff;
  font-size: clamp(0.75rem, 4.1vw, 1.5rem);
  font-weight: 700;
  text-transform: none;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0,0,0,.65);
  margin: 0 0 0.4rem;
  padding: 0;
  position: static;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
header a.none {
  display: inline;
  font-size: inherit;
  color: inherit;
  margin: 0;
  text-decoration: none;
}
header a.none:hover,
header a.none:focus { color: #fff; }

.jubilaeums-badge     { flex-shrink: 0; filter: drop-shadow(0 4px 14px rgba(0,0,0,.6)); }
.jubilaeums-badge svg { width: 80px; height: 80px; }

/* ----------------------------------------------------------------
   8. NAVIGATION BAR — Mobile: hamburger overlay
   ---------------------------------------------------------------- */
.nav-bar {
  background: var(--color-nav);
  border-top: 3px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
}

.nav-bar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 0.75rem;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

/* Desktop nav links — hidden on mobile */
.nav-bar__inner nav {
  display: none;
  align-items: stretch;
  margin: 0;
  padding: 0;
  text-align: left;
  position: static;
}

.nav-bar__inner nav > a {
  display: inline-flex;
  align-items: center;
  color: var(--color-on-dark);
  font-size: 0.88rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.85rem 0.9rem;
  margin: 0;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.nav-bar__inner nav > a:hover,
.nav-bar__inner nav > a:focus,
.nav-bar__inner nav > a.active {
  color: #fff;
  border-bottom-color: var(--color-primary);
  background: rgba(255,255,255,.07);
  outline: none;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-flex;
  align-items: stretch;
}
.dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  color: var(--color-on-dark);
  font-family: var(--font-base);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.dropdown__toggle::after { content: "▾"; font-size: 0.75rem; line-height: 1; margin-left: 0.2rem; }
.dropdown__toggle:hover,
.dropdown__toggle:focus,
.dropdown:hover .dropdown__toggle,
.dropdown:focus-within .dropdown__toggle {
  color: #fff;
  border-bottom-color: var(--color-primary);
  background: rgba(255,255,255,.07);
  outline: none;
}

.dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 215px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  z-index: 300;
  padding: 0.25rem 0;
  border-top: 2px solid var(--color-primary);
}
.dropdown__menu a {
  display: block;
  color: #333;
  padding: 0.58rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid #f0e8e0;
  text-decoration: none;
  margin: 0;
  white-space: nowrap;
  transition: color 0.12s, background 0.12s;
}
.dropdown__menu a:last-child { border-bottom: none; }
.dropdown__menu a:hover,
.dropdown__menu a:focus { color: var(--color-primary); background: #fdf5ef; outline: none; }
.dropdown:hover .dropdown__menu,
.dropdown:focus-within .dropdown__menu { display: block; }

/* Mobile nav actions (phone + hamburger) */
.nav-bar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0.35rem 0;
  width: 100%;
  justify-content: flex-start;
  position: relative;
  z-index: 600;
}

/* CTA button pushed to right via margin-left auto on hamburger */
.nav-bar__actions .hamburger { margin-left: auto; }

.nav-bar__cta {
  display: inline-flex;
  align-items: center;
  background: var(--color-primary);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0 0.9rem;
  height: 38px;
  border-radius: 3px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: background var(--t-fast);
}
.nav-bar__cta:hover,
.nav-bar__cta:focus { background: var(--color-primary-dark) !important; color: #fff !important; text-decoration: none !important; }

/* Under 350px: CTA becomes a round email icon */
@media (max-width: 349px) {
  .nav-bar__cta {
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    letter-spacing: 0;
    justify-content: center;
  }
  .nav-bar__cta::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E") center/contain no-repeat;
  }
}

.nav-bar__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.nav-bar__phone:hover,
.nav-bar__phone:focus {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.65);
  color: #fff;
  outline: 2px solid rgba(255,255,255,.4);
  outline-offset: 2px;
}
.nav-bar__phone svg { flex-shrink: 0; }

.nav-bar__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #25d366;
  border: 1px solid #25d366;
  border-radius: 50%;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.nav-bar__whatsapp:hover,
.nav-bar__whatsapp:focus {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  outline: 2px solid rgba(37,211,102,.4);
  outline-offset: 2px;
}
.nav-bar__whatsapp svg { flex-shrink: 0; }

.btn--whatsapp {
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1.75rem;
  border-radius: 3px;
  white-space: nowrap;
  transition: background var(--t-fast);
}
.btn--whatsapp:hover,
.btn--whatsapp:focus { background: #1da851; color: #fff !important; text-decoration: none !important; }
.btn--whatsapp svg { flex-shrink: 0; }

/* ----------------------------------------------------------------
   9. HAMBURGER
   ---------------------------------------------------------------- */
.hamburger {
  display: flex;
  background: none;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 3px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,.85);
  transition: transform var(--t-mid), opacity var(--t-mid);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen nav overlay */
.nav-bar__inner nav.nav-open {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.97);
  z-index: 500;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  overflow-y: auto;
}

/* Hide icons + CTA when overlay is open (z-index 600 > overlay 500, so use visibility) */
.nav-open-active .nav-bar__whatsapp,
.nav-open-active .nav-bar__phone,
.nav-open-active .nav-bar__cta { visibility: hidden; pointer-events: none; opacity: 0; }

.nav-bar__inner nav.nav-open > a {
  display: block;
  color: var(--color-primary);
  font-size: 1.3rem;
  padding: 0.55rem 2rem;
  border-bottom: none;
  width: 100%;
  justify-content: center;
}
.nav-bar__inner nav.nav-open > a:hover { background: #fdf5ef; }

/* Leistungen Dropdown im Overlay: Accordion */
.nav-bar__inner nav.nav-open .dropdown {
  display: block;
  width: 100%;
}
.nav-bar__inner nav.nav-open .dropdown__toggle {
  color: var(--color-primary);
  font-size: 1.3rem;
  padding: 0.55rem 2rem;
  width: 100%;
  justify-content: center;
  border-bottom: none;
  background: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-bar__inner nav.nav-open .dropdown__toggle::after {
  content: '▾';
  font-size: 0.9rem;
  transition: transform var(--t-fast);
  display: inline-block;
}
.nav-bar__inner nav.nav-open .dropdown.mob-open > .dropdown__toggle::after {
  transform: rotate(180deg);
}

/* Submenu collapsed by default in overlay, expanded via JS */
.nav-bar__inner nav.nav-open .dropdown__menu {
  display: none;
  position: static;
  box-shadow: none;
  border-top: none;
  background: rgba(167,80,3,0.05);
  padding: 0.25rem 0;
  min-width: 0;
  border-radius: 4px;
  margin: 0 1rem 0.25rem;
}
.nav-bar__inner nav.nav-open .dropdown.mob-open > .dropdown__menu {
  display: block;
}
.nav-bar__inner nav.nav-open .dropdown__menu a {
  font-size: 1rem;
  color: var(--color-primary);
  border-bottom: none;
  text-align: center;
  padding: 0.45rem 1rem;
  background: transparent;
  display: block;
}
.nav-bar__inner nav.nav-open .dropdown__menu a:hover { background: #fdf5ef; }

/* Disable desktop hover-open inside overlay */
.nav-bar__inner nav.nav-open .dropdown:hover > .dropdown__menu,
.nav-bar__inner nav.nav-open .dropdown:focus-within > .dropdown__menu {
  display: none;
}
.nav-bar__inner nav.nav-open .dropdown.mob-open > .dropdown__menu {
  display: block;
}

/* ----------------------------------------------------------------
   10. INDEX HERO — full-bleed picture with <picture> + WebP
   ---------------------------------------------------------------- */
.index-hero {
  position: relative;
  width: 100vw;
  max-width: none;
  margin: 0;
  margin-left: calc(50% - 50vw);
  padding: 0;
  background-color: var(--color-wood-dark);
  overflow: hidden;
}
.index-hero picture {
  display: block;
  max-width: var(--max-w);
  margin: 0 auto;
  line-height: 0;
}
.index-hero picture img {
  width: 100%;
  height: clamp(420px, 60vw, 820px);
  object-fit: cover;
  object-position: left top;
  display: block;
  margin: 0;
}
.index-hero--center picture img {
  object-position: center top;
}
/* Edge fade — left/right */
.index-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--color-wood-dark) 0%, transparent 60px),
    linear-gradient(to left,  var(--color-wood-dark) 0%, transparent 220px);
}
/* Bottom fade to white content */
.index-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  z-index: 1;
  background: linear-gradient(to bottom, transparent, var(--color-bg));
  pointer-events: none;
}

/* ----------------------------------------------------------------
   11. PAGE-SPECIFIC SECTIONS
   ---------------------------------------------------------------- */
.ueber-uns h3,
.kontakt h3           { color: #000; font-size: 1.2rem; }
.ueber-uns h3.color,
.kontakt h3.color     { color: var(--color-primary); }
.ueber-uns .center h3 { font-size: 2rem; text-align: center; margin-bottom: 1rem; }
.ueber-uns .center h3.inline { font-size: 1.2rem; }
.ueber-uns p,
.kontakt p            { font-size: 1.2rem; }

.impressum h3         { color: #000; font-size: 1.2rem; margin-bottom: 1.2rem; }
.impressum p          { font-size: 1.2rem; margin-top: 0; }
.impressum p.top      { margin-top: 4.7em; }

.kontakt,
.impressum            { width: 100%; max-width: 960px; }

.kontakt  a,
.impressum a          { color: var(--color-primary); text-decoration: none; outline: none; }
.kontakt  a:link,  .kontakt  a:visited,
.impressum a:link, .impressum a:visited { color: var(--color-primary); text-decoration: none; outline: none; }
.kontakt  a:hover,  .kontakt  a:active,
.impressum a:hover, .impressum a:active { color: #000; text-decoration: none; outline: none; }

.kontakt  a.small,
.impressum a.small    { font-size: 1rem; }
.kontakt  a.small:link,  .kontakt  a.small:visited,
.impressum a.small:link, .impressum a.small:visited { color: #000; }
.kontakt  a.small:hover,  .kontakt  a.small:active,
.impressum a.small:hover, .impressum a.small:active { color: var(--color-primary); }

.kontakt  a.black:link,  .kontakt  a.black:visited,
.impressum a.black:link, .impressum a.black:visited { color: #000; }
.kontakt  a.black:hover,  .kontakt  a.black:active,
.impressum a.black:hover, .impressum a.black:active { color: var(--color-primary); }

/* ----------------------------------------------------------------
   12. GALLERY
   ---------------------------------------------------------------- */
.gallery           { margin: 1rem auto 0; }
.gallery img       { width: 100%; height: auto; margin-bottom: 0; }
.gallery .col--half { padding-right: 0.5rem; }
.gallery .col      { padding-right: 0.5rem; }
.gallery .hidden   { display: none; }
.gallery .unhidden { display: block; }

/* Filter tabs — mobile: wrapping */
.gallery-filter    { display: block; margin-bottom: 0; text-transform: lowercase; white-space: normal; line-height: 2; padding: 0 0.5rem; }
.gallery-filter a  { display: inline-block; font-size: 0.9rem; padding-left: 0.5rem; }
.gallery-filter a:link,
.gallery-filter a:visited                      { text-decoration: none; color: var(--color-primary); }
.gallery-filter a:hover,
.gallery-filter a:active,
.gallery-filter a.active                       { text-decoration: none; color: #000; }

/* ----------------------------------------------------------------
   13. SERVICES GRID — Mobile: 1 column
   ---------------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  width: 100%;
  clear: both;
  margin: 1.25rem 0;
}

.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: 0 0 5px 5px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 2px 10px rgba(45,26,14,.07);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover        { box-shadow: 0 7px 26px rgba(45,26,14,.13); transform: translateY(-4px); }
.service-card h3           { color: var(--color-primary); font-size: 1.2rem; margin: 0 0 0.85rem; }
.service-card p            { font-size: 1.05rem; color: #444; line-height: 1.6; margin: 0 0 1rem; }
.service-card p:last-child { margin-bottom: 0; margin-top: auto; }

/* 3-Spalten-Modifier für Übersichtsseiten mit vielen Cards */
.services--3col { grid-template-columns: 1fr; }

/* Verbandssiegel im Footer (dynamisch generiert, immer aktuell) */
.footer__siegel {
  display: inline-block;
  margin-top: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.22s ease;
}
.footer__siegel:hover { opacity: 1; }
.footer__siegel img {
  display: block;
  max-width: 90px;
  height: auto;
}

/* ----------------------------------------------------------------
   14. CTA BOX
   ---------------------------------------------------------------- */
.cta       { max-width: 680px; margin: 0 auto 1.5rem; text-align: left; padding: 0; }
.cta p     { font-size: 1.15rem; line-height: 1.6; }
.cta ul    { margin: 1rem 0 0; padding-left: 1.4rem; list-style: none; }
.cta ul li { font-size: 1.1rem; padding: 0.25rem 0 0.25rem 1.4rem; position: relative; }
.cta ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--color-primary); font-weight: bold; }

/* ----------------------------------------------------------------
   14a. VIZ SHOWCASE — Foto-realistische 3D-Visualisierung (USP)
   ---------------------------------------------------------------- */
.viz-showcase {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-bottom: 0;
  padding: 3.5rem 1.25rem 2.5rem;
  background:
    radial-gradient(circle at 18% 12%, rgba(167,80,3,0.06), transparent 55%),
    radial-gradient(circle at 82% 88%, rgba(26,15,6,0.05), transparent 55%),
    var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.viz-showcase__inner { max-width: 1100px; margin: 0 auto; }
.viz-showcase__header { text-align: center; margin-bottom: 2rem; }
.viz-showcase__eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-weight: 700;
  margin: 0 0 0.8rem;
}
.viz-showcase__title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-nav-dark);
  line-height: 1.3;
  margin: 0 0 0.9rem;
  letter-spacing: -0.01em;
}
.viz-showcase__sub {
  font-size: 1.02rem;
  color: #5a4633;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto;
}
.viz-showcase__pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.25rem 0 1.5rem;
  width: 100%;
  clear: both;
}
.viz-showcase__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 22px rgba(45,26,14,0.10);
  overflow: hidden;
  margin: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.viz-showcase__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(45,26,14,0.16);
}
.viz-showcase__label {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  background: rgba(26,15,6,0.93);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.5rem 0.95rem;
  border-left: 3px solid var(--color-primary);
}
.viz-showcase__label--alt {
  background: var(--color-primary);
  border-left-color: rgba(255,255,255,0.4);
}
.viz-showcase__img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.viz-showcase__caption {
  font-size: 0.88rem;
  color: #5a4633;
  text-align: center;
  padding: 0.85rem 1rem;
  background: #fff;
  border-top: 1px solid var(--color-border);
  font-style: italic;
}
.viz-showcase__cta { text-align: center; margin-top: 1.25rem; }

/* Mobile: vertical down-arrow between the two cards so "before → after" reads */
.viz-showcase__pair { position: relative; }
.viz-showcase__pair::before {
  content: "↓";
  position: absolute;
  top: calc(50% - 0.75rem);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.25rem;
  line-height: 38px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(167,80,3,0.4);
  pointer-events: none;
}
@media (min-width: 768px) {
  .viz-showcase { padding: 4.5rem 1.5rem 3rem; }
  .viz-showcase__title { font-size: 2rem; }
  .viz-showcase__sub { font-size: 1.1rem; }
  .viz-showcase__pair { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .viz-showcase__pair::before {
    content: "→";
    top: 50%;
    width: 44px; height: 44px;
    font-size: 1.4rem;
    line-height: 44px;
  }
}
@media (min-width: 1024px) {
  .viz-showcase { padding: 5.5rem 1.5rem 3.5rem; }
  .viz-showcase__title { font-size: 2.35rem; }
}

/* ----------------------------------------------------------------
   14a-bis. SECTION DIVIDER — Ornamental craft seam between
   the warm-cream Vertrauensbereich (viz-showcase ↔ swiss-trust)
   and the transition into the dark Anfrage-CTA.
   Pattern: three ✦ in primary orange, flanked by fading hairlines.
   Lives on the same cream surface so it visually links the
   sections above/below instead of stacking borders.
   ---------------------------------------------------------------- */
.section-divider {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background:
    radial-gradient(circle at 50% 50%, rgba(167,80,3,0.04), transparent 55%),
    var(--color-bg);
}
.section-divider__rule {
  display: block;
  height: 1px;
  width: 56px;
  flex-shrink: 0;
}
.section-divider__rule:first-child {
  background: linear-gradient(90deg, transparent, var(--color-border));
}
.section-divider__rule:last-child {
  background: linear-gradient(90deg, var(--color-border), transparent);
}
.section-divider__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--color-primary);
  font-size: 0.9rem;
  line-height: 1;
}
.section-divider__mark > span:nth-child(odd) {
  opacity: 0.55;
  font-size: 0.78rem;
}
/* Closing variant — sits before the dark Anfrage section.
   Adds a soft bottom-fade so the cream surface fades cleanly
   into the dark CTA rather than ending on a hard border. */
.section-divider--close {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(167,80,3,0.05), transparent 60%),
    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg) 60%, rgba(45,26,14,0.05) 100%);
}
@media (min-width: 768px) {
  .section-divider { padding: 1.75rem 1.5rem; gap: 1.1rem; }
  .section-divider__rule { width: 110px; }
  .section-divider__mark { font-size: 1rem; gap: 0.85rem; }
  .section-divider--close { padding-top: 2.5rem; padding-bottom: 2.5rem; }
}
@media (min-width: 1024px) {
  .section-divider__rule { width: 160px; }
}

/* ----------------------------------------------------------------
   14b. SWISS TRUST BAR — offizielle Zulassung in der Schweiz
   Visually paired with .viz-showcase via shared cream surface and
   a .section-divider between them (no inline borders → no seam).
   ---------------------------------------------------------------- */
.swiss-trust {
  width: 100vw;
  max-width: none;
  margin: 0 0 0 calc(50% - 50vw);
  padding: 2.5rem 1.25rem 3.5rem;
  background:
    radial-gradient(circle at 78% 22%, rgba(213,43,30,0.05), transparent 55%),
    radial-gradient(circle at 12% 82%, rgba(167,80,3,0.04), transparent 55%),
    var(--color-bg);
}
.swiss-trust__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: 0 6px 22px rgba(45,26,14,0.07);
}
.swiss-trust__flag {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: var(--radius);
  box-shadow: 0 3px 14px rgba(213,43,30,0.22);
}
.swiss-trust__content { display: flex; flex-direction: column; gap: 0.4rem; align-items: center; }
.swiss-trust__pretitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  font-weight: 700;
  margin: 0;
}
.swiss-trust__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-nav-dark);
  margin: 0;
  line-height: 1.35;
}
.swiss-trust__sub {
  font-size: 0.95rem;
  color: #5a4633;
  margin: 0.15rem 0 0;
  line-height: 1.6;
}
.swiss-trust__link {
  font-size: 0.92rem;
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.35rem;
}
.swiss-trust__link:hover { color: var(--color-primary-dark); text-decoration: underline; }
@media (min-width: 768px) {
  .swiss-trust { padding: 3rem 1.5rem 4rem; }
  .swiss-trust__inner {
    flex-direction: row;
    text-align: left;
    gap: 1.75rem;
    padding: 2rem 2.25rem;
  }
  .swiss-trust__content { align-items: flex-start; gap: 0.3rem; }
  .swiss-trust__link { margin-top: 0.4rem; }
  .swiss-trust__title { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .swiss-trust { padding: 3.5rem 1.5rem 4.5rem; }
}

/* ----------------------------------------------------------------
   15. ANFRAGE SECTION — Mobile: stacked
   ---------------------------------------------------------------- */
.anfrage {
  width: 100vw;
  max-width: none;
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  padding: 3rem 0;
  background: var(--color-nav-dark);
  position: relative;
}

.anfrage__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.anfrage__content    { flex: none; width: 100%; color: rgba(255,255,255,.9); }
.anfrage__pretitle   { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-primary); font-weight: 700; margin: 0 0 0.9rem; }
.anfrage__content h2 { color: #fff; font-size: 1.7rem; font-weight: 700; margin: 0 0 1rem; line-height: 1.25; text-align: left; }
.anfrage__lead       { font-size: 1rem; line-height: 1.65; color: rgba(255,255,255,.7); margin: 0 0 2rem; }

.anfrage__trust      { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.anfrage__trust li   { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.97rem; color: rgba(255,255,255,.82); line-height: 1.5; }
.anfrage__trust li::before { content: "\2713"; color: var(--color-primary); font-weight: 700; font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }

.anfrage__form-wrap  { flex: 1; min-width: 0; width: 100%; }

/* ----------------------------------------------------------------
   16. FORM
   ---------------------------------------------------------------- */
.form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

/* Form inside .anfrage gets elevated styling */
.anfrage .form {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 12px 48px rgba(0,0,0,.45);
  border: none;
  max-width: none;
  margin: 0;
  border-top: 3px solid var(--color-primary);
}

.form__intro {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f0e8e0;
}

/* Mobile: form rows stack */
.form__row   { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.form__field { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.form label  { font-size: 0.875rem; font-weight: 600; color: #444; margin-bottom: 0.3rem; text-transform: none; letter-spacing: normal; }

.form input[type=text],
.form input[type=email],
.form input[type=tel],
.form select,
.form textarea {
  font-family: var(--font-base);
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  background: #fff;
  color: #333;
  transition: border-color var(--t-fast);
  text-transform: none;
  width: 100%;
}
.form input:focus,
.form select:focus,
.form textarea:focus { border-color: var(--color-primary); outline: none; box-shadow: 0 0 0 3px rgba(167,80,3,.1); }
.form textarea       { resize: vertical; min-height: 130px; }

.form__submit { justify-content: center; margin-top: 0.5rem; }

.form button[type=submit] {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-base);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background var(--t-fast);
  width: 100%;
}
.form button[type=submit]:hover  { background: var(--color-primary-dark); }
.form button[type=submit]:disabled {
  background: #aaa;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Spam-Schutz Fehlermeldung */
.form__spam-error {
  display: none;
  background: #fff4f4;
  border: 1px solid #e55;
  border-left: 4px solid #e55;
  border-radius: var(--radius);
  color: #c00;
  font-size: 0.9rem;
  padding: 0.65rem 0.9rem;
  margin-bottom: 0.5rem;
}

/* ── Pflichtfeld-Stern (automatisch per CSS, kein * im HTML) ──────── */
.form__field:has(input:required) > label::after,
.form__field:has(select:required) > label::after,
.form__field:has(textarea:required) > label::after {
  content: ' *';
  color: var(--color-primary);
  font-weight: 700;
}

/* ── Inline-Feldfehler ───────────────────────────────────────────── */
.form__field-error {
  display: none;
  align-items: flex-start;
  gap: 0.3em;
  font-size: 0.8rem;
  color: #c00;
  margin-top: 0.3rem;
  line-height: 1.35;
}
.form__field-error::before {
  content: '⚠';
  flex-shrink: 0;
  line-height: 1.2;
}
/* Zeige span sobald JS einen Fehlertext gesetzt hat */
.form__field-error:not(:empty) { display: flex; }

/* ── Validierungszustände (:user-invalid / :user-valid) ──────────── */
/* Nach Nutzerinteraktion: ungültig → roter Rahmen */
.form input:user-invalid,
.form select:user-invalid,
.form textarea:user-invalid {
  border-color: #e55;
  background-color: #fff9f9;
  box-shadow: none;
}
/* Focus überschreibt Fehlerrahmen */
.form input:user-invalid:focus,
.form select:user-invalid:focus,
.form textarea:user-invalid:focus {
  border-color: var(--color-primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(167,80,3,.1);
}
/* Pflichtfeld korrekt ausgefüllt → grüner Rahmen */
.form input[required]:user-valid,
.form select[required]:user-valid,
.form textarea[required]:user-valid {
  border-color: #2a9d58;
}

/* ----------------------------------------------------------------
   17. BUTTON
   ---------------------------------------------------------------- */
a.btn,
a.btn:link,
a.btn:visited {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 0.7rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-base);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background var(--t-fast);
  cursor: pointer;
}
a.btn:hover,
a.btn:active { background: var(--color-primary-dark); color: #fff; text-decoration: none; }

/* ----------------------------------------------------------------
   18. FOOTER — Mobile: stacked
   ---------------------------------------------------------------- */
footer {
  width: 100%;
  background-color: var(--color-nav);
  border-top: 3px solid var(--color-primary);
  padding: 0;
}

.footer__wrap  { max-width: var(--max-w); margin: 0 auto; padding: 1.75rem 1rem 0; }

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.footer__col          { flex: 1; min-width: 0; text-align: center; }
.footer__col-title    { display: block; font-size: 0.72rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.9rem; }
.footer__col-title--second { margin-top: 1rem; }
.footer__col address  { font-style: normal; color: var(--color-on-dark); font-size: 0.88rem; line-height: 1.7; margin: 0 0 0.5rem; }
.footer__col p        { margin: 0.3rem 0; font-size: 0.88rem; }
.footer__col ul       { list-style: none; margin: 0; padding: 0; }
.footer__col ul li    { margin-bottom: 0.32rem; }

.footer__social       { display: flex; gap: 0.55rem; margin-top: 0.9rem; justify-content: center; }
.footer__social a     { display: inline-flex !important; align-items: center; justify-content: center; width: 32px; height: 32px; font-size: 0.95rem; margin: 0 !important; transition: background var(--t-fast), border-color var(--t-fast); }
.footer__social a:hover,
.footer__social a:active { background: rgba(255,255,255,.2) !important; border-color: rgba(255,255,255,.65) !important; text-decoration: none !important; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
  padding: 0.75rem 0 1rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,.68);
}

.footer__legal { display: flex; justify-content: center; gap: 1.25rem; }

footer a               { display: inline; font-size: 0.88rem; color: var(--color-on-dark); text-transform: none; margin: 0; }
footer a:link,
footer a:visited       { color: var(--color-on-dark); text-decoration: none; outline: none; }
footer a:hover,
footer a:active        { color: #fff; text-decoration: underline; outline: none; }
footer .footer__bottom a:link,
footer .footer__bottom a:visited { color: rgba(255,255,255,.68); }
footer .footer__bottom a:hover,
footer .footer__bottom a:active  { color: #fff; text-decoration: underline; }

/* ----------------------------------------------------------------
   19. FOUNDER PROFILE
   ---------------------------------------------------------------- */
.founder {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  padding: 4.5rem 0 5rem;
  background-color: var(--color-bg);
  /* Subtile diagonale Textur – evoziert Holzmaserung */
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 38px,
    rgba(167, 80, 3, 0.028) 38px,
    rgba(167, 80, 3, 0.028) 39px
  );
  position: relative;
  overflow: visible;
}

/* Atmosphärischer Radial-Glow oben rechts */
.founder::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(ellipse at top right, rgba(167, 80, 3, 0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.founder__inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* --- Foto-Seite --- */
.founder__visual {
  position: relative;
  width: 100%;
  max-width: 300px;
  flex-shrink: 0;
}

.founder__photo {
  position: relative;
  border-left: 4px solid var(--color-primary);
  box-shadow:
    14px 18px 52px rgba(45, 26, 14, 0.24),
    0 2px 8px rgba(45, 26, 14, 0.08);
  overflow: hidden;
  line-height: 0;
  background: var(--color-nav);
}
.founder__photo picture { display: block; line-height: 0; }
.founder__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.founder__photo:hover img { transform: scale(1.02); }

/* Rundes Credential-Badge – überlappt Foto-Ecke */
.founder__badge {
  position: absolute;
  bottom: -1.1rem;
  right: -1.1rem;
  background: var(--color-nav);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 3px solid var(--color-primary);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.38);
  padding: 0.4rem;
  line-height: 1.1;
}
.founder__badge-since  { font-size: 0.52rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,.55); display: block; }
.founder__badge-year   { font-size: 1.45rem; font-weight: 700; color: var(--color-primary); display: block; line-height: 1; }
.founder__badge-label  { font-size: 0.41rem; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,.5); display: block; margin-top: 0.1rem; }

/* --- Text-Seite --- */
.founder__content { flex: 1; width: 100%; min-width: 0; }

.founder__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  margin: 0 0 0.9rem;
}
.founder__eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.founder__name {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-nav);
  margin: 0 0 0.3rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.founder__role {
  font-size: 0.9rem;
  color: rgba(45, 26, 14, 0.58);
  margin: 0 0 1.75rem;
  letter-spacing: 0.06em;
}

/* Bio mit orange Akzentstreifen links */
.founder__bio {
  padding-left: 1.1rem;
  border-left: 3px solid rgba(167, 80, 3, 0.2);
  margin-bottom: 1.75rem;
}
.founder__bio p {
  font-size: 1rem;
  line-height: 1.82;
  color: rgba(45, 26, 14, 0.76);
  margin: 0 0 0.8rem;
}
.founder__bio p:last-child { margin-bottom: 0; }

/* Credential-Pills */
.founder__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.founder__cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.founder__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(45, 26, 14, 0.06);
  color: var(--color-nav);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
  border: 1px solid rgba(45, 26, 14, 0.13);
}
.founder__pill::before { content: '✦'; font-size: 0.5rem; color: var(--color-primary); }

/* ================================================================
   RESPONSIVE — TABLET  ≥ 768px
   ================================================================ */
@media (min-width: 768px) {

  /* Topbar: visible */
  .topbar { display: block; background: var(--color-primary); width: 100%; }
  .topbar__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0.38rem 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
  }
  .topbar a             { display: inline-flex; align-items: center; gap: 0.32rem; color: rgba(255,255,255,.9) !important; font-size: 0.8rem; font-weight: 400; text-decoration: none; margin: 0 !important; transition: color var(--t-fast); }
  .topbar a:hover,
  .topbar a:focus        { color: #fff !important; text-decoration: underline; }
  .topbar__hours        { color: var(--color-on-dark-muted); font-size: 0.8rem; }
  .topbar__cta,
  .topbar a.topbar__cta { background: #fff; color: var(--color-primary) !important; font-weight: 700 !important; font-size: 0.8rem !important; padding: 0.3rem 0.85rem; border-radius: 3px; white-space: nowrap; transition: background var(--t-fast); }
  .topbar__cta:hover,
  .topbar__cta:focus,
  .topbar a.topbar__cta:hover,
  .topbar a.topbar__cta:focus { background: #fdf0e8 !important; color: var(--color-primary-dark) !important; text-decoration: none !important; }

  /* Topbar mail: hidden until desktop */
  .topbar__mail { display: none; }

  /* Hero: tablet size */
  .hero            { min-height: 14rem; }
  .hero__inner     { min-height: 14rem; padding: 1.5rem 4%; gap: 1.25rem; }
  .hero__logo img  { width: 150px; }
  header h1        { font-size: 1.75rem; text-align: center; }
  .hero__sub       { display: block; }
  .jubilaeums-badge svg { width: 120px; height: 120px; }

  /* Nav: show links, hide mobile actions */
  .nav-bar__inner        { padding: 0 4%; }
  .nav-bar__inner nav    { display: flex; }
  .nav-bar__actions      { display: none; }

  /* Column */
  .col      { float: left; }
  .col--half { width: 50%; }

  /* Services: 2 columns */
  .services { grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 2rem 0; }
  .services--3col { grid-template-columns: 1fr 1fr; }

  /* Anfrage: side by side */
  .anfrage         { padding: 4.5rem 0; }
  .anfrage__inner  { flex-direction: row; gap: 2.5rem; padding: 0 1.5rem; }
  .anfrage__content { flex: 0 0 38%; width: auto; min-width: 0; }
  .anfrage__form-wrap { width: auto; min-width: 0; }

  /* Form rows: side by side */
  .anfrage .form   { padding: 1.75rem 1.75rem 1.5rem; }
  .form__row       { flex-direction: row; gap: 1.25rem; }
  .form button[type=submit] { width: auto; padding: 0.8rem 3rem; }

  /* Gallery filter */
  .gallery-filter  { white-space: nowrap; padding: 0; }
  .gallery-filter a { font-size: 1.2rem; padding-left: 1.5rem; }

  /* Founder: side by side, Tablet */
  .founder__inner   { flex-direction: row; align-items: flex-start; padding: 0 1.5rem; gap: 2.5rem; }
  .founder__visual  { max-width: 260px; flex-shrink: 0; }
  .founder__content { padding-left: 1.25rem; border-left: 1px solid rgba(167, 80, 3, 0.16); width: auto; }
  .founder__name    { font-size: 2.6rem; }

  /* Buttons: inline on tablet+ */
  a.btn, a.btn:link, a.btn:visited { display: inline-block; width: auto; }
  .btn--whatsapp { display: inline-flex; width: auto; }

  /* Footer: 2×2 grid */
  .footer__wrap  { padding: 2rem 1.5rem 0; }
  .footer__inner { flex-direction: row; flex-wrap: wrap; gap: 1.75rem; padding-bottom: 2rem; }
  .footer__col   { flex: 1 1 calc(50% - 0.9rem); min-width: calc(50% - 0.9rem); text-align: left; }
  .footer__social { justify-content: flex-start; }
  .footer__col-title--second { margin-top: 1.6rem; }
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; padding: 0.9rem 0; text-align: left; gap: 0; }
  .footer__legal  { justify-content: flex-start; }

  /* Nav tablet: slightly smaller */
  .nav-bar__inner nav > a,
  .dropdown__toggle { padding: 0.75rem 0.7rem; font-size: 0.82rem; }
}

/* ================================================================
   RESPONSIVE — DESKTOP  ≥ 1024px
   ================================================================ */
@media (min-width: 1024px) {

  /* Topbar mail: show, right-aligned */
  .topbar__mail   { display: inline-flex; }
  .topbar__inner  { justify-content: flex-end; }

  /* Hero: full size */
  .hero            { min-height: 18rem; }
  .hero__inner     { min-height: 18rem; padding: 2rem 5%; gap: 2rem; }
  .hero__logo img  { width: 185px; }
  header h1        { font-size: 2.5rem; }
  .jubilaeums-badge svg { width: 140px; height: 140px; }

  /* Nav: normal padding */
  .nav-bar__inner nav > a,
  .dropdown__toggle { padding: 0.85rem 0.9rem; font-size: 0.88rem; }

  /* Anfrage */
  .anfrage__inner  { gap: 2.5rem; padding: 0 1.5rem; }
  .anfrage__content { flex: 0 0 38%; min-width: 0; }

  /* Founder: Desktop */
  .founder         { padding: 5.5rem 0 6rem; }
  .founder__inner  { max-width: 960px; padding: 0 1.5rem; gap: 3.5rem; }
  .founder__visual { max-width: 320px; flex-shrink: 0; }
  .founder__name   { font-size: 3rem; }

  /* Footer: 4 columns */
  .footer__wrap  { padding: 2.5rem 3rem 0; }
  .footer__inner { flex-wrap: nowrap; gap: 2.5rem; }
  .footer__col   { flex: 1; min-width: 0; }

  /* Services: 3-Spalten-Modifier auf Desktop */
  .services--3col { grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }

  /* Typography */
  h3 { font-size: 3.375rem; }
}

/* ================================================================
   TYPOGRAPHY SCALE — Mobile overrides
   ================================================================ */
@media (max-width: 767px) {
  h3                    { font-size: 2rem; }
  .ueber-uns .center h3 { font-size: 1.5rem; }
  .ueber-uns p,
  .kontakt p,
  .impressum p          { font-size: 1rem; }
  section               { margin: 1.5rem auto; padding: 0 1rem; }
}

/* ================================================================
   REVIEWS — Bewertungsseite
   ================================================================ */

/* Summary-Box */
.reviews__summary { text-align: center; padding: 2.5rem 1rem 2rem; }

.reviews__score-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.reviews__score-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.reviews__score-stars {
  font-size: 1.6rem;
  color: #f5a623;
  letter-spacing: 0.1em;
}

.reviews__score-label {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.reviews__cta { margin-top: 0.5rem; }

/* Karten-Grid */
.reviews__grid {
  columns: 1;
  column-gap: 1.25rem;
  padding: 0 1rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .reviews__grid { columns: 2; }
}

@media (min-width: 1024px) {
  .reviews__grid { columns: 3; }
}

/* Einzelne Karte */
.review-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
  border-top: 3px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: box-shadow 0.2s;
  break-inside: avoid;
  margin-bottom: 1.25rem;
}

.review-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); }

.review-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
}

.review-card__author {
  font-size: 0.9rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-card__date {
  font-size: 0.78rem;
  color: #999;
}

.review-card__text--empty {
  color: #bbb;
  font-style: italic;
}

.review-card__badge { margin-left: auto; flex-shrink: 0; }

.review-card__stars {
  font-size: 1.1rem;
  color: #f5a623;
  letter-spacing: 0.05em;
}

.review-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
  flex: 1;
}

/* Pull-Quote */
.reviews__quote {
  max-width: 820px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.reviews__pull-quote {
  margin: 0;
  padding: 2rem 2.5rem;
  background: var(--color-nav);
  border-left: 4px solid var(--color-primary);
  border-radius: 4px;
  position: relative;
}

.reviews__pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -0.2rem;
  left: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.4;
  font-family: Georgia, serif;
}

.reviews__pull-quote p {
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1rem;
  padding-left: 1rem;
}

.reviews__pull-quote-footer {
  display: block;
  padding-left: 1rem;
  font-size: 0.95rem;
  color: var(--color-on-dark-muted);
}

.reviews__pull-quote-footer strong {
  color: var(--color-primary);
  font-size: 1rem;
}

/* ================================================================
   REVIEWS LAUFBAND — Startseite
   ================================================================ */

.reviews-band {
  background: var(--color-nav);
  padding: 0.9rem 0;
  width: 100%;
  max-width: none;
  margin: 0;
}

.reviews-band__inner {
  max-width: 1040px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* Fade-Masken links/rechts – an den Kanten der 1040px */
.reviews-band__inner::before,
.reviews-band__inner::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.reviews-band__inner::before { left: 0;  background: linear-gradient(to right, var(--color-nav), transparent); }
.reviews-band__inner::after  { right: 0; background: linear-gradient(to left,  var(--color-nav), transparent); }

.reviews-band__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: scrollBand 480s linear infinite;
}

.reviews-band__inner:hover .reviews-band__track { animation-play-state: paused; }

@keyframes scrollBand {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.reviews-band__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2.5rem;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.12);
  font-size: 0.84rem;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.reviews-band__item:hover { opacity: 0.75; }

.reviews-band__stars {
  color: #f5a623;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.reviews-band__text {
  color: rgba(255,255,255,.85);
  font-style: italic;
}

.reviews-band__author {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.8rem;
}
