/* =========================================================
   Antonija's Glanz-Art — Design Tokens
   ========================================================= */
:root {
  /* Farben */
  --blue: #3b93c9;
  --blue-600: #2f83b8;
  --blue-700: #266f9e;
  --blue-soft: #d9ecf7;
  --blue-softer: #eaf5fb;
  --ink: #14181d;
  --ink-2: #2b3138;
  --muted: #6b7480;
  --line: #e6eaee;
  --surface: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f7fafc;

  /* Typo */
  --font: "Satoshi", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.0625rem;
  --h3: clamp(1.0625rem, 0.6vw + 0.95rem, 1.1875rem);
  --h2: clamp(1.75rem, 2.2vw + 1.1rem, 2.5rem);
  --h1: clamp(2.125rem, 3.6vw + 1.1rem, 3.5rem);

  /* Raster */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 88px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 29, 0.06), 0 4px 14px rgba(20, 24, 29, 0.05);
  --shadow-md: 0 10px 30px rgba(20, 24, 29, 0.09);
  --wrap: 1180px;
  --header-h: 84px;
}

/* ========================= Basis ========================= */
body {
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--bg);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--space-4);
  top: var(--space-4);
  z-index: 99;
  background: #fff;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

.eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-3);
}
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.ico-out {
  width: 26px;
  height: 26px;
  flex: none;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ========================= Buttons ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: var(--text-sm);
  line-height: 1;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease,
    transform 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(59, 147, 201, 0.28);
}
.btn-primary:hover { background: var(--blue-600); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
}
.btn-ghost:hover { background: #fff; }
.btn-white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-white:hover { color: var(--blue-700); }

/* ========================= Header ========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.brand img { height: 54px; width: auto; }
body.page-home .brand img { height: 78px; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-inline: auto;
}
.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-2);
  padding: var(--space-2) 0;
  position: relative;
}
.nav-link:hover { color: var(--blue-600); }
.nav-link.is-active { color: var(--blue); font-weight: 700; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.btn-phone { padding: 12px 20px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: var(--space-2);
  cursor: pointer;
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ========================= Hero ========================= */
.hero {
  position: relative;
  min-height: clamp(440px, 62vh, 620px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f2f5f7;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.9) 34%,
    rgba(255, 255, 255, 0.45) 52%,
    rgba(255, 255, 255, 0) 66%
  );
}
.hero-inner {
  position: relative;
  padding-block: var(--space-8);
}
.hero-inner h1 { margin-bottom: var(--space-5); }
.hero .lead {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: var(--space-6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-2);
  font-weight: 500;
}
.hero-badge .ico { width: 20px; height: 20px; color: var(--blue); }

/* ========================= Sections ========================= */
.section { padding-block: var(--space-9); }
.section-about { background: var(--bg-alt); }
.section-faq { padding-top: var(--space-8); }
.section-refs { padding-bottom: var(--space-8); }
.sec-head { text-align: center; margin-bottom: var(--space-7); }
.sec-head p, .sec-head h2 { max-width: none; }
.sec-head h2 { margin-bottom: var(--space-4); }
.rule {
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
  margin: 0 auto;
}

/* ========================= Leistungskarten ========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-media { position: relative; }
.card-media img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.card-badge {
  position: absolute;
  left: var(--space-4);
  bottom: -20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(20, 24, 29, 0.18);
}
.card-badge svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-body { padding: 30px var(--space-4) var(--space-5); }
.card-body h3 { margin-bottom: var(--space-2); }
.card-body p {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: var(--space-4);
}
.card-link {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
.card-link:hover { color: var(--blue-700); }

/* ========================= Vertrauensleiste ========================= */
.trust {
  margin-top: var(--space-7);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
}
.trust li { display: flex; gap: var(--space-3); align-items: flex-start; }
.trust strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 2px;
}
.trust span { font-size: var(--text-xs); color: var(--muted); line-height: 1.5; }

