/* ======================================================
   Sancak Sicherheitstechnik e.K. · Modern Website
   Brand colors: Sancak-Blau #155fa8 · Cyan #3dacc2
   ====================================================== */

:root {
  --brand-blue: #155fa8;            /* main blue from logo */
  --brand-blue-dark: #0e3f72;
  --brand-blue-deep: #062944;       /* deepest navy */
  --brand-cyan: #3dacc2;
  --brand-cyan-light: #4ab9cf;

  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-elev: #ffffff;
  --line: #e3e9f0;
  --line-strong: #cbd5e1;

  --text: #0f1c2d;
  --text-soft: #4a5a70;
  --text-mute: #7a8699;

  --accent: var(--brand-blue);
  --accent-soft: rgba(21,95,168,.08);
  --cyan: var(--brand-cyan);
  --cyan-soft: rgba(61,172,194,.12);

  --danger: #d94343;
  --ok: #22a35c;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-1: 0 4px 18px rgba(15,28,45,.08);
  --shadow-2: 0 18px 60px rgba(15,28,45,.14);
  --shadow-blue: 0 12px 32px rgba(21,95,168,.25);

  --maxw: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ============== RESET ============== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; cursor: pointer; background: transparent; color: inherit; }
h1, h2, h3, h4 {
  font-family: 'Barlow', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p  { margin: 0 0 1em; color: var(--text-soft); }
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.accent { color: var(--accent); }

/* ============== TOP STRIP ============== */
.top-strip {
  background: var(--brand-blue-deep);
  color: #cfdcec;
  font-size: .82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.ts-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  position: relative;
  white-space: nowrap;
}
.ts-item + .ts-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,.18);
}
.ts-sep { display: none; }
.top-strip a { color: #fff; font-weight: 600; transition: color .2s; }
.top-strip a:hover { color: var(--brand-cyan-light); }
.top-strip strong { color: var(--brand-cyan-light); }
.top-strip strong svg, .ts-item svg { vertical-align: middle; flex: none; }

/* ============== HEADER ============== */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
#site-header.scrolled {
  border-color: var(--line);
  box-shadow: var(--shadow-1);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
}
.brand { display: flex; align-items: center; }
.brand-logo {
  height: 50px;
  width: auto;
  transition: transform .25s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.03); }

.main-nav {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.main-nav a {
  padding: 9px 16px;
  border-radius: 8px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--text);
  transition: color .2s, background .2s;
}
.main-nav a:hover {
  color: var(--brand-blue);
  background: var(--accent-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .01em;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-emergency {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-emergency:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(21,95,168,.4);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  padding: 14px 28px;
  font-size: 1rem;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(21,95,168,.4);
}
.btn-ghost {
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 14px 24px;
}
.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.btn-large { padding: 18px 34px; font-size: 1.1rem; }

.pulse-dot {
  width: 9px; height: 9px;
  background: #fff;
  border-radius: 999px;
  position: relative;
  display: inline-block;
}
.pulse-dot::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .9; }
  100% { transform: scale(2.6); opacity: 0; }
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
}
.nav-toggle span { width: 18px; height: 2px; background: var(--text); transition: .25s; }

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(21,95,168,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21,95,168,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 100%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .25;
}
.glow-1 { width: 520px; height: 520px; background: var(--brand-blue); top: -160px; left: -120px; }
.glow-2 { width: 420px; height: 420px; background: var(--brand-cyan); right: -100px; bottom: -120px; opacity: .2; }

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--brand-blue);
  background: var(--accent-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
  border: 1px solid rgba(21,95,168,.18);
  font-weight: 600;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--brand-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-cyan);
}

.hero-sub {
  font-size: 1.13rem;
  color: var(--text-soft);
  max-width: 540px;
  margin: 8px 0 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--text-soft);
  font-size: .94rem;
}
.hero-features li { display: flex; align-items: center; gap: 8px; }
.hero-features span {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  background: var(--accent-soft);
  color: var(--brand-blue);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
}

/* hero card */
.hero-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}
.card-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--ok);
  background: rgba(34,163,92,.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-weight: 600;
}
.status-dot {
  width: 8px; height: 8px;
  background: var(--ok);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(34,163,92,.18);
}
.hero-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.card-phone {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 18px 0;
  transition: border-color .2s, background .2s;
}
.card-phone:hover { border-color: var(--brand-blue); background: #fff; }
.card-phone span { font-size: .78rem; color: var(--text-mute); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.card-phone strong { font-family: 'Barlow', sans-serif; font-size: 1.7rem; color: var(--brand-blue); margin-top: 2px; }
.hours { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hours div {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}
.hours span { font-size: .72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.hours b { font-size: .9rem; color: var(--text); margin-top: 2px; font-weight: 600; }

/* hero stats */
.hero-stats {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}
.hero-stats > div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s;
}
.hero-stats > div:hover {
  transform: translateY(-2px);
  border-color: var(--brand-blue);
}
.hero-stats strong {
  font-family: 'Barlow', sans-serif;
  font-size: 1.9rem;
  color: var(--brand-blue);
  margin-bottom: 4px;
  font-weight: 800;
}
.hero-stats span { color: var(--text-mute); font-size: .85rem; }

/* ============== SECTIONS ============== */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { font-size: 1.06rem; color: var(--text-soft); }

/* ============== SERVICES GRID ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.service::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-cyan));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s var(--ease);
}
.service:hover {
  transform: translateY(-4px);
  border-color: rgba(21,95,168,.3);
  box-shadow: var(--shadow-2);
}
.service:hover::after { transform: scaleY(1); }
.service-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), var(--cyan-soft));
  color: var(--brand-blue);
  margin-bottom: 18px;
}
.service-icon svg { width: 28px; height: 28px; }
.service h3 { color: var(--text); margin-bottom: 6px; }
.service p { font-size: .92rem; margin: 0 0 14px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: .02em;
  position: relative;
  z-index: 1;
  transition: gap .2s var(--ease);
}
.service:hover .service-link { gap: 8px; color: var(--brand-cyan); }

/* ============== REFERENZEN ============== */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 60px;
}
.ref-logo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.ref-logo:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-1);
}
.ref-mark {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--brand-blue-deep);
  letter-spacing: -.005em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.ref-mark.ref-mercedes {
  color: #000;
  letter-spacing: .04em;
  font-weight: 600;
}
.ref-logo small {
  color: var(--text-mute);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}

