/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 20px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 200;
  padding: 0.35rem 0.75rem;
  background: var(--accent);
  color: var(--surface);
  font-size: 0.75rem;
  font-weight: 600;
}
.skip-link:focus { top: .6rem; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* TYPOGRAPHY */
p strong { font-weight: 600; }

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
}

/* .display em / span — global default (light surfaces) */
.display em   { color: var(--accent); font-style: italic; }
.display span { color: var(--accent); }

/* LAYOUT */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 90;
  background: var(--nav-glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  will-change: background;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  transition: background var(--transition),
              border-color var(--transition),
              box-shadow var(--transition);
}

nav.nav--hero {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

nav.nav--hero.nav--hero-scrolled {
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

nav.nav--hero .nav-links.mobile-open a {
  color: var(--ink);
}
nav.nav--hero .nav-links.mobile-open a:hover {
  color: var(--accent);
}

nav.nav--hero .nav-links.mobile-open .nav-call-btn {
  background: var(--accent-dim);
  color: var(--surface);
  border-color: var(--accent-dim);
}
nav.nav--hero .nav-links.mobile-open .nav-call-btn:hover {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

nav.nav--hero .nav-logo          { color: var(--hero-ink); }
nav.nav--hero .nav-logo span     { color: var(--hero-accent); }
nav.nav--hero .nav-links a       { color: var(--hero-ink-dim); }
nav.nav--hero .nav-links a:hover { color: var(--hero-accent); }

nav.nav--hero .nav-cta {
  border-color: rgba(250, 247, 243, 0.55);
  color: var(--hero-ink);
}
nav.nav--hero .nav-cta:hover,
nav.nav--hero .nav-cta.is-scrolled {
  background: var(--hero-ink);
  color: var(--ink);
  border-color: var(--hero-ink);
}

nav.nav--hero .hamburger span { background: var(--hero-ink); }
.nav-logo-img--hero { display: none; }
nav.nav--hero .nav-logo-img--default { display: none; }
nav.nav--hero .nav-logo-img--hero    { display: block; }

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  line-height: 1;
}

.nav-logo img { height: 1em; width: auto; }

.nav-logo span {
  font-weight: 400;
  text-transform:none;
  margin-left:-0.45rem;
  color: var(--accent-dim);
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  line-height: 1.2;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color var(--transition);
}

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

.nav-cta {
  font-size: 0.75rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--accent-dim);
  color: var(--accent);
  transition: all var(--transition);
}

.nav-cta:hover, .nav-cta.is-scrolled {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: var(--transition);
}

/* ============================================================
   HERO
   Switch theme by adding class to #hero in HTML:
     <section id="hero" class="hero--light">  ← white bg
     <section id="hero" class="hero--dark">   ← dark bg
   ============================================================ */

#hero {
  margin-top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-height) + 1rem);
  padding-bottom: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* --- LIGHT overlay --- */
#hero.hero--light .hero-bg::after {
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.25) 100%
  );
}

/* --- DARK overlay black */
#hero.hero--dark .hero-bg--over img { display: none; }
#hero.hero--dark .hero-bg--over     { background: rgba(0, 0, 0, 0.50); }

.hero-bg--under { z-index: 0; }
.hero-bg--over  { z-index: 1; }

.hero-title-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  margin-bottom: 1.4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-eyebrow {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Eyebrow color set by variant */
.hero-eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  width: 48px;
}
#hero.hero--light .hero-eyebrow::after { background: var(--accent); }
#hero.hero--dark  .hero-eyebrow::after { background: var(--accent-bright); }

/* Eyebrow text color variant */
#hero.hero--light .eyebrow { color: var(--accent); }
#hero.hero--dark  .eyebrow { color: var(--accent-bright); }

/* Hero title color set by variant */
.hero-title {
  font-size: clamp(3.2rem, 7vw, 4.5rem);
  line-height: .9;
  font-weight: 800;
  margin-bottom: 0;
}
#hero.hero--light .hero-title { color: var(--ink-bright); } 
#hero.hero--dark  .hero-title { color: var(--hero-ink); }

