/* ==========================================================================
   Raumausstattung Stelle — Startseite
   robust · handwerklich · blau
   ========================================================================== */

/* Self-hosted fonts (DSGVO: keine Anfragen an Google-Server) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url('../fonts/archivo-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-variable.woff2') format('woff2');
}

:root {
  /* Blau (Marke) */
  --ink: #0c1c28;
  --navy-950: #0a2334;
  --navy-900: #0e3049;
  --navy-800: #12405f;
  --blue: #1479b8;
  --blue-600: #0f6398;
  --blue-700: #0c527f;
  --cyan: #17b3e6;

  /* warme, neutrale Flächen (Wärme ohne Orange) */
  --cream: #f4f1ec;
  --sand: #e7e1d7;
  --paper: #faf8f4;
  --body: #4b5561;
  --muted: #7b8592;
  --line: #e1ddd5;
  --white: #ffffff;

  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1280px;
  --radius: 10px;
  --ease: cubic-bezier(.22,.68,0,1);
  --shadow-lift: 0 30px 60px -30px rgba(12,28,40,.5);
  --shadow-soft: 0 18px 40px -24px rgba(12,28,40,.32);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint grain */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--blue); display: inline-block; }
.eyebrow.light { color: var(--cyan); }
.eyebrow.light::before { background: var(--cyan); }

.ink-accent { color: var(--blue); }

.section-head { max-width: 680px; margin-bottom: 60px; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 18px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.section-head p { margin-top: 20px; font-size: 1.08rem; color: var(--body); }
.section-head.center { margin: 0 auto 60px; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Buttons — flach, kein Verlauf
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 16px 30px; border-radius: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }

.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 26px -14px rgba(20,121,184,.9); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(20,121,184,1); }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }
.btn-outline:hover svg { transform: translateX(4px); }

/* Header
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 150; padding: 22px 0; transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled { background: rgba(250,248,244,.92); backdrop-filter: blur(12px); padding: 13px 0; box-shadow: 0 1px 0 rgba(12,28,40,.08); }

.logo { position: relative; display: flex; align-items: center; height: 40px; }
.logo img { height: 40px; width: auto; transition: opacity .5s var(--ease); }
.logo .logo-color { position: absolute; left: 0; top: 0; opacity: 0; }
.site-header.is-scrolled .logo .logo-white { opacity: 0; }
.site-header.is-scrolled .logo .logo-color { opacity: 1; }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 700; font-size: 0.92rem; color: var(--white); position: relative; padding: 4px 0; transition: color .3s var(--ease); }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--blue); transition: width .35s var(--ease); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.nav-2line { line-height: 1.12; text-align: center; white-space: nowrap; }
.site-header.is-scrolled .nav-links a { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .btn-primary { padding: 11px 20px; font-size: 0.85rem; }
.header-phone { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: .95rem; color: var(--white); transition: color .3s var(--ease); }
.header-phone svg { width: 18px; height: 18px; color: var(--cyan); }
.site-header.is-scrolled .header-phone { color: var(--ink); }
.site-header.is-scrolled .header-phone svg { color: var(--blue); }
/* Auf mittleren Breiten die Telefonnummer ausblenden, damit die erweiterte Navigation passt */
@media (max-width: 960px) { .header-phone { display: none; } }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 210; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); transition: all .3s var(--ease); }
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

/* Nav dropdown
   ========================================================================== */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-parent { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-weight: 700; font-size: 0.92rem; color: var(--white); padding: 4px 0; transition: color .3s var(--ease); }
.nav-parent .chev { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.site-header.is-scrolled .nav-parent { color: var(--ink); }
.nav-dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(12px); min-width: 274px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lift); padding: 10px; margin-top: 14px; opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s; z-index: 130; }
.nav-dropdown::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 18px; }
/* Desktop-only hover reveal. Scoped behind min-width so it can never leak onto
   mobile: touchscreens frequently trigger a stuck/synthetic :hover state on tap,
   and this rule's higher specificity would otherwise override the mobile
   .nav-dropdown reset below regardless of source order, re-applying
   transform:translateX(-50%) and shifting the menu half its own width off-screen. */