.ref-quote {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  color: #fff;
  border-radius: 22px;
  padding: 50px 60px;
  position: relative;
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.ref-quote::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(61,172,194,.3), transparent 70%);
  top: -200px; right: -150px;
}
.ref-quote svg {
  width: 38px; height: 38px;
  color: var(--brand-cyan);
  margin: 0 auto 14px;
  position: relative; z-index: 1;
}
.ref-quote blockquote {
  font-family: 'Barlow', sans-serif;
  font-size: 1.4rem;
  line-height: 1.45;
  font-weight: 500;
  color: #fff;
  margin: 0 0 18px;
  position: relative;
  z-index: 1;
}
.ref-quote cite {
  font-style: normal;
  font-size: .9rem;
  color: var(--brand-cyan-light);
  letter-spacing: .04em;
  position: relative;
  z-index: 1;
}

/* ============== TWO COL ============== */
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.col-text h2 { margin-top: 12px; }
.lead { font-size: 1.1rem; color: var(--text-soft); }

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}
.trust {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
}
.trust strong { color: var(--brand-blue); font-size: 1rem; }
.trust span { color: var(--text-mute); font-size: .82rem; margin-top: 4px; }

.col-visual { position: relative; }
.visual-card {
  background: linear-gradient(150deg, var(--brand-blue), var(--brand-blue-deep));
  color: #fff;
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-2);
  position: relative;
  overflow: hidden;
}
.visual-card::before {
  content: '';
  position: absolute;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(61,172,194,.5), transparent 70%);
  top: -80px; right: -60px;
}
.vc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
  position: relative;
  z-index: 1;
  font-weight: 500;
}
.vc-row:last-child { border-bottom: 0; }
.vc-dot {
  width: 9px; height: 9px;
  background: var(--brand-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(61,172,194,.25);
  flex: none;
}

/* ============== WHY GRID ============== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.why-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.why-item:hover {
  transform: translateY(-4px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-2);
}
.why-num {
  font-family: 'Barlow', sans-serif;
  font-size: .85rem;
  color: var(--brand-cyan);
  letter-spacing: .15em;
  display: block;
  margin-bottom: 14px;
  font-weight: 700;
}
.why-item h3 { color: var(--text); margin-bottom: 6px; }
.why-item p { font-size: .92rem; margin: 0; }

/* ============== CTA BANNER ============== */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(61,172,194,.35), transparent 70%);
  top: -300px; right: -200px;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(61,172,194,.2), transparent 70%);
  bottom: -200px; left: -100px;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; margin-bottom: 4px; }
.cta-inner p { color: rgba(255,255,255,.85); margin: 0; }
.cta-banner .btn-primary {
  background: #fff;
  color: var(--brand-blue);
}
.cta-banner .btn-primary .pulse-dot { background: var(--brand-blue); }
.cta-banner .btn-primary .pulse-dot::after { background: rgba(21,95,168,.6); }
.cta-banner .btn-primary:hover {
  background: var(--brand-cyan-light);
  color: #fff;
}

/* ============== CONTACT ============== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s var(--ease), border-color .25s;
}
.contact-card:hover { border-color: var(--brand-blue); transform: translateY(-2px); }
.contact-card h3 {
  color: var(--brand-blue);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 700;
}
.contact-card p { color: var(--text); margin: 0; line-height: 1.7; }
.contact-card small { color: var(--text-mute); font-size: .82rem; }
.contact-card a { color: var(--brand-blue); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 380px;
  box-shadow: var(--shadow-1);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ============== FOOTER ============== */
#footer {
  background: var(--brand-blue-deep);
  color: #b6c5d8;
  padding-top: 70px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.foot-logo {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.foot-brand p { margin-top: 8px; max-width: 320px; font-size: .9rem; color: #94a8c0; }
.foot-col h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 8px; }
.foot-col a { color: #b6c5d8; font-size: .9rem; transition: color .2s; }
.foot-col a:hover { color: var(--brand-cyan-light); }
.foot-base {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
}
.foot-base .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: #7a8cab;
}

/* ============== FLOAT CALL ============== */
.float-call {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  z-index: 40;
  animation: float-pulse 2.4s ease-in-out infinite;
}
@keyframes float-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ============== REVEAL ANIMATIONS ============== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== SERVICE DETAIL PAGES ============== */
.detail-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color: #fff;
}
.detail-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  filter: saturate(.7);
}
.detail-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,41,68,.4), rgba(6,41,68,.85));
}
.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 80px 0 60px;
  width: 100%;
}
.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-cyan-light);
  font-size: .85rem;
  margin-bottom: 18px;
  font-weight: 500;
}
.crumb a { color: var(--brand-cyan-light); }
.crumb a:hover { color: #fff; }
.crumb span { color: rgba(255,255,255,.4); }
.detail-hero h1 {
  color: #fff;
  margin: 0 0 14px;
  max-width: 760px;
}
.detail-hero p {
  color: rgba(255,255,255,.85);
  font-size: 1.13rem;
  max-width: 640px;
  margin: 0;
}

.detail-section { padding: 80px 0; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.detail-grid h2 { margin-top: 0; }
.detail-grid h3 { font-size: 1.2rem; margin-top: 28px; color: var(--brand-blue-deep); }
.detail-grid p { font-size: 1rem; }
.detail-grid ul {
  padding-left: 0;
  list-style: none;
  margin: 18px 0;
}
.detail-grid ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text);
}
.detail-grid ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 8px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--brand-blue);
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 800;
}