/* .display em / span — accent override per variant */
#hero.hero--light .display em,
#hero.hero--light .display span { color: var(--accent); }   
#hero.hero--dark  .display em,
#hero.hero--dark  .display span { color: var(--accent-bright); } 

/* Hero subtitle — color set by variant */
.hero-h1, h1 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
#hero.hero--light .hero-h1, h1 { color: var(--ink-bright); }
#hero.hero--dark  .hero-h1,
#hero.hero--dark  h1 { color: var(--hero-ink-dim); }

.hero-h1 {
  margin-bottom: 2rem;
  max-width: 960px;
}

h1 { display: inline; }

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Global button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: 1px solid var(--ink);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-dim);
  color: var(--surface);
  border-color: var(--accent-dim);
  transform: none; 
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border: 2px solid var(--ink-bright);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--accent-dim);
  color: var(--surface);
  border-color: var(--accent-dim);
}

/* --- LIGHT hero buttons --- */
#hero.hero--light .btn-primary  { background: var(--ink); color: var(--surface); border-color: var(--ink); }
#hero.hero--light .btn-secondary { color: var(--ink-bright); border-color: var(--ink-bright); }

/* --- DARK hero buttons --- */
#hero.hero--dark .btn-primary {
  background: var(--accent-bright);
  color: var(--ink);
  border-color: var(--accent-bright);
}
#hero.hero--dark .btn-primary:hover {
  background: var(--hero-ink);
  color: var(--ink);
  border-color: var(--hero-ink);
}
#hero.hero--dark .btn-secondary {
  color: var(--hero-ink);
  border-color: var(--hero-ink);
}
#hero.hero--dark .btn-secondary:hover {
  background: var(--hero-ink);
  color: var(--ink);
  border-color: var(--hero-ink);
}