@media (min-width: 761px) {
  .nav-item.has-dropdown:hover .nav-dropdown,
  .nav-item.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
  .nav-item.has-dropdown:hover .nav-parent .chev { transform: rotate(180deg); }
}
.nav-dropdown a { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 8px; color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.nav-dropdown a::after { display: none; }
.nav-dropdown a i { font-family: var(--font-head); font-weight: 800; font-size: 0.78rem; color: var(--blue); min-width: 18px; font-style: normal; }
.nav-dropdown a:hover { background: var(--cream); color: var(--blue); }

/* Service detail pages
   ========================================================================== */
.svc-detail { padding: 110px 0; background: var(--paper); }
.svc-detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.svc-detail-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); text-transform: uppercase; margin-top: 16px; }
.svc-detail-copy p { margin-top: 20px; font-size: 1.06rem; }
.svc-detail-copy .btn { margin-top: 34px; }
.svc-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 12px; padding: 34px 32px; box-shadow: var(--shadow-soft); position: sticky; top: 100px; }
.svc-card h3 { text-transform: uppercase; font-size: 1.05rem; margin-bottom: 22px; }
.svc-card ul { display: flex; flex-direction: column; gap: 15px; }
.svc-card li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); font-size: 0.97rem; }
.svc-card li svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

.svc-related { padding: 100px 0; background: var(--cream); }
.related-chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.related-chips a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 100px; font-weight: 700; font-size: 0.94rem; color: var(--ink); transition: all .3s var(--ease); }
.related-chips a i { font-family: var(--font-head); color: var(--blue); font-weight: 800; font-size: 0.8rem; font-style: normal; }
.related-chips a:hover { border-color: var(--blue); background: var(--blue); color: var(--white); transform: translateY(-2px); }
.related-chips a:hover i { color: rgba(255,255,255,.75); }

/* Bento galleries (light) — service & projects
   ========================================================================== */
.svc-gallery { padding: 110px 0; background: var(--cream); }
.proj-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; grid-auto-flow: dense; }
.proj-item { position: relative; border-radius: 10px; overflow: hidden; background: var(--sand); }
.proj-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj-item:hover img { transform: scale(1.06); }
.proj-item.tall { grid-row: span 2; }
.proj-item.wide { grid-column: span 2; }
.proj-item .cap { position: absolute; inset: auto 0 0 0; padding: 32px 18px 15px; background: linear-gradient(0deg, rgba(9,25,37,.9), transparent); color: #fff; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .04em; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
.proj-item .cap::before { content: ''; display: inline-block; width: 14px; height: 2px; background: var(--cyan); margin-right: 8px; vertical-align: middle; }
.proj-item:hover .cap { opacity: 1; transform: none; }

/* Projects page filter */
.proj-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 46px; }
.proj-filter button { padding: 11px 22px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: all .25s var(--ease); }
.proj-filter button:hover { border-color: var(--blue); }
.proj-filter button.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.proj-item.hide { display: none; }

/* So entsteht ein Bad — Prozess-Timeline */
.buildup { padding: 130px 0; background: var(--white); }
.buildup-steps { max-width: 1000px; margin: 60px auto 0; }
.buildup-step { display: grid; grid-template-columns: 56px 1fr; gap: 30px; position: relative; padding-bottom: 48px; }
.buildup-step:last-child { padding-bottom: 0; }
.buildup-marker { position: relative; display: flex; justify-content: center; }
.buildup-num { width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; z-index: 1; box-shadow: 0 6px 18px rgba(20,121,184,.28); }
.buildup-step:not(:last-child) .buildup-marker::after { content: ''; position: absolute; top: 54px; bottom: -6px; left: 50%; transform: translateX(-50%); width: 2px; background: var(--line); }
.buildup-body { padding-top: 3px; }
.buildup-body h3 { font-size: 1.5rem; color: var(--ink); margin-bottom: 6px; }
.buildup-body > p { color: var(--muted); max-width: 62ch; margin-bottom: 20px; line-height: 1.6; }
.buildup-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 295px)); gap: 14px; justify-content: start; }
.buildup-shots .build-shot { aspect-ratio: 4 / 3; cursor: pointer; }
@media (max-width: 760px) {
  .buildup { padding: 80px 0; }
  .buildup-steps { margin-top: 40px; }
  .buildup-step { grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 36px; }
  .buildup-num { width: 42px; height: 42px; font-size: 1rem; }
  .buildup-step:not(:last-child) .buildup-marker::after { top: 42px; }
  .buildup-shots { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* Homepage About section
   ========================================================================== */
.about { padding: 130px 0; background: var(--paper); }
.about .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-photo { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lift); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .badge { position: absolute; left: -18px; bottom: 28px; background: var(--blue); color: #fff; padding: 16px 22px; border-radius: 10px; box-shadow: var(--shadow-soft); pointer-events: none; }
.about-photo .badge strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.about-photo .badge span { font-size: .74rem; opacity: .85; }
.about-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); text-transform: uppercase; margin-top: 16px; }
.about-copy p { margin-top: 20px; font-size: 1.06rem; }
.about-copy .btn { margin-top: 32px; }

/* Über uns page
   ========================================================================== */
.ueber-intro { padding: 110px 0; background: var(--paper); }
.ueber-intro .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ueber-portrait { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lift); }
.ueber-portrait img { width: 100%; height: 100%; object-fit: cover; }
.ueber-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-transform: uppercase; margin-top: 16px; }
.ueber-copy p { margin-top: 20px; font-size: 1.06rem; }
.ueber-copy .signature { margin-top: 30px; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.05rem; text-transform: uppercase; }
.ueber-copy .signature span { display: block; font-family: var(--font-body); font-weight: 600; font-size: .86rem; color: var(--muted); text-transform: none; margin-top: 3px; }
.ueber-values { padding: 110px 0; background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--blue); }
.value-card .ico { width: 50px; height: 50px; border-radius: 10px; background: var(--cream); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.value-card .ico svg { width: 24px; height: 24px; }
.value-card h3 { text-transform: uppercase; font-size: 1.1rem; }
.value-card p { margin-top: 10px; font-size: 0.96rem; }
.dummy-note { display: inline-block; margin-top: 16px; font-size: 0.72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--sand); padding: 6px 13px; border-radius: 6px; }