/* ========================= Über uns ========================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-8);
  align-items: center;
}
.about-text h2 { margin-bottom: var(--space-4); }
.about-text > p { color: var(--muted); margin-bottom: var(--space-5); }
.about-text > p.eyebrow { color: var(--blue); margin-bottom: var(--space-3); }
.checks { list-style: none; margin-bottom: var(--space-6); display: grid; gap: var(--space-3); }
.checks li {
  position: relative;
  padding-left: 30px;
  font-size: var(--text-sm);
  color: var(--ink-2);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f83b8' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}
.about-media { position: relative; padding-bottom: 56px; }
.about-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.stats {
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  bottom: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: var(--space-4) var(--space-2);
}
.stats > div {
  text-align: center;
  padding-inline: var(--space-2);
  display: grid;
  justify-items: center;
  gap: 2px;
}
.stats > div + div { border-left: 1px solid var(--line); }
.stats .ico-out { width: 20px; height: 20px; margin-bottom: 2px; }
.stats dt {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stats dd { font-size: 0.6875rem; color: var(--muted); line-height: 1.35; max-width: none; }

/* ========================= FAQ ========================= */
.faq {
  max-width: 760px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq details + details { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--space-4) var(--space-5);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--blue);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq p {
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--text-sm);
  color: var(--muted);
  margin: 0;
}

/* ========================= Referenzen ========================= */
.slider { position: relative; }
.t-track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--space-2);
}
.t-track::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 calc((100% - 2 * var(--space-4)) / 3);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.stars { color: #f0b429; letter-spacing: 2px; font-size: var(--text-sm); }
.t-card blockquote {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--ink-2);
  line-height: 1.65;
  flex: 1;
}
.t-card figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: var(--space-4);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-700);
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 900;
  flex: none;
}
.dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #cfd8e0;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, width 0.2s ease;
}
.dots button[aria-selected="true"] { background: var(--blue); width: 20px; border-radius: 4px; }

/* ========================= CTA ========================= */
.cta-section { padding-bottom: 0; padding-top: var(--space-6); }
.cta {
  position: relative;
  background: var(--blue-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-7) var(--space-7);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-6);
  overflow: visible;
  min-height: 226px;
}
.cta .eyebrow { color: var(--blue-700); }
.cta-text { max-width: 44ch; }
.cta-text h2 { font-size: clamp(1.5rem, 1.6vw + 1.1rem, 2rem); margin-bottom: var(--space-3); }
.cta-text > p { font-size: var(--text-sm); color: #3f5a6b; margin: 0; }
.cta-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  padding-right: 210px;
}
.cta-person {
  position: absolute;
  right: var(--space-7);
  bottom: 0;
  height: 134%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
}

/* ========================= Footer ========================= */
.site-footer {
  margin-top: var(--space-9);
  background: var(--blue);
  color: #fff;
}
.footer-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-7);
  font-size: var(--text-xs);
  padding-block: var(--space-3);
}
.footer-inner a,
.footer-region {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.95);
}
.footer-inner a:hover { color: #fff; text-decoration: underline; }
.footer-inner .ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.footer-brand { font-weight: 900; letter-spacing: -0.01em; font-size: var(--text-sm); }
.footer-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  padding: 6px 14px;
}
.footer-logo img { height: 30px; width: auto; display: block; }
.footer-logo:hover { text-decoration: none; }
.footer-links { margin-left: auto; display: flex; gap: var(--space-5); }

/* ========================= Rechtliche Seiten ========================= */
.legal {
  max-width: 760px;
  padding-block: var(--space-8) var(--space-9);
}
.legal h1 { margin-bottom: var(--space-5); }
.legal h2 {
  font-size: 1.125rem;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.legal p,
.legal li { font-size: var(--text-sm); color: var(--ink-2); }
.legal p { margin-bottom: var(--space-3); }
.legal ul { padding-left: var(--space-5); display: grid; gap: var(--space-2); }
.legal a { color: var(--blue-700); text-decoration: underline; }
.legal em { color: var(--muted); }
.legal-note {
  background: var(--blue-softer);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--space-4);
  color: var(--ink-2);
}