/* HERO entrance */
@keyframes hero-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes hero-text {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* HERO bkg-01 faded */
.hero-bg--over {
  opacity: 0;
  animation: hero-fade .7s ease-out 0.7s forwards;
}

/* Text */
.hero-eyebrow   { animation: hero-text 0.7s ease-out 0.25s both; }
.hero-title-row { animation: hero-text 0.7s ease-out 0.5s both; }
.hero-h1        { animation: hero-text 0.7s ease-out 0.75s both; }
.hero-actions   { animation: hero-text 0.7s ease-out 1s both; }

/* STATS BAR */
.stats-bar {
  background: var(--surface-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  line-height: 1.4;
}

.stat-item {
  padding: 1rem 2rem;
  border-right: 1px solid var(--border);
  text-align: center;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.star-icon {
  font-size: 0.45em;
  vertical-align: middle;
  margin-right: 4px;
}

.boost-num {
  display: inline-block;
  font-size: 1.1em;
  margin-top: -3px;
}

.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* LEISTUNGEN — section backgrounds (alternating white / beige) */
#leistungen  { background: var(--surface); }
#fuer-wen    { background: var(--surface-mid); }
#veredelung  { background: var(--surface); }
#faq-section { background: var(--surface); }
#ablauf      { background: var(--surface-mid); }

.section-header {
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3.5rem;
}

#galerie .section-header {
  margin-bottom: 3.5rem;
  grid-template-columns: 1fr 3fr;
  align-items: start;
}

.galerie-desc { overflow-wrap: break-word; }
.galerie-desc + .galerie-desc { margin-top: 0.9em; }

.section-title {
  font-size: clamp(1.7rem, 4.2vw, 2.75rem);
  margin-top: 0.75rem;
}

/* Services grid — shared by #leistungen, #fuer-wen, #veredelung */
#leistungen .services-grid,
#fuer-wen .services-grid,
#veredelung .services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  align-items: stretch;
}

.service-card {
  background: var(--surface-card);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover { background: var(--surface-mid); }
.service-card:hover::before { transform: scaleX(1); }

/* Cards inside #fuer-wen sit on --surface-mid (beige), so cards use white */
#fuer-wen .service-card { background: var(--surface); }
#fuer-wen .service-card:hover { background: var(--surface-card); }

/* Cards inside #veredelung now sit on --surface (white), so cards use default beige */
#veredelung .service-card { background: var(--surface-card); }
#veredelung .service-card:hover { background: var(--surface-mid); }

.service-card[data-lb-src] { cursor: pointer; }

.service-icon {
  width: 18px;
  width: 1.3cap;
  height: 18px;
  height: 1.3cap;
  margin-top: 0.2rem;
  flex-shrink: 0;
  color: var(--accent);
}

.service-icon svg {
  width: 18px;
  width: 1.3cap;
  height: 18px;
  height: 1.3cap;
  fill: currentColor;
  stroke: none;
  display: block;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1em;
  margin-bottom: 0.75rem;
  color: var(--ink);
  display: flex;
  align-items: start;
  gap: 0.65rem;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--ink-bright);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

#fuer-wen .service-desc {
  margin-bottom: 0;
}

.galerie-desc {
  font-size: 0.85rem;
  color: var(--ink-dim);
  line-height: 1.7;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: auto;
}

.mobile-cta { display: none; }

/* FAQ */
.faq-with-image {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* FAQ inside its own section — no extra top margin needed */
#faq-section .faq-with-image {
  margin-top: 0;
  padding-top: 0;
}

.faq-eyebrow {
  display: block;
  margin-bottom: 1.5rem;
}

.faq-list {
  max-width: 100%;
  margin: 0;
}

.faq-image-wrap {
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  align-self: stretch;
  background-color: var(--surface-card);
}

.faq-image-wrap::before,
.faq-image-wrap::after {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  border-color: var(--accent-bright);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}
.faq-image-wrap::before {
  top: 16px; left: 16px;
  border-width: 2px 0 0 2px;
}
.faq-image-wrap::after {
  bottom: 16px; right: 16px;
  border-width: 0 2px 2px 0;
}

.faq-image-wrap img,
.about-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.about-image-wrap img {
  object-position: center top;
}

.img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1;
  pointer-events: none;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  padding: 1.75rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--ink-dim);
  border-radius: 50%;
  display: inline-block;
  transition: transform var(--transition), border-color var(--transition), color var(--transition);
  user-select: none;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-question[aria-expanded="true"] .faq-icon {
  border-color: var(--accent);
  color: var(--accent);
}

.faq-answer {
  font-size: 0.88rem;
  color: var(--ink-dim);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 1.5rem 2rem;
}

.faq-answer[hidden] {
  display: block;
  max-height: 0;
  padding: 0;
  overflow: hidden;
}

/* ABOUT */
#ueber-uns { background: var(--surface-mid); }
#ueber-heading em { letter-spacing: 0.05rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  background-color: var(--surface-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 480px;
  align-self: stretch;
}

.about-image-wrap::before,
.about-image-wrap::after {
  content: '';
  position: absolute;
  width: 24px; height: 24px;
  border-color: var(--accent-bright);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}
.about-image-wrap::before {
  top: 16px; left: 16px;
  border-width: 2px 0 0 2px;
}
.about-image-wrap::after {
  bottom: 16px; right: 16px;
  border-width: 0 2px 2px 0;
}

.about-text .section-title { margin-top: 0.75rem; margin-bottom: 2rem; }

.about-body {
  font-size: 0.85rem;
  color: var(--ink-dim);
  margin-bottom: 1rem;
}

.about-signature {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--accent);
  margin-top: 1.25rem;
  margin-bottom: 1rem;
}

.timeline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 4rem;
}

.tl-img-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: start;
}
.tl-img-col .about-image-wrap {
  flex: none;
  min-height: 0;
  position: relative;
  align-self: auto;
  width: 100%;
  overflow: hidden;
}
.tl-img-col .about-image-wrap img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: unset;
  display: block;
}