/* Testimonials
   ========================================================================== */
.testimonials { padding: 130px 0; background: var(--paper); }
.reviews-score { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: -18px auto 50px; }
.reviews-score .stars { color: var(--blue); font-size: 1.3rem; letter-spacing: 3px; }
.reviews-score strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--ink); }
.reviews-score span { font-size: 0.92rem; color: var(--muted); }
.reviews-carousel { position: relative; }
.reviews-grid { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.reviews-grid::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 30px 28px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.reviews-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 1.5px solid var(--line); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-soft); transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), opacity .25s var(--ease); z-index: 3; }
.reviews-arrow svg { width: 20px; height: 20px; }
.reviews-arrow:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.reviews-arrow.prev { left: -24px; }
.reviews-arrow.next { right: -24px; }
.reviews-arrow[disabled] { opacity: .35; cursor: default; pointer-events: none; }
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--blue); }
.review-card .stars { color: var(--blue); font-size: 1.05rem; letter-spacing: 2px; }
.review-card .review-text { margin-top: 14px; font-size: 0.96rem; line-height: 1.6; color: var(--body); flex-grow: 1; }
.review-card .review-text::before { content: '“'; }
.review-card .review-text::after { content: '”'; }
.review-author { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-author strong { display: block; font-size: 0.94rem; color: var(--ink); font-weight: 700; }
.review-author span { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.review-source { text-align: right; font-size: 0.72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }
.reviews-cta { text-align: center; margin-top: 46px; }

/* Lightbox
   ========================================================================== */
img.zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(6,16,24,.93); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 92vw; }
.lb-stage img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.75); transform: scale(.95); transition: transform .3s var(--ease); background: var(--ink); }
.lightbox.open .lb-stage img { transform: scale(1); }
.lb-stage figcaption { color: rgba(255,255,255,.85); font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: .05em; margin-top: 16px; text-align: center; }
.lb-count { color: rgba(255,255,255,.5); font-weight: 600; font-size: 0.78rem; margin-top: 6px; }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease), border-color .2s var(--ease); z-index: 2; }
.lb-close { top: 24px; right: 28px; width: 48px; height: 48px; font-size: 28px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 56px; height: 56px; font-size: 30px; }
.lb-prev { left: 26px; }
.lb-next { right: 26px; }
.lb-close span, .lb-prev span, .lb-next span { line-height: 0; margin-top: -3px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--blue); border-color: var(--blue); }
body.lb-lock { overflow: hidden; }
@media (max-width: 760px) {
  .lightbox { padding: 20px; }
  .lb-prev, .lb-next { width: 44px; height: 44px; font-size: 24px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
  .lb-close { top: 14px; right: 14px; width: 42px; height: 42px; }
  .lb-stage img { max-height: 74vh; }
}

/* Datenschutz checkbox
   ========================================================================== */
.field-check { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 20px; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); cursor: pointer; }
.field-check label { font-size: 0.86rem; color: var(--body); font-weight: 500; text-transform: none; letter-spacing: 0; line-height: 1.5; margin: 0; }
.field-check a { color: var(--blue); text-decoration: underline; }