.detail-side {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  position: sticky;
  top: 110px;
}
.detail-side h4 {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
  font-weight: 700;
}
.detail-side .card-phone {
  margin: 0 0 18px;
}
.detail-side ul { list-style: none; padding: 0; margin: 14px 0 0; }
.detail-side ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
  color: var(--text-soft);
}
.detail-side ul li:last-child { border-bottom: 0; }

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 36px 0;
}
.detail-gallery figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}
.detail-gallery figure img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s var(--ease);
}
.detail-gallery figure:hover img { transform: scale(1.04); }
.detail-gallery figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(6,41,68,.85));
  color: #fff;
  padding: 30px 16px 14px;
  font-size: .85rem;
  font-weight: 500;
}

/* Placeholder image (for services without photos) */
.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  display: grid; place-items: center;
  color: rgba(255,255,255,.5);
}
.img-placeholder svg { width: 64px; height: 64px; }

/* ============== SHOP HEADER / NAV ============== */
.cart-btn {
  position: relative;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: border-color .25s, color .25s, background .25s;
}
.cart-btn:hover { border-color: var(--brand-blue); color: var(--brand-blue); background: var(--accent-soft); }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid #fff;
  transform: scale(0);
  transition: transform .25s var(--ease);
}
.cart-count.has-items { transform: scale(1); }

.nav-shop.active { color: var(--brand-blue); background: var(--accent-soft); }

/* ============== SHOP HERO ============== */
.shop-hero {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.shop-hero::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(61,172,194,.3), transparent 70%);
  top: -250px; right: -250px;
}
.shop-hero .container { position: relative; z-index: 1; }
.shop-hero .eyebrow {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.2);
  color: #fff;
}
.shop-hero h1 {
  color: #fff;
  margin: 18px 0 14px;
  max-width: 760px;
}
.shop-hero p { color: rgba(255,255,255,.85); max-width: 640px; font-size: 1.1rem; }
.shop-hero-features {
  display: flex; flex-wrap: wrap; gap: 22px;
  margin-top: 24px;
  font-size: .9rem;
  color: rgba(255,255,255,.92);
}
.shop-hero-features div { display: inline-flex; align-items: center; gap: 8px; }
.shop-hero-features svg { color: var(--brand-cyan); flex: none; }

/* ============== SHOP TOOLBAR ============== */
.shop-body { padding-top: 50px; }
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.category-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: .88rem;
  font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.cat-pill:hover { background: var(--accent-soft); color: var(--brand-blue); }
.cat-pill.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  min-width: 250px;
  color: var(--text-mute);
  transition: border-color .2s;
}
.search-field:focus-within { border-color: var(--brand-blue); background: #fff; }
.search-field input {
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--text);
  flex: 1;
  font-size: .92rem;
}

/* ============== PRODUCT GRID ============== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 80px;
}
.prod-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-mute);
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(21,95,168,.3);
  box-shadow: var(--shadow-1);
}
.prod-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-soft), #e5edf6);
  display: grid;
  place-items: center;
  position: relative;
  color: var(--brand-blue);
}
.prod-image[data-cat="zylinder"] { background: linear-gradient(135deg, #eaf3fc, #d6e8f7); }
.prod-image[data-cat="tresore"] { background: linear-gradient(135deg, #d8e0eb, #c0cbdc); color: var(--brand-blue-deep); }
.prod-image[data-cat="stempel"] { background: linear-gradient(135deg, #fbeaea, #f6d4d4); color: #b13c3c; }
.prod-image[data-cat="briefkasten"] { background: linear-gradient(135deg, #e8eef5, #d2dde9); }
.prod-image[data-cat="beschlag"] { background: linear-gradient(135deg, #ebebeb, #d4d4d4); color: #444; }
.prod-image[data-cat="gravur"] { background: linear-gradient(135deg, #fcf4dd, #f4e2a3); color: #8a6e16; }
.prod-image[data-cat="zubehor"] { background: linear-gradient(135deg, #e0f1f4, #c2dee3); color: #1f6873; }
.prod-image svg { width: 80px; height: 80px; opacity: .6; }
.prod-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--brand-blue);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 10px;
  border-radius: 999px;
}
.prod-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.prod-brand {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
  margin-bottom: 4px;
}
.product-card h3 {
  font-size: 1.02rem;
  margin: 0 0 6px;
  color: var(--text);
  line-height: 1.3;
}
.prod-short {
  font-size: .88rem;
  color: var(--text-soft);
  margin: 0 0 14px;
  flex: 1;
}
.prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.prod-price {
  display: flex;
  flex-direction: column;
}
.prod-price > span {
  font-family: 'Barlow', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-blue);
}
.prod-price small { font-size: .7rem; color: var(--text-mute); }
.btn-add {
  padding: 9px 14px;
  font-size: .82rem;
}
.prod-detail {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
}
.prod-detail summary {
  font-size: .82rem;
  color: var(--brand-blue);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.prod-detail summary::after {
  content: '';
  margin-left: auto;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s;
}
.prod-detail[open] summary::after { transform: rotate(-135deg); }
.prod-detail p {
  margin: 10px 0 0;
  font-size: .85rem;
  color: var(--text-soft);
  line-height: 1.55;
}
.prod-sku {
  display: block;
  margin-top: 8px;
  font-size: .7rem;
  color: var(--text-mute);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ============== CART SECTION ============== */