.timeline-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.faq-with-image .timeline-heading {
  margin-bottom: 0;
  padding-bottom: 1.75rem;
}

.timeline {
  position: relative;
  padding-left: 1.75rem;
  border-left: 2px solid var(--border);
  margin-top: 2rem;
  padding-bottom: 0.25rem;
}

.tl-item {
  position: relative;
  padding-bottom: 2.25rem;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: calc(-1.775rem - 5px);
  top: 0.3em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--surface-mid);
}

.tl-dot--major {
  width: 14px;
  height: 14px;
  left: calc(-1.775rem - 7px);
  top: 0.2em;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 80, 32, .13);
}

.tl-date {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.tl-title {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.tl-desc {
  font-size: 0.78rem;
  color: var(--ink-dim);
  line-height: 1.8;
}
.tl-desc em { font-style: italic; }

.tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tl-tag {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--surface-card);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}

/* ABLAUF */
#ablauf .timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-left: 0;
  border-left: none;
  margin-top: 0;
  counter-reset: ablauf-step;
}

#ablauf .tl-item {
  position: relative;
  padding: 2rem 2.5rem 2rem 2rem;
  border: 1px solid var(--border);
  margin-left: -1px;
  background: var(--surface);
  transition: background var(--transition);
  counter-increment: ablauf-step;
  padding-bottom: 2.5rem;
}

#ablauf .tl-item:first-child { margin-left: 0; }
#ablauf .tl-item:hover { background: var(--surface-card); }
#ablauf .tl-dot { display: none; }

#ablauf .tl-item::before {
  content: counter(ablauf-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--surface-mid);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

#ablauf .tl-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(2rem + 1.2rem);
  right: -1px;
  width: 1px;
  height: 2.4rem;
  background: var(--border);
}

#ablauf .tl-date {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.mobile-cta { 
  margin-top: 2rem; 
  margin-bottom: 0.5rem; 
  text-align: center; 
}

/* KONTAKT */
#kontakt { background: var(--surface); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: stretch;
}

.kontakt-grid > * {
  min-width: 0;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
}

.kontakt-heading, .kontakt-block { margin-bottom: 2rem; }
.kontakt-heading .section-title { margin-top: 0.75rem; }
.kontakt-block-label, .kontakt-block-label-adresse {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.kontakt-block-label-adresse { color: var(--ink-dim); }
.kontakt-block-label { color: var(--accent); }

.kontakt-block-value {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  font-style: normal;
}

.kontakt-address-note {
  font-size: 0.8rem;
  color: var(--ink-dim);
}

.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1.5rem;
  font-size: 0.88rem;
  color: var(--ink-dim);
}

.hours-day { font-weight: 400; }
.hours-time { color: var(--ink); }
.hours-time--closed { color: var(--ink-dim); }

.kontakt-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.kontakt-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--border);
  background: var(--surface-card);
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.kontakt-btn:hover {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);  
}

.map-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-self: stretch;
}

@media (min-width: 901px) {
  .map-wrapper { height: 100%; min-height: 480px; }
  .map-photo   { flex: none; max-height: none; }
  .map-frame   { flex: 1 1 0; min-height: 0; }
}

.map-photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: var(--surface-card);
  max-width: 100%; 
  min-width: 0;
}

.map-photo img {
  display: block;
  width: 100%;
  height: auto;
  z-index: 0;
}

.map-photo::before,
.map-photo::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--accent-bright);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.map-photo::before {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.map-photo::after {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
}

.map-frame {
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  max-width: 100%; 
  min-width: 0;   
}

.map-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--map-tint);
  pointer-events: none;
  z-index: 1;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: brightness(0.95) contrast(1.2) sepia(15%);
}

.map-consent {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--surface-card);
  text-align: center;
}

.map-consent-icon {
  width: 32px; height: 32px;
  fill: var(--accent-dim);
  opacity: 0.7;
  flex-shrink: 0;
}