/* Cookie banner
   ========================================================================== */
.cookie-banner { position: fixed; left: 20px; bottom: max(20px, env(safe-area-inset-bottom) + 12px); z-index: 140; width: min(440px, calc(100vw - 40px)); max-height: min(600px, calc(100vh - 40px)); overflow-y: auto; background: var(--ink); color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 24px 26px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.6); transform: translateY(150%); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-banner h4 { color: #fff; font-family: var(--font-head); font-size: 1.05rem; text-transform: uppercase; margin-bottom: 9px; }
.cookie-banner p { font-size: 0.87rem; line-height: 1.55; }
.cookie-banner p a { color: var(--cyan); text-decoration: underline; }

/* consistent button set — every action shares the same color, no visual hierarchy */
.cookie-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.cookie-btn { flex: 1 1 auto; min-width: 92px; padding: 11px 14px; border-radius: 8px; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; line-height: 1; text-align: center; cursor: pointer; background: var(--blue); color: #fff; border: 1.5px solid var(--blue); transition: background .25s var(--ease), border-color .25s var(--ease); }
.cookie-btn:hover { background: var(--blue-600); border-color: var(--blue-600); }

/* preferences panel */
.cookie-prefs { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.cookie-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 0; }
.cookie-cat > span { display: flex; flex-direction: column; }
.cookie-cat strong { color: #fff; font-size: 0.9rem; font-weight: 700; }
.cookie-cat small { color: rgba(255,255,255,.55); font-size: 0.76rem; margin-top: 2px; }
.cookie-cat input { width: 18px; height: 18px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.cookie-cat input:disabled { opacity: .55; cursor: not-allowed; }

/* persistent fixed reopen icon — always available, independent of the footer */
.cookie-fab { position: fixed; left: 20px; bottom: max(20px, env(safe-area-inset-bottom) + 12px); z-index: 140; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: #fff; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 14px 32px -12px rgba(20,121,184,.7); transition: background .25s var(--ease), transform .25s var(--ease), opacity .25s var(--ease), visibility .25s; }
.cookie-fab svg { width: 24px; height: 24px; }
.cookie-fab:hover { background: var(--blue-600); transform: translateY(-2px); }
.cookie-fab.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.8); }

@media (max-width: 540px) { .cookie-banner { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom) + 8px); width: auto; padding: 22px; } .cookie-fab { left: 14px; bottom: max(14px, env(safe-area-inset-bottom) + 10px); } }

/* Legal pages
   ========================================================================== */
.legal { padding: 90px 0 100px; background: var(--paper); }
.legal-body { max-width: 820px; margin: 0 auto; }
.legal-body h2 { text-transform: uppercase; font-size: 1.35rem; margin: 44px 0 14px; }
.legal-body > h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 1.02rem; margin: 24px 0 8px; color: var(--ink); font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.legal-body p { margin-bottom: 14px; font-size: 0.98rem; }
.legal-body a { color: var(--blue); text-decoration: underline; }
.legal-body ul { margin: 0 0 16px 20px; list-style: disc; }
.legal-body li { margin-bottom: 6px; font-size: 0.98rem; }
.legal-body strong { color: var(--ink); }
.legal-note { background: var(--sand); border-left: 4px solid var(--brass, var(--blue)); border-radius: 10px; padding: 16px 20px; font-size: 0.88rem; margin-bottom: 34px; color: var(--body); }

/* Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--ink); padding: 110px 0 56px; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform: scale(1.04); will-change: transform; }
.hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(9,25,37,.95) 0%, rgba(9,25,37,.82) 42%, rgba(9,25,37,.42) 72%, rgba(9,25,37,.25) 100%),
    linear-gradient(0deg, rgba(9,25,37,.7), rgba(9,25,37,0) 40%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-panel {
  max-width: 700px;
  padding: 42px 48px 38px;
  border-radius: 10px;
  background: rgba(9,25,37,.66);
  backdrop-filter: blur(3px);
  border-left: 3px solid var(--blue);
}
.hero-panel .eyebrow { color: var(--cyan); }
.hero-panel .eyebrow::before { background: var(--cyan); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  margin-top: 20px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.0;
}
.hero h1 .ink-accent { color: var(--cyan); }

.hero-text { margin-top: 20px; font-size: 1.14rem; color: rgba(255,255,255,.82); max-width: 520px; }
.hero-cta { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; }

.hero-trust { display: flex; gap: 30px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); flex-wrap: wrap; }
.hero-trust strong { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-trust span { font-size: .8rem; color: rgba(255,255,255,.6); margin-top: 4px; display: block; }

.hero-scroll { position: absolute; bottom: 34px; right: 32px; z-index: 2; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.6); font-size: .74rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(6px); opacity: .4; } }

/* Marquee
   ========================================================================== */
.marquee { background: var(--ink); padding: 20px 0; overflow: hidden; position: relative; z-index: 3; border-top: 1px solid rgba(255,255,255,.08); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: flex; align-items: center; gap: 16px; padding: 0 28px; font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: rgba(244,241,236,.42); white-space: nowrap; }
.marquee-track span::after { content: ''; width: 6px; height: 6px; background: var(--blue); display: inline-block; margin-left: 16px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Intro / stats
   ========================================================================== */
.intro { padding: 130px 0 120px; }
.intro .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 84px; align-items: center; }
.intro-visual { position: relative; }
.intro-visual .frame { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-lift); }
.intro-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.intro-visual .sticker {
  position: absolute; bottom: -28px; right: -22px;
  width: 150px; height: 150px; border-radius: 10px;
  background: var(--blue); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  box-shadow: var(--shadow-soft); font-family: var(--font-head); pointer-events: none;
}
.intro-visual .sticker strong { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.intro-visual .sticker span { font-size: .72rem; font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; margin-top: 6px; padding: 0 16px; line-height: 1.3; }
.intro-visual .dots { position: absolute; top: -24px; left: -24px; width: 120px; height: 120px; z-index: -1; background-image: radial-gradient(var(--blue) 1.6px, transparent 1.6px); background-size: 16px 16px; opacity: .28; }

.intro-copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-top: 18px; text-transform: uppercase; }
.intro-copy p { margin-top: 22px; font-size: 1.06rem; }
.intro-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; padding-top: 40px; border-top: 1px solid var(--line); }
.intro-stats .stat strong { display: block; font-family: var(--font-head); font-size: 2.7rem; font-weight: 800; color: var(--ink); line-height: 1; }
.intro-stats .stat strong i { font-style: normal; color: var(--blue); }
.intro-stats .stat span { font-size: .84rem; color: var(--muted); margin-top: 8px; display: block; font-weight: 600; }