.cart-section {
  background: var(--bg-soft);
  padding: 50px 32px;
  border-radius: 22px;
  border: 1px solid var(--line);
  margin-bottom: 60px;
}
.cart-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-mute);
}
.cart-empty svg { color: var(--brand-blue); opacity: .35; margin: 0 auto 14px; }
.cart-empty h3 { color: var(--text); margin-bottom: 6px; }
.cart-body {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 32px;
  align-items: flex-start;
}
.cart-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-row:last-child { border-bottom: 0; }
.cart-row-info strong { display: block; font-size: .98rem; color: var(--text); }
.cart-row-info small { font-size: .75rem; color: var(--text-mute); letter-spacing: .08em; text-transform: uppercase; }
.cart-row-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
}
.qty-btn {
  width: 32px; height: 32px;
  background: var(--bg-soft);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-blue);
  display: grid; place-items: center;
  transition: background .2s;
}
.qty-btn:hover { background: var(--accent-soft); }
.cart-row-qty input {
  width: 44px; height: 32px;
  border: 0; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
  text-align: center;
  font: inherit;
  font-weight: 600;
  background: #fff;
  color: var(--text);
  outline: 0;
  -moz-appearance: textfield;
}
.cart-row-qty input::-webkit-outer-spin-button,
.cart-row-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-row-price {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 1.1rem;
  min-width: 80px;
  text-align: right;
}
.cart-row-remove {
  width: 32px; height: 32px;
  border-radius: 8px;
  color: var(--text-mute);
  display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.cart-row-remove:hover { background: rgba(217,67,67,.1); color: var(--danger); }

.cart-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.cart-summary h3 {
  font-size: 1.1rem;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.cart-summary dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  margin: 0 0 18px;
}
.cart-summary dt { color: var(--text-soft); font-size: .92rem; }
.cart-summary dd { color: var(--text); font-weight: 500; margin: 0; text-align: right; font-size: .95rem; }
.dt-total { font-weight: 700; color: var(--text); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.dd-total { font-family: 'Barlow', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--brand-blue); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.checkout-btn { width: 100%; justify-content: center; }
.cart-note { font-size: .82rem; color: var(--text-mute); margin: 14px 0 0; text-align: center; }

/* ============== SHOP INFO ============== */
.shop-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 60px;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.info-card p { font-size: .9rem; }
.info-link {
  font-weight: 600;
  color: var(--brand-blue);
  font-size: .9rem;
}
.info-link:hover { text-decoration: underline; }

/* ============== TOAST ============== */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 200%);
  background: var(--brand-blue-deep);
  color: #fff;
  padding: 14px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  z-index: 200;
  transition: transform .35s var(--ease);
  max-width: 90vw;
}
.cart-toast.show { transform: translate(-50%, 0); }
.cart-toast svg { color: var(--ok); flex: none; background: rgba(34,163,92,.2); border-radius: 50%; padding: 4px; box-sizing: content-box; }
.cart-toast-link {
  color: var(--brand-cyan-light);
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
}

/* ============== CHECKOUT ============== */
.checkout-section { padding-top: 50px; }
.checkout-head { max-width: 720px; margin-bottom: 40px; }
.checkout-head h1 { margin: 14px 0 8px; }
.back-link { color: var(--text-mute); font-size: .9rem; }
.back-link:hover { color: var(--brand-blue); }

.checkout-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}
.checkout-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 0 0 18px;
  background: #fff;
}
.checkout-form legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: .92rem;
  letter-spacing: .03em;
}
.checkout-form label {
  display: block;
  margin-bottom: 14px;
  font-size: .85rem;
  color: var(--text-soft);
  font-weight: 500;
}
.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 11px 14px;
  margin-top: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.checkout-form textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.field-row { display: flex; gap: 14px; }
.field-row label { flex: 1; }
.field-row label.grow { flex: 2; }
.radio-block {
  display: flex !important;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 8px !important;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.radio-block:has(input:checked) { border-color: var(--brand-blue); background: var(--accent-soft); }
.radio-block input { margin-top: 3px; flex: none; accent-color: var(--brand-blue); }
.radio-block strong { display: block; color: var(--text); font-size: .94rem; margin-bottom: 2px; font-weight: 600; }
.radio-block small { font-size: .82rem; color: var(--text-mute); }

.agb-check {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .88rem !important;
  color: var(--text) !important;
  margin: 0 0 18px !important;
  cursor: pointer;
}
.agb-check input { margin-top: 3px; accent-color: var(--brand-blue); flex: none; }
.agb-check a { color: var(--brand-blue); text-decoration: underline; }

.checkout-submit { width: 100%; justify-content: center; font-size: 1.05rem; }
.checkout-disclaimer {
  margin-top: 18px;
  font-size: .82rem;
  color: var(--text-mute);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 14px 16px;
}

.checkout-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 100px;
}
.checkout-summary h3 { font-size: 1.05rem; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.co-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .9rem;
  align-items: flex-start;
}
.co-row:last-of-type { border-bottom: 0; padding-bottom: 14px; }
.co-row strong { display: block; color: var(--text); font-weight: 600; }
.co-row small { color: var(--text-mute); font-size: .78rem; display: block; margin-top: 2px; }
.co-line-total { font-weight: 600; color: var(--brand-blue); white-space: nowrap; font-family: 'Barlow', sans-serif; }
#checkout-totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
}
#checkout-totals dt { color: var(--text-soft); font-size: .92rem; }
#checkout-totals dd { margin: 0; text-align: right; color: var(--text); font-weight: 500; }

.order-confirm {
  position: fixed;
  inset: 0;
  background: rgba(11,28,45,.6);
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.order-card {
  background: #fff;
  border-radius: 22px;
  padding: 50px 40px;
  max-width: 520px;
  text-align: center;
  box-shadow: var(--shadow-2);
}
.order-card svg { color: var(--ok); margin: 0 auto 12px; }
.order-card h2 { color: var(--text); margin-bottom: 8px; }
.order-card p { color: var(--text-soft); }
.order-card a { color: var(--brand-blue); }
.order-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============== STAMP TYPES (auf stempel.html) ============== */
.stamp-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 24px 0 30px;
}
.stamp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.stamp-preview {
  background: #fbf6ed;
  border: 2px solid #b13c3c;
  border-radius: 6px;
  padding: 14px 8px;
  margin-bottom: 12px;
  color: #b13c3c;
  font-family: 'Courier New', monospace;
  font-size: .82rem;
  line-height: 1.3;
  font-weight: 700;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stamp-preview small { font-weight: 500; font-size: .72rem; }
.stamp-preview.stamp-round {
  border-radius: 50%;
  width: 110px; height: 110px;
  margin: 0 auto 12px;
  font-size: .72rem;
  line-height: 1.2;
  padding: 6px;
}
.stamp-preview.stamp-date { background: #f4f9fc; border-color: var(--brand-blue); color: var(--brand-blue); }
.stamp-preview.stamp-text { font-size: 1.4rem; letter-spacing: .15em; }
.stamp-card h4 { font-size: .92rem; margin: 8px 0 4px; color: var(--text); }
.stamp-card p { font-size: .8rem; color: var(--text-mute); margin: 0; }

/* ============== HERO BADGE / FEATURED SERVICE ============== */
.hero-badge {
  display: inline-block;
  background: rgba(61,172,194,.2);
  border: 1px solid rgba(61,172,194,.4);
  color: var(--brand-cyan-light);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.service-featured {
  position: relative;
  background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 100%);
  border-color: var(--brand-blue);
}
.service-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  align-self: flex-start;
  position: relative;
  z-index: 2;
}
.services-cta {
  text-align: center;
  margin-top: 36px;
}

/* numbered list (used on detail pages) */
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  counter-reset: step;
}
.numbered-list li {
  position: relative;
  padding: 12px 0 12px 48px;
  counter-increment: step;
  color: var(--text);
}
.numbered-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 12px;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  color: var(--brand-blue);
  font-size: 1rem;
  background: var(--accent-soft);
  width: 36px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
}