.map-consent-text {
  font-size: 0.75rem;
  color: var(--ink-dim);
  line-height: 1.65;
  max-width: 300px;
}

.map-consent-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-consent-text a:hover { color: var(--ink); }

.map-consent-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  background: transparent;
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.map-consent-btn:hover {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}

/* FOOTER */
footer {
  background: var(--surface-mid);
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.footer-logo img { height: 1em; width: auto; }

.footer-logo span {
  font-weight: 400;
  text-transform:none;
  margin-left:-0.45rem;
  color: var(--accent-dim);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--ink-dim);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.72rem;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  transition: color var(--transition);
}

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

.sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  gap: 0.75rem;
  background: var(--sticky-glass);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translate3d(0, 110%, 0);
  transition: transform var(--transition);
  backface-visibility: hidden;
  max-width: 100vw;
}

.sticky-bar.bar-visible {
  transform: translate3d(0, 0, 0);
}

.sticky-btn {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.sticky-btn--call {
  background: var(--accent-dim);
  color: var(--surface);
  border: 1px solid var(--accent-dim);
}

.sticky-btn--call:hover,
.sticky-btn--call:focus-visible {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

.sticky-btn--wa {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.sticky-btn--wa:hover,
.sticky-btn--wa:focus-visible {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

/* SCROLL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

/* ============================================================
   BREAKPOINT 1100px — nav collapses
   ============================================================ */

@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .service-name { line-height: 1.5rem; }
  .section-header { gap: 2rem; }
  #galerie .section-header { grid-template-columns: 1fr; }
  :root { --nav-height: 52px; }
}

/* ============================================================
   BREAKPOINT 900px — tablet layout
   ============================================================ */

@media (max-width: 900px) {
  .section { padding: 3rem 0; }

  #leistungen .services-grid,
  #fuer-wen .services-grid,
  #veredelung .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #galerie .section-header { margin-bottom: 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap { min-height: unset; border: none; padding: 0; }
  .about-image-wrap img {
    position: static; width: 100%; height: auto;
    aspect-ratio: 3/4; object-fit: cover; object-position: center top;
  }
  .about-image-wrap .img-overlay { display: none; }
  .faq-image-wrap { order: -1; }
  .latest.faq-item { border: none; }
  .about-image-wrap { order: 1; }
  .about-text { order: 2; }
  .faq-with-image { grid-template-columns: 1fr; gap: 2rem; }
  .faq-image-wrap { min-height: unset; border: none; padding: 0; }
  .faq-image-wrap img { position: static; width: 100%; height: auto; object-fit: cover; object-position: center; }
  .faq-image-wrap .img-overlay { display: none; }
  .map-consent-text { max-width: 400px; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .map-wrapper { height: auto; display: flex; flex-direction: column; }
  .map-photo { flex: none; }
  .map-photo img { width: 100%; height: auto; }
  .map-frame { flex: none; aspect-ratio: 4 / 3; position: relative; }
  .map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .sticky-bar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .timeline-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tl-img-col { order: -1; flex-direction: column; height: auto; }
  .tl-img-col .about-image-wrap { flex: none; aspect-ratio: unset; min-height: 0; width: 100%; }
  .tl-img-col .about-image-wrap img { position: static; inset: unset; width: 100%; height: auto; aspect-ratio: unset; object-fit: unset; }
}

.hamburger span { transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   BREAKPOINT 600px — mobile
   ============================================================ */

@media (max-width: 600px) {
  .section { padding: 1.5rem 0; }
  .section-header { grid-template-columns: 1fr; margin-bottom: 1.5rem; gap: 1rem; }
  #galerie .section-header { margin-top: 0; margin-bottom: 1.75rem; }
  #leistungen .section-header { margin-bottom: 1.5rem; }
  #veredelung .section-header { margin-bottom: 1.5rem; }
  #faq-section .section-header { margin-bottom: 1.5rem; }
  #hero { 
    min-height: 74vh;
    min-height: 74svh;
    padding-top: calc(var(--nav-height) + 1.25rem);
    padding-bottom: 2.25rem;
  }
  .hero-title { 
    font-weight: 600; 
    letter-spacing: 0em;
    font-size: clamp(2.6rem, 7vw, 4.5rem); 
  }
  .hero-title-row { margin-bottom: 1rem; }
  .hero-eyebrow { margin-bottom: 0.75rem; }
  .hero-eyebrow::after { width: 0; }
  .hero-eyebrow .eyebrow, .eyebrow { font-size: 0.65rem; }
  .hero-h1, h1 { font-size: 1rem; }
  .hero-h1 { margin-bottom: 1.75rem; }
  .hero-actions {gap: 1.25rem;}
  .section-header .btn-secondary { display: none; }
  .mobile-cta { display: block; margin-bottom: 0.75rem; }
  .faq-eyebrow { margin-bottom: 0.5rem; }
  .faq-with-image { margin-top: 1rem; }
  .about-signature { font-size: 1em; margin-top: 1.2rem; }
  .about-text .section-title { margin-bottom: 1.5rem; }
  .timeline-grid { gap: 1.5rem; margin-top: 2rem; }
  .btn-primary, .btn-secondary { padding: 0.75rem 1rem; letter-spacing: 0.08em; }
  .btn-primary { font-size: 0.8rem; }
  .btn-secondary { font-size: 0.7rem; }
  .hero-actions > a { width: 100%; min-width: 0; justify-content: center; }
  .nav-logo { font-size: 0.9rem; }

  #leistungen .services-grid,
  #fuer-wen .services-grid,
  #veredelung .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    background: var(--surface);
  }

  /* fuer-wen is beige — restore card bg on mobile */
  #fuer-wen .services-grid { background: var(--surface-mid); }

  /* veredelung is now white — gap exposes white, cards stay --surface-card */
  #veredelung .services-grid { background: var(--surface); }

  /* Hide FAQ image on mobile — accordion fills full width */
  #faq-section .faq-image-wrap { display: none; }

  .stats-bar { padding: 1.25rem 0; }
  .stat-item { padding: 0.75rem 1rem; }
  .stat-number { font-size: 1.6rem; }
  .about-grid { gap: 1rem; }
  #ablauf .timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid var(--border);
    padding-left: 1.75rem;
    margin-top: 2rem;
  }
  #ablauf .tl-item {
    border: none;
    margin-left: 0;
    padding: 0 0 2.25rem 0;
    background: transparent;
  }
  #ablauf .tl-item:last-child { padding-bottom: 0; }
  #ablauf .tl-item:hover { background: transparent; }
  #ablauf .tl-item::before {
    position: static;
    margin-bottom: 0.6rem;
  }
  #ablauf .tl-item::after { display: none; }
  .kontakt-heading, .kontakt-block {margin-bottom: 1.25rem;}
  .kontakt-block-label, .kontakt-block-label-adresse {margin-bottom: 0.5rem;}
  .kontakt-block { margin-bottom: 1rem; }
  .kontakt-grid { gap: 2rem; }
  .map-wrapper { gap: 10px; }
  .map-photo { width: 100%; }
  .map-frame { aspect-ratio: 4 / 3; }
  .footer-inner { flex-direction: column; text-align: center; }
  footer { padding: 1.75rem 0; }
  .container, .nav-inner { padding-left: 1rem; padding-right: 1rem; }
  .hero-eyebrow, .hero-actions, .hero-title-row { min-width: 0; }
  .hero-eyebrow .eyebrow { min-width: 0; overflow-wrap: anywhere; letter-spacing: 0.12em; }
  .timeline { padding-left: 1.1rem; }
  .tl-dot { left: calc(-1.15rem - 5px); }
  .tl-dot--major { left: calc(-1.15rem - 7px); }
}