/* Through-text band
   ========================================================================== */
.textband { position: relative; padding: 100px 0; text-align: center; background: var(--ink); overflow: hidden; }
.textband .clip {
  font-family: var(--font-head); font-weight: 900; font-size: clamp(3.2rem, 14vw, 14rem); line-height: .95;
  letter-spacing: -.03em; text-transform: uppercase; padding-top: .14em;
  background-image: url('../img/hero.avif'); background-size: cover; background-position: center 40%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.textband p { position: relative; margin-top: 26px; color: rgba(244,241,236,.62); font-size: 1.08rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* Services — editorial
   ========================================================================== */
.services { padding: 130px 0; background: var(--paper); }
.services-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 70px; align-items: start; }
.services-feature { position: sticky; top: 100px; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow-lift); }
.services-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.services-feature:hover img { transform: scale(1.04); }
.services-feature .cap { position: absolute; inset: auto 0 0 0; padding: 40px 34px 32px; background: linear-gradient(0deg, rgba(9,25,37,.95), rgba(9,25,37,0)); color: var(--white); }
.services-feature .cap .tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.services-feature .cap h3 { color: var(--white); font-size: 1.6rem; text-transform: uppercase; }
.services-feature .cap p { color: rgba(255,255,255,.8); margin-top: 8px; font-size: .95rem; max-width: 340px; }