.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.branch {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
}
.branch strong { color: var(--brand-blue); font-size: .92rem; }
.branch span { color: var(--text-mute); font-size: .8rem; margin-top: 2px; }

/* Branch-Image-Grid (mit echten Bildern) */
.branch-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0 28px;
}
.branch-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.branch-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.branch-img:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.branch-img:hover img { transform: scale(1.06); }
.branch-img span {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(6,41,68,.92), rgba(6,41,68,.6) 40%, transparent);
  color: #fff;
  padding: 32px 16px 14px;
  font-size: .82rem;
  line-height: 1.35;
}
.branch-img strong {
  display: block;
  font-size: .98rem;
  margin-bottom: 2px;
  color: #fff;
}

/* ============== WIZARD (Türöffnungs-Preisrechner) ============== */
.wizard-hero {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.wizard-hero::before {
  content: '';
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(61,172,194,.3), transparent 70%);
  top: -250px; right: -250px;
}
.wizard-hero .container { position: relative; z-index: 1; }
.wizard-hero .eyebrow { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.2); color: #fff; }
.wizard-hero h1 { color: #fff; margin: 18px 0 14px; max-width: 760px; }
.wizard-hero p { color: rgba(255,255,255,.85); max-width: 640px; font-size: 1.1rem; }

.wizard-section { padding: 60px 0 100px; background: var(--bg-soft); }
.wizard-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 36px;
  align-items: start;
}
.wizard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px 40px;
  box-shadow: var(--shadow-1);
}
.wizard-progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.wizard-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
}
.wizard-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  width: 20%;
  transition: width .35s var(--ease);
}
.wizard-progress-text { font-size: .85rem; color: var(--text-mute); font-weight: 500; }

.wizard-step { display: none; }
.wizard-step.active { display: block; animation: wizFade .35s var(--ease); }
@keyframes wizFade { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }
.wizard-step.shake { animation: shake .4s; }
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.wizard-step h2 { margin-bottom: 6px; }
.step-desc { color: var(--text-soft); margin: 0 0 22px; font-size: .95rem; }

.wizard-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
}
.wopt {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  margin: 0 !important;
}
.wopt:hover { border-color: var(--brand-blue); background: var(--accent-soft); }
.wopt input { margin-top: 3px; flex: none; accent-color: var(--brand-blue); }
.wopt:has(input:checked) { border-color: var(--brand-blue); background: var(--accent-soft); }
.wopt strong { display: block; color: var(--text); font-size: .94rem; margin-bottom: 2px; font-weight: 600; }
.wopt small { font-size: .82rem; color: var(--text-mute); }

.wizard-form { display: grid; gap: 14px; }
.wizard-form label { display: block; font-size: .85rem; color: var(--text-soft); font-weight: 500; }
.wizard-form input, .wizard-form textarea {
  width: 100%;
  padding: 11px 14px;
  margin-top: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.wizard-form input:focus, .wizard-form textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.wizard-form .field-error { border-color: var(--danger); background: rgba(217,67,67,.05); }

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.price-box {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  color: #fff;
  border-radius: 18px;
  padding: 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.price-box::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(61,172,194,.4), transparent 70%);
  top: -150px; right: -100px;
}
.price-box small { display: block; font-size: .8rem; color: rgba(255,255,255,.7); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 8px; position: relative; z-index: 1; }
.price-box strong { font-family: 'Barlow', sans-serif; font-size: 3rem; font-weight: 800; color: #fff; line-height: 1; display: block; position: relative; z-index: 1; }
.price-box span { display: block; margin-top: 10px; color: rgba(255,255,255,.85); font-size: .9rem; position: relative; z-index: 1; }

.price-breakdown {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 22px;
}
.brk-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .92rem;
  color: var(--text);
}
.brk-row:last-child { border-bottom: 0; }
.brk-row b { color: var(--brand-blue); font-family: 'Barlow', sans-serif; }
.brk-row.brk-total { padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); border-bottom: 0; font-weight: 700; font-size: 1.05rem; }
.brk-row.brk-total b { color: var(--brand-blue); font-size: 1.2rem; }

.price-disclaimer {
  background: rgba(34,163,92,.06);
  border: 1px solid rgba(34,163,92,.2);
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 24px;
}
.price-disclaimer strong { color: var(--ok); display: block; margin-bottom: 8px; }
.price-disclaimer ul { margin: 0; padding-left: 22px; }
.price-disclaimer ul li { font-size: .9rem; color: var(--text-soft); padding: 4px 0; }

.wizard-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 100px;
}
.wizard-side h4 {
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
  font-weight: 700;
}
.price-info { list-style: none; padding: 0; margin: 0; }
.price-info li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .88rem;
}
.price-info li:last-child { border-bottom: 0; }
.price-info b { color: var(--brand-blue); font-family: 'Barlow', sans-serif; }