.nav-links.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(250, 247, 243, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 2rem 2.5rem 2rem;
  gap: 1.5rem;
  z-index: 89;
}

.nav-links.mobile-open li:not(.nav-call-item) {
  list-style-type: square;
  list-style-position: inside;
  padding-left: 0;
}
.nav-links.mobile-open li:not(.nav-call-item)::marker { color: var(--accent); }

.nav-links.mobile-open a {
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.1em;
}

.nav-links.mobile-open a:hover { color: var(--accent); }

.nav-call-item {
  display: none;
  list-style: none;
  margin-top: 0.5rem;
}
.nav-call-item::marker { content: none; }

.nav-links.mobile-open .nav-call-item { display: list-item; }

.nav-links.mobile-open .nav-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--accent-dim);
  background: var(--accent-dim);
  color: var(--surface);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.nav-links.mobile-open .nav-call-btn:hover {
  background: var(--ink);
  color: var(--surface);
  border-color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .faq-answer {
    transition: none;
  }

  .faq-icon,
  .service-card,
  .sticky-btn,
  .sticky-bar,
  .btn-primary,
  .btn-secondary {
    transition: none;
  }

  .hero-bg--over {
    animation: hero-fade 0.18s linear 0s forwards !important;
  }

  .hero-eyebrow,
  .hero-title-row,
  .hero-h1,
  .hero-actions {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Lightbox */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(24, 21, 18, 0);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: zoom-out;
  transition: background 0.3s ease;
}

#lightbox.lb-open {
  background: rgba(24, 21, 18, 0.90);
}

