/* ── Self-hosted Fonts ──────────────────────────── */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Fraunces-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Fraunces-600i.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/Inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/Inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Inter-700.woff2') format('woff2');
}

/* ── Tokens ─────────────────────────────────────── */
:root {
  --bg:           #F4F1EA;
  --surface:      #FFFFFF;
  --surface-alt:  #ECE7DC;
  --primary:      #12314E;
  --primary-dark: #0B2136;
  --accent:       #12314E;
  --silver:       #9AA3AC;
  --silver-light: #C9CFD6;
  --text:         #262523;
  --text-muted:   #6B6B63;
  --border:       #DDD6C7;
  --border-strong:#C7BFA9;

  --radius:     10px;
  --radius-lg:  18px;
  --shadow-soft: 0 4px 24px rgba(18,49,78,0.08);
  --shadow-deep: 0 12px 40px rgba(18,49,78,0.16);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --tile-size: 340px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  isolation: isolate;
}

/* Große, helle Fliesenoptik im Hintergrund – dezent, großformatig, scrollt mit dem Inhalt (kein fixed) */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(199,191,169,0.35) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(199,191,169,0.35) 1px, transparent 1px);
  background-size: var(--tile-size) var(--tile-size);
  background-position: center;
  opacity: 0.6;
}

body > * { position: relative; z-index: 1; }

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

/* ── Banner ─────────────────────────────────────── */
.banner {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── Header ─────────────────────────────────────── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(244,241,234,0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
}

.header-logo img { height: 36px; width: auto; }

.header-nav {
  display: none;
  gap: 1.75rem;
}

.header-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--primary); }

.btn-call {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-call:hover { background: var(--primary-dark); }

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger-btn span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  padding: 1.25rem;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 860px) {
  .header-nav { display: flex; }
  .btn-call { display: flex; }
  .burger-btn { display: none; }
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slideshow img.active { opacity: 1; }
.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,33,54,0.88) 0%, rgba(11,33,54,0.45) 45%, rgba(11,33,54,0.15) 100%);
}

.hero-content {
  padding: 3rem 1.25rem 3.5rem;
  max-width: 720px;
  color: #fff;
  animation: hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-content { animation: none; }
}

.hero-scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: cue-bounce 2.2s ease-in-out infinite;
}
@keyframes cue-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue { animation: none; }
}
@media (max-width: 480px) {
  .hero-scroll-cue { display: none; }
}

.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-light);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.btn-primary {
  padding: 0.85rem 1.6rem;
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-deep); }

.btn-secondary {
  padding: 0.85rem 1.6rem;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ── Sections ─────────────────────────────────── */
.section {
  padding: 4.5rem 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}
.section-alt { background: var(--surface-alt); max-width: none; }
.section-alt > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section-alt { padding: 4.5rem 1.25rem; }

/* Scroll-Reveal */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.section-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(to right, var(--silver-light), var(--silver));
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

/* ── Leistungen (Tabs) ────────────────────────── */
.tab-nav {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: 0.65rem 1.25rem;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.leistung-list { display: none; }
.leistung-list.visible {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 720px) {
  .leistung-list.visible { grid-template-columns: 1fr 1fr; }
}

.leistung-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.leistung-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }

.leistung-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.leistung-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}
.leistung-preis {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--silver);
  letter-spacing: 0.02em;
}

/* ── Referenzen ───────────────────────────────── */
.referenzen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .referenzen-grid { grid-template-columns: 1fr 1fr; }
}

.referenz-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
.referenz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }

/* Vorher/Nachher-Slider */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .ba-after {
  clip-path: inset(0 0 0 50%);
}
.ba-slider .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}
.ba-slider .ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2312314E' stroke-width='2.5'%3E%3Cpolyline points='9 6 3 12 9 18'/%3E%3Cpolyline points='15 6 21 12 15 18'/%3E%3C/svg%3E") center/18px no-repeat;
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}
.ba-label {
  position: absolute;
  bottom: 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(11,33,54,0.65);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  pointer-events: none;
}
.ba-label-vorher { left: 0.7rem; }
.ba-label-nachher { right: 0.7rem; }

.referenz-body { padding: 1.25rem 1.4rem 1.5rem; }
.referenz-kategorie {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--surface-alt);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}
.referenz-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.referenz-body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }

.referenz-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  padding: 0;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-body);
}
.referenz-more svg { transition: transform 0.2s; }
.referenz-more:hover svg { transform: translateX(3px); }

/* ── Referenz-Modal ───────────────────────────── */
.referenz-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.referenz-modal[hidden] { display: none; }
.referenz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,33,54,0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.referenz-modal-panel {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-deep);
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}
.referenz-modal.is-open .referenz-modal-backdrop { opacity: 1; }
.referenz-modal.is-open .referenz-modal-panel { transform: translateY(0) scale(1); opacity: 1; }