.cta-inline {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* ============== UPLOAD ZONE ============== */
.anfrage-form fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 0 0 18px;
  background: #fff;
}
.anfrage-form legend {
  padding: 0 8px;
  font-weight: 700;
  color: var(--brand-blue);
  font-size: .92rem;
  letter-spacing: .03em;
}
.anfrage-form label {
  display: block;
  margin-bottom: 14px;
  font-size: .85rem;
  color: var(--text-soft);
  font-weight: 500;
}
.anfrage-form input, .anfrage-form textarea, .anfrage-form select {
  width: 100%;
  padding: 11px 14px;
  margin-top: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.anfrage-form input:focus, .anfrage-form textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.anfrage-form textarea { resize: vertical; font-family: inherit; min-height: 90px; }

.quick-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qrad {
  margin: 0 !important;
  cursor: pointer;
}
.qrad input { position: absolute; opacity: 0; pointer-events: none; }
.qrad span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 500;
  background: #fff;
  color: var(--text);
  transition: all .2s;
}
.qrad input:checked + span {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.qrad:hover span { border-color: var(--brand-blue); color: var(--brand-blue); }
.qrad input:checked:hover + span { color: #fff; }

.upload-zone {
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: var(--bg-soft);
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--brand-blue);
  background: var(--accent-soft);
}
.upload-zone svg { color: var(--brand-blue); margin: 0 auto 12px; opacity: .7; }
.upload-zone strong { display: block; color: var(--text); font-size: 1rem; }
.upload-zone small { color: var(--text-mute); font-size: .82rem; margin-top: 4px; display: block; }

.upload-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.up-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
}
.up-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.up-thumb-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  padding: 18px 10px 8px;
  font-size: .72rem;
}
.up-thumb-info span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.up-thumb-info small { color: rgba(255,255,255,.7); font-size: .65rem; }
.up-thumb-remove {
  position: absolute;
  top: 6px; right: 6px;
  width: 26px; height: 26px;
  background: rgba(0,0,0,.6);
  color: #fff;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .2s;
}
.up-thumb-remove:hover { background: var(--danger); }

.anfrage-confirm {
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-soft);
  border-radius: 22px;
  border: 1px solid var(--line);
}
.anfrage-confirm svg { color: var(--ok); margin: 0 auto 14px; }
.anfrage-confirm h2 { color: var(--text); margin-bottom: 8px; }
.anfrage-confirm p { color: var(--text-soft); }
.anfrage-confirm a { color: var(--brand-blue); }

/* ============== CHATBOT ============== */
.sancak-chatbot { position: fixed; right: 20px; bottom: 90px; z-index: 80; }
@media (max-width: 980px) { .sancak-chatbot { right: 90px; bottom: 24px; } }

.cb-fab {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  position: relative;
  transition: transform .25s var(--ease), opacity .25s;
}
.cb-fab:hover { transform: scale(1.05); }
.cb-fab.hidden { transform: scale(0); opacity: 0; pointer-events: none; }
.cb-fab.cb-pulse::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 3px solid var(--brand-cyan);
  animation: cbPulse 1.6s ease-out infinite;
}
@keyframes cbPulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.cb-fab-badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--brand-cyan);
  color: #1a1a1a;
  font-size: .72rem;
  font-weight: 800;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
}

.cb-panel {
  width: 360px;
  max-width: calc(100vw - 40px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--line);
  position: absolute;
  bottom: 0; right: 0;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition: transform .25s var(--ease), opacity .25s;
  overflow: hidden;
}
.cb-panel.open { transform: translateY(0) scale(1); opacity: 1; }

.cb-head {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cb-avatar {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.cb-head-text { flex: 1; line-height: 1.2; }
.cb-head-text strong { display: block; font-size: .95rem; }
.cb-head-text small { color: rgba(255,255,255,.85); font-size: .76rem; display: flex; align-items: center; gap: 5px; }
.cb-online { width: 7px; height: 7px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 0 3px rgba(74,222,128,.3); }
.cb-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  background: rgba(255,255,255,.12);
  display: grid; place-items: center;
  transition: background .2s;
}
.cb-close:hover { background: rgba(255,255,255,.25); }

.cb-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cb-msg { display: flex; }
.cb-msg-bot { justify-content: flex-start; }
.cb-msg-user { justify-content: flex-end; }
.cb-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: .92rem;
  line-height: 1.4;
  animation: cbBubble .25s var(--ease);
}
@keyframes cbBubble { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.cb-msg-bot .cb-bubble {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  border-bottom-left-radius: 6px;
}
.cb-msg-user .cb-bubble {
  background: var(--brand-blue);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.cb-replies {
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}
.cb-reply {
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .85rem;
  color: var(--brand-blue);
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cb-reply:hover { background: var(--accent-soft); border-color: var(--brand-blue); }

.cb-foot {
  padding: 10px 16px;
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  color: var(--text-mute);
  text-align: center;
}
.cb-foot a { color: var(--brand-blue); font-weight: 600; }

/* ============== ADMIN PANEL ============== */
.admin-tag {
  background: rgba(217,67,67,.12);
  color: var(--danger);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-left: 14px;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-1);
}
.admin-warning {
  background: rgba(255,165,0,.08);
  border-left: 3px solid #ffa500;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .85rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.admin-warning strong { color: #c08400; }

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.admin-head h1 { margin-bottom: 4px; }
.admin-head p { color: var(--text-soft); margin: 0; max-width: 580px; font-size: .92rem; }
.admin-head code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; font-size: .85em; color: var(--brand-blue); }
.admin-head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.admin-toolbar {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-table th, .admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.admin-table th {
  background: var(--bg-soft);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 700;
}
.admin-table .r { text-align: right; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: var(--bg-soft); }
.admin-table code { font-size: .82rem; color: var(--brand-blue); background: var(--accent-soft); padding: 2px 6px; border-radius: 4px; }
.admin-table small { color: var(--text-mute); font-size: .8rem; }
.cat-tag {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--bg-soft);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.adm-act {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--brand-blue);
  font-size: 1rem;
  margin-left: 4px;
  transition: background .2s, color .2s;
}
.adm-act:hover { background: var(--accent-soft); }
.adm-act-del:hover { background: rgba(217,67,67,.1); color: var(--danger); }

.admin-help {
  margin-top: 20px;
  background: var(--accent-soft);
  border-left: 3px solid var(--brand-blue);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .88rem;
  color: var(--text-soft);
}
.admin-help code { background: #fff; padding: 2px 6px; border-radius: 4px; color: var(--brand-blue); font-size: .9em; }

.admin-modal {
  position: fixed; inset: 0;
  background: rgba(11,28,45,.6);
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.admin-modal-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.admin-modal-wide { max-width: 760px; }
.admin-modal-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.admin-modal-card h2 { margin: 0; }
.admin-modal-card label {
  display: block;
  margin-bottom: 14px;
  font-size: .85rem;
  color: var(--text-soft);
  font-weight: 500;
}
.admin-modal-card input, .admin-modal-card select, .admin-modal-card textarea {
  width: 100%;
  padding: 11px 14px;
  margin-top: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font: inherit;
  outline: none;
}
.admin-modal-card input:focus, .admin-modal-card select:focus, .admin-modal-card textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: flex-end;
}

.stripe-option {
  background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 100%);
}
.stripe-option strong::after {
  content: '🔐';
  margin-left: 6px;
}

/* ============== ADMIN TABS / NEW BLOCKS ============== */
.admin-session {
  background: var(--ok);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  margin-left: 12px;
}
.admin-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-soft);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin-bottom: 30px;
  overflow-x: auto;
  flex-wrap: nowrap;
}
.adm-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: transparent;
  color: var(--text-soft);
  font-weight: 600;
  font-size: .9rem;
  border: 0;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.adm-tab:hover { color: var(--brand-blue); background: rgba(255,255,255,.6); }