/* ========================= Reveal ========================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal[data-shown="true"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ========================= Responsive ========================= */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .t-card { flex-basis: calc((100% - var(--space-4)) / 2); }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-2) var(--space-5) var(--space-4);
    display: none;
    margin: 0;
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
  .nav-link.is-active::after { display: none; }
  .burger { display: flex; margin-left: auto; }
  .btn-phone { display: none; }
  .brand img { height: 44px; }
  body.page-home .brand img { height: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .hero-veil {
    background: linear-gradient(
      175deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.9) 46%,
      rgba(255, 255, 255, 0.55) 68%,
      rgba(255, 255, 255, 0.2) 100%
    );
  }
  .cta { grid-template-columns: 1fr; }
  .cta-actions { padding-right: 0; }
  .cta-person { display: none; }
}
@media (max-width: 760px) {
  .section { padding-block: var(--space-8); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .t-card { flex-basis: 100%; }
  .stats { position: static; left: auto; right: auto; margin-top: var(--space-4); }
  .about-media { padding-bottom: 0; }
  .footer-links { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; padding: var(--space-5); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-4); }
  .stats > div:nth-child(3) { border-left: 0; }
  .hero .lead { max-width: none; }
  .cta { padding: var(--space-6) var(--space-5); }
}

/* =========================================================
   Unterseite: Vertretungsservice
   ========================================================= */

/* Sub-Hero: linker Text, rechtes Bild — kleinere Höhe als Startseiten-Hero */
.sub-hero {
  padding-block: clamp(56px, 9vw, 112px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(1200px 500px at 12% 0%, rgba(46,124,209,.10), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}
.sub-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.sub-hero-text h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: var(--space-3) 0 var(--space-4);
}
.sub-hero-text .lead {
  max-width: 520px;
  margin-bottom: var(--space-6);
  font-size: clamp(18px, 1.35vw, 22px);
}
.sub-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Schmale Textsektion */
.sec-narrow { padding-block: clamp(56px, 8vw, 96px); }
.sec-narrow .prose { max-width: 760px; margin: 0 auto; }
.sec-narrow .prose p {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--space-4);
}
.sec-narrow .prose p:last-child { margin-bottom: 0; }

/* Alternierender Bereich für die drei Kacheln */
.sec-alt {
  padding-block: clamp(56px, 8vw, 96px);
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border-block: 1px solid var(--line);
}

/* „Wann wir einspringen“ – Kacheln */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46,124,209,.35);
}
.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(46,124,209,.10);
  color: var(--brand);
  margin-bottom: var(--space-4);
}
.tile-icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.tile h3 { font-size: 20px; margin-bottom: 6px; }
.tile p  { color: var(--ink-2); margin: 0; }

/* „Warum uns“ – Häkchen in zwei Spalten */
.checks-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-inline: auto;
  gap: var(--space-3) var(--space-6);
}

/* Breites Foto in voller Sektionsbreite */
.wide-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  display: block;
}

/* Abschluss-CTA (ohne Freistellerin) */
.cta-plain {
  grid-template-columns: 1.4fr auto;
  gap: var(--space-6);
  align-items: center;
}
.cta-plain .cta-text h2 { margin-bottom: var(--space-3); }
.cta-plain .cta-actions {
  padding-right: 0;
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 960px) {
  .sub-hero-grid { grid-template-columns: 1fr; }
  .sub-hero-media { order: -1; }
  .tiles { grid-template-columns: 1fr; }
  .checks-grid { grid-template-columns: 1fr; max-width: 520px; }
  .cta-plain { grid-template-columns: 1fr; }
}

.cta-section { padding-block: clamp(56px, 8vw, 96px); }