.services-list { display: flex; flex-direction: column; }
.service-row { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 26px 6px; border-top: 1px solid var(--line); transition: padding .4s var(--ease); position: relative; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .num { font-family: var(--font-head); font-size: .95rem; color: var(--blue); font-weight: 800; }
.service-row .body h3 { font-family: var(--font-head); font-weight: 700; font-size: 1.16rem; color: var(--ink); transition: color .35s var(--ease); text-transform: uppercase; letter-spacing: -.01em; }
.service-row .body p { font-size: .92rem; color: var(--muted); margin-top: 4px; max-width: 440px; }
.service-row .chev { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: all .4s var(--ease); flex-shrink: 0; }
.service-row .chev svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.service-row:hover { padding-left: 18px; }
.service-row:hover .body h3 { color: var(--blue); }
.service-row:hover .chev { background: var(--blue); border-color: var(--blue); color: var(--white); }
.service-row:hover .chev svg { transform: translateX(2px); }

/* Transformation slider
   ========================================================================== */
.transform { padding: 130px 0; background: var(--cream); }
.ba { position: relative; max-width: 1040px; margin: 0 auto; border-radius: 10px; overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow-lift); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after-wrap { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba .after-wrap img { width: auto; height: 100%; max-width: none; }
.ba-label { position: absolute; top: 20px; padding: 8px 16px; border-radius: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(6px); z-index: 3; }
.ba-label.before { right: 20px; background: rgba(9,25,37,.78); color: var(--white); }
.ba-label.after { left: 20px; background: var(--blue); color: var(--white); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--white); transform: translateX(-50%); z-index: 4; cursor: ew-resize; }
.ba-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -22px; right: -22px; }
.ba-grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; border-radius: 50%; background: var(--white); color: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,.5); }
.ba-grip svg { width: 22px; height: 22px; }

/* Gallery
   ========================================================================== */
.gallery { padding: 130px 0; background: var(--ink); color: var(--white); }
.gallery .section-head h2 { color: var(--white); }
.gallery .section-head p { color: rgba(244,241,236,.62); }
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.gallery-head .btn-outline { color: var(--white); border-color: rgba(255,255,255,.25); }
.gallery-head .btn-outline:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; grid-auto-flow: dense; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,25,37,.9) 0%, rgba(9,25,37,0) 55%); opacity: 0; transition: opacity .45s var(--ease); pointer-events: none; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item span { position: absolute; left: 20px; bottom: 18px; z-index: 2; font-size: .86rem; font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: .04em; opacity: 0; transform: translateY(10px); transition: all .45s var(--ease); pointer-events: none; }
.gallery-item span::before { content: ''; display: inline-block; width: 14px; height: 2px; background: var(--cyan); margin-right: 8px; vertical-align: middle; }
.gallery-item:hover span { opacity: 1; transform: translateY(0); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Process
   ========================================================================== */
.process { padding: 130px 0; background: var(--paper); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 34px 28px 30px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); overflow: hidden; }
.process-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 14px; right: 20px; font-family: var(--font-head); font-size: 3.2rem; font-weight: 800; color: var(--sand); line-height: 1; transition: color .45s var(--ease); }
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--blue); }
.process-step:hover::before { color: rgba(20,121,184,.18); }
.process-step .ico { width: 46px; height: 46px; border-radius: 8px; background: var(--cream); color: var(--blue); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; transition: background .45s var(--ease), color .45s var(--ease); }
.process-step:hover .ico { background: var(--blue); color: var(--white); }
.process-step .ico svg { width: 22px; height: 22px; }
.process-step h3 { font-family: var(--font-head); font-size: 1.1rem; margin-top: 22px; color: var(--ink); position: relative; z-index: 1; text-transform: uppercase; }
.process-step p { font-size: .92rem; margin-top: 8px; position: relative; z-index: 1; }

/* CTA band
   ========================================================================== */
.cta-band { position: relative; padding: 120px 0; color: var(--white); overflow: hidden; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(9,25,37,.85); }
.cta-band .container { position: relative; z-index: 2; text-align: center; }
.cta-band .eyebrow { justify-content: center; color: var(--cyan); }
.cta-band .eyebrow::before { background: var(--cyan); }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 760px; margin: 18px auto 0; text-transform: uppercase; }
.cta-band p { margin-top: 18px; color: rgba(255,255,255,.8); max-width: 540px; margin-left: auto; margin-right: auto; font-size: 1.06rem; }
.cta-band .cta-actions { margin-top: 38px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Contact
   ========================================================================== */
.contact { padding: 130px 0; background: var(--cream); }
.contact .container { display: grid; grid-template-columns: .82fr 1.18fr; gap: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lift); }
.contact-info { background: var(--ink); color: var(--white); padding: 64px 52px; position: relative; }
.contact-info::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--blue); }
.contact-info .eyebrow { color: var(--cyan); }
.contact-info .eyebrow::before { background: var(--cyan); }
.contact-info h2 { color: var(--white); font-size: 2rem; margin-top: 16px; text-transform: uppercase; }
.contact-info p.lead { margin-top: 16px; color: rgba(255,255,255,.72); }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-top: 30px; }
.contact-detail .ico { width: 44px; height: 44px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: var(--cyan); flex-shrink: 0; }
.contact-detail .ico svg { width: 20px; height: 20px; }
.contact-detail strong { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); font-family: var(--font-body); }
.contact-detail a, .contact-detail span.value { font-size: 1.04rem; font-weight: 700; color: var(--white); }
.contact-map-btn { margin-top: 36px; }