.adm-tab.active { background: #fff; color: var(--brand-blue); box-shadow: var(--shadow-1); }
.adm-tab svg { flex: none; }
.tab-count {
  background: var(--accent-soft);
  color: var(--brand-blue);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
}
.adm-tab.active .tab-count { background: var(--brand-blue); color: #fff; }

.adm-pane { display: none; }
.adm-pane.active { display: block; }

.prod-thumb {
  width: 56px; height: 42px;
  border-radius: 8px;
  background: var(--bg-soft);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 1.2rem;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* THEMEN-BILDER */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.img-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.img-card:hover { border-color: var(--brand-blue); box-shadow: var(--shadow-1); }
.img-preview {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
}
.img-preview img { width: 100%; height: 100%; object-fit: cover; }
.img-card-body { padding: 16px 18px; }
.img-card-body h3 { font-size: 1rem; margin: 0 0 4px; }
.img-card-body small { font-size: .76rem; color: var(--text-mute); display: block; margin-bottom: 12px; word-break: break-all; }
.img-card-body small code { background: var(--bg-soft); padding: 2px 6px; border-radius: 4px; }
.img-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.img-card-actions .btn { padding: 8px 14px; font-size: .82rem; }
.img-upload-btn { cursor: pointer; }

/* ANFRAGEN/BEWERBUNGEN/BESTELLUNGEN */
.adm-list { display: flex; flex-direction: column; gap: 8px; }
.adm-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s;
}
.adm-item[open] { border-color: var(--brand-blue); }
.adm-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: .9rem;
  flex-wrap: wrap;
}
.adm-item summary::-webkit-details-marker { display: none; }
.adm-id {
  background: var(--accent-soft);
  color: var(--brand-blue);
  font-family: 'Courier New', monospace;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 700;
}
.adm-type {
  font-size: .76rem;
  background: var(--bg-soft);
  color: var(--text-soft);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.adm-name { font-weight: 600; color: var(--text); flex: 1; min-width: 120px; }
.adm-price { font-family: 'Barlow', sans-serif; font-weight: 800; color: var(--brand-blue); }
.adm-date { color: var(--text-mute); font-size: .82rem; }
.adm-detail {
  padding: 16px 22px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  font-size: .88rem;
  line-height: 1.7;
}
.adm-detail > div { padding: 3px 0; }
.adm-detail strong { color: var(--text); display: inline-block; min-width: 110px; }

.empty-state {
  background: var(--bg-soft);
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  color: var(--text-mute);
}

/* ============== KARRIERE / JOBS ============== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.job-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.job-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-2);
}
.job-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--accent-soft);
  color: var(--brand-blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.job-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--text);
}
.job-summary {
  font-size: .94rem;
  color: var(--text-soft);
  margin: 0 0 16px;
}
.job-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  flex: 1;
}
.job-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: .88rem;
  color: var(--text);
}
.job-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--brand-blue);
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 800;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 0 16px;
  margin-top: 8px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--text-mute);
}
.apply-btn {
  width: 100%;
  justify-content: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.check-list li {
  padding: 9px 0 9px 30px;
  position: relative;
  font-size: .96rem;
  color: var(--text);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 9px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 800;
}

/* ============== QUICK BANNER (Preisrechner + Anfrage) ============== */
.quick-banner {
  padding: 28px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.qb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.qb-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  border: 1px solid var(--line);
}
.qb-card-blue {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
  color: #fff;
  border-color: transparent;
}
.qb-card-cyan {
  background: #fff;
  border-color: var(--brand-cyan);
  border-width: 2px;
}
.qb-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}
.qb-card::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  top: -100px; right: -80px;
  pointer-events: none;
}
.qb-card-blue::before { background: radial-gradient(circle, rgba(61,172,194,.4), transparent 70%); }
.qb-card-cyan::before { background: radial-gradient(circle, rgba(61,172,194,.18), transparent 70%); }