/* ============ BEWERTUNGEN (Grid + Formular) ============ */
.section-reviews { background: var(--surface-2, #f8fafc); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* --- Slider (aktiv ab 4 Bewertungen) --- */
.reviews-slider {
  position: relative;
  overflow: hidden;
}
.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  transition: transform .55s cubic-bezier(.4,.0,.2,1);
  align-items: stretch;
}
.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.review-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(15, 42, 68, 0.15);
  background: #fff;
  color: var(--text, #1e293b);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.review-nav:hover {
  background: var(--accent, #6bb6d6);
  border-color: var(--accent, #6bb6d6);
  color: #fff;
}
.review-nav svg { width: 18px; height: 18px; }
.review-dots {
  display: inline-flex;
  gap: 8px;
}
.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(15, 42, 68, 0.20);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.review-dot.is-active {
  background: var(--accent, #6bb6d6);
  transform: scale(1.3);
}
@media (max-width: 900px) {
  .reviews-track {
    grid-auto-columns: 100%;
    gap: 16px;
  }
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(15, 42, 68, 0.06);
  border: 1px solid rgba(15, 42, 68, 0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15, 42, 68, 0.09);
}

.review-stars {
  color: #f5b301;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text, #1e293b);
  margin: 0;
  font-style: italic;
  flex-grow: 1;
}

.review-author {
  font-weight: 600;
  color: var(--text, #1e293b);
  margin: 0;
  font-size: 14px;
}

.review-divider {
  height: 1px;
  background: rgba(15, 42, 68, 0.10);
  margin: 4px 0;
}

.review-reply {
  padding: 0;
}
.review-reply-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--accent, #6bb6d6);
  margin: 0 0 8px;
}
.review-reply-icon {
  width: 16px;
  height: 16px;
  color: var(--accent, #6bb6d6);
}
.review-reply-text {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted, #64748b);
  margin: 0;
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* Formular */
.review-form-wrap {
  max-width: 720px;
  margin: 64px auto 0;
  background: #fff;
  border-radius: 18px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 4px 24px rgba(15, 42, 68, 0.06);
  border: 1px solid rgba(15, 42, 68, 0.06);
}

.review-form-head { text-align: center; margin-bottom: 28px; }
.review-form-head h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin: 0 0 8px;
  color: var(--text, #1e293b);
}
.review-form-head p {
  color: var(--muted, #64748b);
  margin: 0;
  font-size: 15px;
}

.review-form { display: flex; flex-direction: column; gap: 18px; }

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #1e293b);
}
.req { color: #ef4444; margin-left: 2px; }
.form-hint {
  font-size: 12.5px;
  color: var(--muted, #64748b);
  margin: 4px 0 0;
  line-height: 1.4;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(15, 42, 68, 0.15);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text, #1e293b);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent, #6bb6d6);
  box-shadow: 0 0 0 3px rgba(107, 182, 214, 0.15);
}
.form-row textarea { resize: vertical; min-height: 120px; }

/* Sterne-Auswahl */
.star-picker {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 4px;
  font-size: 32px;
}
.star-picker input { display: none; }
.star-picker label {
  color: rgba(15, 42, 68, 0.2);
  cursor: pointer;
  transition: color .15s ease;
  font-size: 32px;
  font-weight: normal;
  line-height: 1;
}
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label {
  color: #f5b301;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}
.form-note {
  font-size: 13px;
  color: var(--muted, #64748b);
  margin: 0;
  text-align: center;
}

.form-success {
  padding: 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  text-align: center;
  color: #166534;
}
.form-success strong { display: block; margin-bottom: 4px; font-size: 16px; }
.form-success p { margin: 0; font-size: 14px; }

/* ============ KONTAKTFORMULAR ============ */
.contact-form-wrap {
  max-width: 820px;
  margin: 56px auto 0;
  background: #fff;
  border-radius: 18px;
  padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 4px 24px rgba(15, 42, 68, 0.06);
  border: 1px solid rgba(15, 42, 68, 0.06);
}
.contact-form-head { text-align: center; margin-bottom: 28px; }
.contact-form-head h3 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin: 0 0 8px;
  color: var(--text, #1e293b);
}
.contact-form-head p {
  color: var(--muted, #64748b);
  margin: 0;
  font-size: 15px;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(15, 42, 68, 0.15);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text, #1e293b);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent, #6bb6d6);
  box-shadow: 0 0 0 3px rgba(107, 182, 214, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }

/* ============ JOBS-SEITE ============ */
.jobs-empty {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(15, 42, 68, 0.06);
  border: 1px solid rgba(15, 42, 68, 0.06);
}
.jobs-empty-ico {
  width: 56px;
  height: 56px;
  color: var(--accent, #6bb6d6);
  margin: 0 auto 20px;
  display: block;
}
.jobs-empty h3 {
  font-size: clamp(20px, 2.5vw, 24px);
  margin: 0 0 12px;
  color: var(--text, #1e293b);
}
.jobs-empty p {
  color: var(--muted, #64748b);
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.6;
}

/* ============ DATEI-UPLOAD (Bewerbungsformular) ============ */
.file-input-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: #f1f5f9;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  color: #475569;
  transition: all 0.2s;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-input-label:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #1e293b;
}
.file-input-label svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.file-input-label.has-file {
  background: #e0f2fe;
  border-color: var(--accent, #6bb6d6);
  border-style: solid;
  color: #075985;
}
.file-input-label.has-file svg {
  color: var(--accent, #6bb6d6);
}

/* ============ INHABERIN-SEITE ============ */
.signature {
  margin-top: 36px;
  font-family: 'Satoshi', -apple-system, sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text, #1e293b);
}
.signature-role {
  font-weight: 400;
  color: var(--muted, #64748b);
  font-size: 14px;
  letter-spacing: 0.02em;
}

/* ============ JOB CARDS ============ */
.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 32px;
}
.job-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px rgba(15, 42, 68, 0.06);
  border: 1px solid rgba(15, 42, 68, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 42, 68, 0.10);
}
.job-card-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(15, 42, 68, 0.08);
}
.job-badge {
  display: inline-block;
  padding: 5px 14px;
  background: #e0f2fe;
  color: #075985;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 14px;
}
.job-card h3 {
  font-size: clamp(20px, 2.2vw, 24px);
  margin: 0 0 12px;
  color: var(--text, #1e293b);
  line-height: 1.3;
}
.job-intro {
  color: var(--muted, #64748b);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.job-section {
  margin-bottom: 22px;
}
.job-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text, #1e293b);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.job-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.job-section li {
  position: relative;
  padding: 5px 0 5px 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text, #1e293b);
}
.job-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #6bb6d6);
}
.job-meta {
  margin: 8px 0 24px;
  padding: 14px 18px;
  background: #f8fafc;
  border-left: 3px solid var(--accent, #6bb6d6);
  border-radius: 6px;
}
.job-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text, #1e293b);
}
.job-meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent, #6bb6d6);
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.job-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
}

@media (max-width: 700px) {
  .job-card { padding: 28px 22px; }
  .job-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ============ CHECK-LIST ============ */
.check-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
}
.check-list li {
  position: relative;
  padding: 6px 0 6px 30px;
  font-size: 16px;
  color: var(--text, #1e293b);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px;
  height: 22px;
  background: var(--accent, #6bb6d6);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.prose-h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: var(--text, #1e293b);
}
.prose-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.form-optional {
  font-weight: 400;
  color: var(--muted, #64748b);
  font-size: 13px;
  margin-left: 4px;
}

/* ============ VERTRETUNGSSERVICE-TEASER ============ */
.vertretung-teaser {
  padding: 60px 0 80px;
  background: #fff;
}
.vertretung-teaser-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 44px;
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border-radius: 20px;
  border: 1px solid rgba(107, 182, 214, 0.15);
  text-align: center;
}
.vertretung-teaser h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin: 8px 0 14px;
  color: var(--text, #1e293b);
}
.vertretung-teaser p {
  color: var(--muted, #64748b);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.vertretung-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent, #6bb6d6);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 20px;
  border: 1.5px solid var(--accent, #6bb6d6);
  border-radius: 999px;
  transition: all 0.2s;
}
.vertretung-link:hover {
  background: var(--accent, #6bb6d6);
  color: #fff;
}
.vertretung-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 700px) {
  .vertretung-teaser { padding: 40px 0 60px; }
  .vertretung-teaser-inner { padding: 32px 24px; }
}

/* ============ INHABERIN: BILD KOMPLETT SICHTBAR ============ */
.page-sub .sub-hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}
body.page-sub .sub-hero-grid .sub-hero-media img[src*="antonija-portrait"] {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(15, 42, 68, 0.10);
}

/* ============ TEXT LESERFREUNDLICHER ============ */
.prose {
  font-size: 18px;
  line-height: 1.75;
  color: var(--text, #1e293b);
  max-width: 720px;
  margin: 0 auto;
}
.prose p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 20px;
}
.prose h2 {
  font-size: clamp(28px, 3.2vw, 36px);
  margin: 0 0 28px;
  color: var(--text, #1e293b);
  line-height: 1.25;
}
.prose h3.prose-h3 {
  font-size: 22px;
  margin: 32px 0 14px;
}
.prose .check-list li {
  font-size: 17px;
  line-height: 1.6;
}
.prose ul:not(.check-list) li {
  font-size: 18px;
  line-height: 1.7;
}
.signature {
  font-size: 19px;
  margin-top: 40px;
}
.signature-role {
  font-size: 15px;
}

/* Auf sehr großen Bildschirmen etwas mehr Luft */
@media (min-width: 1200px) {
  .prose {
    font-size: 19px;
  }
  .prose p {
    font-size: 19px;
  }
}