.contact-form { padding: 64px 52px; background: var(--paper); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .78rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; letter-spacing: .02em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); background: var(--white); border-radius: 8px; padding: 14px 16px; font-family: var(--font-body); font-size: .96rem; color: var(--ink); transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(20,121,184,.14); }
.field textarea { resize: vertical; min-height: 128px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form-status { font-size: .9rem; font-weight: 700; margin-top: 14px; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #197a4b; }

/* Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: rgba(244,241,236,.68); padding: 76px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 44px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo img { height: 38px; }
.footer-brand p { margin-top: 20px; font-size: .94rem; max-width: 330px; color: rgba(244,241,236,.58); }
.footer-col h3 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul li a, .footer-col ul li span { font-size: .94rem; color: rgba(244,241,236,.6); transition: color .3s var(--ease); }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(244,241,236,.45); }
.footer-bottom a { color: rgba(244,241,236,.55); }
.footer-bottom a:hover { color: var(--cyan); }
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* Sub-page hero (Leistungen)
   ========================================================================== */
.page-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); padding-bottom: 60px; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: 0; }
.page-hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(9,25,37,.94) 0%, rgba(9,25,37,.78) 45%, rgba(9,25,37,.5) 100%), linear-gradient(0deg, rgba(9,25,37,.85), rgba(9,25,37,0) 55%); }
.page-hero .container { position: relative; z-index: 2; width: 100%; padding-top: 120px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb span { color: var(--cyan); }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 4rem); text-transform: uppercase; font-weight: 800; letter-spacing: -0.02em; }
.page-hero h1 .ink-accent { color: var(--cyan); }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.14rem; max-width: 560px; margin-top: 20px; }

/* Service quick-nav chips */
.svc-chips { background: var(--paper); padding: 30px 0; border-bottom: 1px solid var(--line); }
.svc-chips .container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.svc-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 100px; border: 1.5px solid var(--line); font-size: .88rem; font-weight: 700; color: var(--ink); background: var(--white); transition: all .3s var(--ease); }
.svc-chips a:hover { border-color: var(--blue); background: var(--blue); color: var(--white); }
.svc-chips a i { font-style: normal; color: var(--blue); font-family: var(--font-head); font-weight: 800; transition: color .3s var(--ease); }
.svc-chips a:hover i { color: rgba(255,255,255,.7); }

/* Service detail rows */
.svc-sections { padding: 110px 0 80px; background: var(--cream); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 50px 0; scroll-margin-top: 90px; }
.svc:nth-of-type(even) .svc-media { order: 2; }
.svc-media { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3/2; box-shadow: var(--shadow-lift); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-media:hover img { transform: scale(1.04); }
.svc-media .svc-num { position: absolute; top: 16px; left: 16px; z-index: 2; width: 52px; height: 52px; border-radius: 8px; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.svc-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); text-transform: uppercase; margin-top: 16px; }
.svc-body > p { margin-top: 18px; font-size: 1.04rem; }
.svc-points { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.svc-points li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; font-weight: 600; color: var(--ink); }
.svc-points li svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.svc-divider { height: 1px; background: var(--line); }

/* Reveal
   ========================================================================== */