#lightbox-img {
  display: block;
  max-width: min(92vw, 1200px);
  max-height: 90svh;
  width: auto;
  height: auto;
  border-radius: 3px;
  cursor: zoom-out;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#lightbox.lb-open #lightbox-img {
  opacity: 1;
  transform: scale(1);
}

#lightbox-img.lb-nav-prev {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='14' fill='rgba(24,21,18,.72)'/%3E%3Cpath fill='%23fff' d='M21 10l-8 6 8 6z'/%3E%3Crect x='9' y='10' width='2' height='12' rx='1' fill='%23fff'/%3E%3C/svg%3E") 16 16, w-resize;
}

#lightbox-img.lb-nav-next {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Ccircle cx='16' cy='16' r='14' fill='rgba(24,21,18,.72)'/%3E%3Cpath fill='%23fff' d='M11 10l8 6-8 6z'/%3E%3Crect x='21' y='10' width='2' height='12' rx='1' fill='%23fff'/%3E%3C/svg%3E") 16 16, e-resize;
}

body.lb-active {
  overflow: hidden;
}

@media (hover: none) and (pointer: coarse) and (orientation: landscape) {
  nav,
  .sticky-bar,
  .nav-links.mobile-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  nav {
    background: rgba(250, 247, 243, 0.96);
  }

  .sticky-bar {
    background: rgba(250, 247, 243, 0.98);
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.18);
  }

  .nav-links.mobile-open {
    background: rgba(250, 247, 243, 0.96);
  }
}

.legal-wrap {
  padding-top: calc(var(--nav-height) + 3.5rem);
  padding-bottom: 5rem;
  min-height: 70vh;
}

.legal-wrap h1 {
  display: block;           
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin-top: 0.75rem;
  margin-bottom: 2.5rem;
}

.legal-wrap h2 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.4rem;
}

.legal-wrap h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.legal-wrap p,
.legal-wrap address,
.legal-wrap li {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-dim);
  font-style: normal;
}

.legal-wrap ul {
  list-style: none;
  padding: 0;
}

.legal-wrap a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-wrap a:hover { color: var(--accent-dim); }

@media (max-width: 900px) {
  body.page-legal { padding-bottom: 0; }
  .legal-wrap {
    padding-top: calc(var(--nav-height) + 1.5rem);
    padding-bottom: 2rem;
  }
  .legal-wrap h1 {
    font-weight: 600;
    margin-bottom: 0;
  }
}