.referenz-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  transition: background 0.2s;
}
.referenz-modal-close:hover { background: #fff; }

.referenz-modal-body .ba-slider { aspect-ratio: 16 / 10; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.referenz-modal-content { padding: 1.75rem 1.75rem 2rem; }
.referenz-modal-content .referenz-kategorie { margin-bottom: 0.75rem; }
.referenz-modal-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.referenz-modal-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ── Team ─────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}

.team-card {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
}

.team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  border: 3px solid var(--silver-light);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.15rem;
}
.team-role {
  font-size: 0.82rem;
  color: var(--silver);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.team-text { font-size: 0.9rem; color: var(--text-muted); }

/* ── Bewertungen ──────────────────────────────── */
.rating-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .rating-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
}

.rating-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.rating-stars { color: var(--primary); font-size: 0.95rem; margin-bottom: 0.6rem; letter-spacing: 0.1em; }
.rating-text { color: var(--text); font-size: 0.92rem; margin-bottom: 0.85rem; }
.rating-name { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.rating-antwort {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Info (Hours + Einzugsgebiet) ─────────────── */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 720px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 0.55rem 0.25rem; color: var(--text-muted); font-size: 0.92rem; }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { color: var(--primary); font-weight: 700; }
.hours-table tr.today { background: rgba(18,49,78,0.04); }

.einzugsgebiet-hinweis {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.einzugsgebiet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip {
  padding: 0.5rem 0.95rem;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

/* ── FAQ ──────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: transform 0.25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-answer p {
  padding: 0 1.4rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.notdienst-sentinel {
  height: 1px;
}

/* ── Notdienst ────────────────────────────────── */
.notdienst-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 0.65rem 1.25rem;
  position: sticky;
  top: var(--header-height, 68px);
  z-index: 40;
  overflow: hidden;
}
.notdienst-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -45%;
  width: 45%;
  height: 2px;
  background: linear-gradient(to right, transparent, #7ec4ff 15%, #bfe4ff 50%, #7ec4ff 85%, transparent);
  box-shadow: 0 0 6px 1px rgba(126,196,255,0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: notdienst-glide 3.2s ease-in-out infinite;
}
.notdienst-banner.is-stuck::before {
  opacity: 1;
}
@keyframes notdienst-glide {
  0%   { left: -45%; }
  100% { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .notdienst-banner::before { animation: none; display: none; }
}
.notdienst-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
}
.notdienst-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-light);
}
.notdienst-icon svg { width: 18px; height: 18px; }
.notdienst-text { flex: 1; min-width: 0; }
.notdienst-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-light);
}
.notdienst-text p {
  display: none;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.85);
}
.btn-notdienst {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.5rem 0.9rem;
  background: #fff;
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-notdienst:hover { transform: translateY(-2px); box-shadow: var(--shadow-deep); }

@media (min-width: 640px) {
  .notdienst-banner { padding: 1.1rem 1.25rem; }
  .notdienst-icon { width: 44px; height: 44px; }
  .notdienst-icon svg { width: 24px; height: 24px; }
  .notdienst-label { font-size: 0.75rem; margin-bottom: 0.2rem; }
  .notdienst-text p { display: block; max-width: 520px; }
  .btn-notdienst { padding: 0.75rem 1.4rem; font-size: 0.95rem; }
}

@media (min-width: 720px) {
  .notdienst-text p { max-width: none; }
}

/* ── Kontakt ──────────────────────────────────── */
.kontakt-section { text-align: center; }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 780px;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .kontakt-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

.kontakt-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s, transform 0.2s;
}
.kontakt-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.kontakt-card svg { color: var(--primary); }
.kontakt-card-formular { background: var(--surface-alt); }
.kontakt-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver);
  font-weight: 600;
}
.kontakt-value { font-weight: 600; color: var(--text); }

/* ── Kontaktformular ──────────────────────────── */
.kontakt-formular {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.form-row-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .form-row-group { flex-direction: row; }
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.form-row input,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(18,49,78,0.1);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--text-muted); opacity: 0.6; }

.btn-formular-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  align-self: flex-start;
  background: var(--primary);
  color: #fff;
  margin-top: 0.25rem;
}
.btn-formular-submit:hover { background: var(--primary-dark); }

.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: -0.5rem;
}
.form-hint.form-hint-success { color: #15803d; font-weight: 600; }
.form-hint.form-hint-error { color: #b91c1c; font-weight: 600; }

/* ── Footer ───────────────────────────────────── */
.footer {
  padding: 2.5rem 1.25rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; justify-content: space-between; }
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--primary); }