.qb-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  flex: none;
  position: relative; z-index: 1;
}
.qb-card-blue .qb-icon { background: rgba(255,255,255,.18); color: #fff; }
.qb-card-cyan .qb-icon { background: var(--accent-soft); color: var(--brand-blue); }

.qb-text { flex: 1; position: relative; z-index: 1; min-width: 0; }
.qb-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.qb-card-blue .qb-tag { background: rgba(61,172,194,.4); color: #fff; }
.qb-card-cyan .qb-tag { background: var(--brand-cyan); color: #fff; }
.qb-text h3 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: inherit;
}
.qb-card-blue .qb-text h3 { color: #fff; }
.qb-text p { margin: 0; font-size: .92rem; line-height: 1.4; color: inherit; opacity: .9; }
.qb-card-cyan .qb-text p { color: var(--text-soft); opacity: 1; }

.qb-arrow {
  font-size: 1.6rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: transform .2s var(--ease);
  flex: none;
}
.qb-card:hover .qb-arrow { transform: translateX(4px); }

/* ============== MAP LINK ============== */
.map-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: .92rem;
}
.map-link:hover { text-decoration: underline; }

/* ============== STICKY MOBILE BAR (Notruf-Anrufen unten) ============== */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  z-index: 50;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  display: none;
  gap: 8px;
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 8px;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  min-height: 48px;
}
.mobile-bar .mb-call {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  box-shadow: var(--shadow-blue);
  flex: 1.4;
}
.mobile-bar .mb-link {
  background: var(--bg-soft);
  color: var(--brand-blue);
  border: 1px solid var(--line-strong);
}
.mobile-bar svg { flex: none; }

/* ============== RESPONSIVE ============== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .btn-emergency { display: none; }
  .float-call { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 8px; right: 8px;
    margin-top: 4px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 8px;
    box-shadow: var(--shadow-2);
    gap: 0;
  }
  .main-nav.open a {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
  }
  .main-nav.open a:last-child { border-bottom: 0; }
  .main-nav.open a:hover { background: var(--accent-soft); }

  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-side { position: static; }
  .ref-quote { padding: 36px 28px; }
  .ref-quote blockquote { font-size: 1.15rem; }

  .wizard-grid { grid-template-columns: 1fr; gap: 28px; }
  .wizard-side { position: static; }
  .wizard { padding: 24px 22px; }
  .wizard-options { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; gap: 28px; }
  .checkout-summary { position: static; }
  .cb-panel { width: calc(100vw - 32px); height: 460px; right: 0; bottom: 70px; }
  .sancak-chatbot { right: 16px; bottom: 80px; }
  .float-call { right: 16px; bottom: 80px; }
  .mobile-bar { display: flex; }
  body.has-mbar { padding-bottom: 72px; }

  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .admin-table td { padding: 4px 16px; border: 0; }
  .admin-table td.r { text-align: left; }
}

@media (max-width: 640px) {
  /* spacing */
  .section { padding: 60px 0; }
  .hero { padding: 32px 0 20px; }
  .container { padding: 0 16px; }

  /* hero */
  h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.45rem, 5vw, 1.85rem); }
  .hero-sub { font-size: 1rem; margin-bottom: 24px; }
  .hero-features { gap: 12px 18px; }
  .hero-cta .btn { flex: 1; justify-content: center; min-height: 50px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
  .hero-stats > div { padding: 14px 16px; }
  .hero-stats strong { font-size: 1.3rem; }
  .hero-stats span { font-size: .78rem; }
  .hero-card { padding: 22px 20px; border-radius: 18px; }
  .hero-card h3 { font-size: 1.2rem; }
  .hero-card p { font-size: .94rem; }
  .card-phone strong { font-size: 1.45rem; }

  /* header */
  .nav-wrap { padding: 12px 16px; gap: 12px; }
  .brand-logo { height: 38px; }
  .cart-btn { width: 40px; height: 40px; }

  /* sections */
  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: .96rem; }
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .service { padding: 22px 20px; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-item { padding: 24px 22px; }
  .trust-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; align-items: stretch; gap: 18px; }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-banner .btn { width: 100%; justify-content: center; }

  /* top strip — only essentials on mobile */
  .top-strip { font-size: .78rem; padding: 7px 0; }
  .ts-item { padding: 0 12px; }
  .top-strip .ts-item:not(:first-child) { display: none; }

  /* shop / cart / wizard */
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .search-field { width: 100%; min-width: 0; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card { font-size: .9rem; }
  .prod-image { aspect-ratio: 1 / 1; }
  .prod-image svg { width: 56px; height: 56px; }
  .prod-body { padding: 14px 14px 16px; }
  .product-card h3 { font-size: .92rem; }
  .prod-short { font-size: .8rem; margin-bottom: 10px; }
  .btn-add { padding: 8px 10px; font-size: .76rem; }
  .prod-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .prod-foot .btn-add { width: 100%; justify-content: center; }

  .cart-section { padding: 24px 16px; border-radius: 16px; }
  .cart-body { grid-template-columns: 1fr; gap: 20px; }
  .cart-summary { position: static; padding: 22px; }
  .cart-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 14px 16px;
  }
  .cart-row-info { grid-column: 1 / -1; }
  .cart-row-qty { grid-column: 1; }
  .cart-row-price { grid-column: 2; min-width: 70px; font-size: 1rem; }
  .cart-row-remove { grid-column: 2; justify-self: end; }

  .wizard { padding: 20px 18px; border-radius: 16px; }
  .wopt { padding: 12px 14px; }
  .price-box strong { font-size: 2.4rem; }
  .wizard-actions { flex-direction: row-reverse; }
  .wizard-actions .btn { flex: 1; min-height: 48px; justify-content: center; }

  .checkout-form fieldset { padding: 18px 18px; border-radius: 14px; }
  .field-row { flex-direction: column; gap: 10px; }
  .checkout-section { padding: 28px 0; }
  .checkout-grid { gap: 22px; }

  .preisrechner-banner { padding: 28px 22px !important; flex-direction: column !important; text-align: center; gap: 18px; }
  .preisrechner-banner .pb-btn { width: 100%; }
}

/* ============== iOS-Tap Optimization ============== */
@media (hover: none) {
  .service:hover, .why-item:hover, .ref-logo:hover, .product-card:hover {
    transform: none;
  }
  /* Stronger active feedback for touch */
  .btn:active, .service:active, .product-card:active { transform: scale(.98); }
}