/* BE Fenster & Türen — externer iFrame + Consent-Gate */
.be-embed { padding: 130px 0; background: var(--paper); }
.be-frame { position: relative; margin-top: 48px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); min-height: 460px; }
.be-consent { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; background: linear-gradient(180deg, var(--cream), var(--white)); }
.be-consent-inner { max-width: 480px; }
.be-consent-title { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); margin-bottom: 12px; }
.be-consent-text { color: var(--muted); font-size: 0.95rem; line-height: 1.65; margin-bottom: 24px; }
.be-consent-text a { color: var(--blue); text-decoration: underline; }
.be-frame iframe { display: block; width: 100%; border: none; }
.be-credit { margin-top: 16px; font-size: 0.82rem; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .be-embed { padding: 80px 0; }
  .be-frame { min-height: 380px; margin-top: 36px; }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1.is-visible { transition-delay: .08s; }
.reveal-delay-2.is-visible { transition-delay: .16s; }
.reveal-delay-3.is-visible { transition-delay: .24s; }
.reveal-delay-4.is-visible { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track, .hero-scroll .dot { animation: none; }
}

/* Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .intro .container { grid-template-columns: 1fr; gap: 90px; }
  .intro-visual .frame { max-width: 460px; }
  .services-layout { grid-template-columns: 1fr; gap: 40px; }
  .services-feature { position: relative; top: 0; aspect-ratio: 16/10; max-height: 460px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact .container { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 34px; padding: 40px 0; }
  .svc:nth-of-type(even) .svc-media { order: 0; }
  .svc-detail-grid { grid-template-columns: 1fr; gap: 44px; }
  .svc-card { position: static; }
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex-basis: calc((100% - 24px) / 2); }
  .about .container, .ueber-intro .container { grid-template-columns: 1fr; gap: 48px; }
  .about-photo, .ueber-portrait { max-width: 440px; }
}
@media (max-width: 860px) {
  .values-grid { grid-template-columns: 1fr; gap: 18px; }
  .reviews-grid { gap: 16px; }
  .review-card { flex-basis: 100%; }
  .reviews-arrow { width: 40px; height: 40px; }
  .reviews-arrow.prev { left: -6px; }
  .reviews-arrow.next { right: -6px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; }
  .intro-stats { gap: 14px; }
  .intro-stats .stat strong { font-size: 2.1rem; }
}
@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .header-actions .btn-primary { display: none; }
  .nav-links { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; align-items: center; gap: 30px; transform: translateX(100%); transition: transform .5s var(--ease); z-index: 200; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links { justify-content: flex-start; padding: 100px 24px 48px; overflow-y: auto; gap: 22px; }
  .nav-links a { color: var(--white); font-size: 1.35rem; }
  body.nav-open { overflow: hidden; }

  /* dropdown on mobile */
  .nav-item { width: 100%; flex-direction: column; }
  .nav-parent { width: 100%; justify-content: center; color: var(--white); font-size: 1.35rem; }
  /* Simple display:none/block toggle — deliberately NOT using a max-height +
     overflow:hidden collapse animation here: that combination is known to
     mis-layout centered text in some WebKit/Safari versions once the box
     expands, clipping content unpredictably. Correctness over animation. */
  .nav-dropdown { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; width: 100%; box-sizing: border-box; background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; display: none; }
  .nav-item.has-dropdown.open .nav-dropdown { display: block; margin: 12px 0 0; }
  .nav-item.has-dropdown.open .nav-parent .chev { transform: rotate(180deg); }
  .nav-dropdown a { display: block; width: 100%; box-sizing: border-box; text-align: center; color: rgba(255,255,255,.72); font-size: 1.02rem; padding: 10px; white-space: normal; }
  .nav-dropdown a i { display: none; }
  .nav-dropdown a:hover { background: transparent; color: var(--white); }

  .svc-detail { padding: 80px 0; }
  .svc-related { padding: 70px 0; }
  .svc-gallery { padding: 80px 0; }
  .proj-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .proj-item.wide, .proj-item.tall { grid-column: span 1; grid-row: span 1; }
  .about { padding: 90px 0; }
  .ueber-intro, .ueber-values { padding: 80px 0; }
  .testimonials { padding: 90px 0; }
  .reviews-score { flex-direction: column; gap: 6px; margin-bottom: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }

  .hero { align-items: flex-start; padding: 104px 0 40px; }
  .hero-panel { padding: 34px 26px 34px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .hero-trust { gap: 20px; }
  .hero-scroll { display: none; }

  .intro { padding: 90px 0; }
  .intro-visual .sticker { width: 120px; height: 120px; right: -8px; }
  .intro-visual .sticker strong { font-size: 2rem; }
  .intro-stats { grid-template-columns: 1fr; text-align: left; }
  .intro-stats .stat { display: flex; align-items: baseline; gap: 14px; }
  .intro-stats .stat span { margin-top: 0; }

  .textband { padding: 70px 0; }
  .services { padding: 90px 0; }
  .service-row { grid-template-columns: auto 1fr; }
  .service-row .chev { display: none; }

  .transform { padding: 90px 0; }
  .gallery { padding: 90px 0; }
  .gallery-head { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }

  .process { padding: 90px 0; }
  .process-grid { grid-template-columns: 1fr; }

  .cta-band { padding: 84px 0; }
  .page-hero { min-height: 52vh; }
  .svc-points { grid-template-columns: 1fr; }
  .svc-sections { padding: 70px 0 40px; }
  .contact { padding: 90px 0; }
  .contact-info, .contact-form { padding: 44px 26px; }
  .contact-form .row { grid-template-columns: 1fr; }
}
