/* ============================================================
   Bougayou Translation – Stylesheet
   Design: professionell & vertrauensvoll – tiefes Blau,
   kühles Weiß, dezenter Gold-Akzent, Serifen-Display.
   ============================================================ */

:root {
  /* Farben */
  --paper: #f6f8fb;
  --surface: #ffffff;
  --sand: #e8eef6;
  --sand-soft: #eff3f8;
  --ink: #14253a;
  --ink-soft: #4b5a6b;
  --line: #dde5ee;
  --terra: #1a5fa8;
  --terra-dark: #134b87;
  --terra-soft: #e4eef9;
  --navy: #16283c;
  --navy-deep: #0f1c2c;
  --cream: #f1f5fa;
  --cream-dim: #9caec2;
  --gold: #c9a24a;
  --whatsapp: #25d366;
  --whatsapp-dark: #075e54;

  /* Typografie */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-arabic: "Amiri", "Traditional Arabic", "Segoe UI", serif;

  /* Layout */
  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 37, 58, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(20, 37, 58, 0.18);
  --shadow-lg: 0 24px 50px -20px rgba(20, 37, 58, 0.28);
}

/* ---------- Reset / Basis ---------- */

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

/* Sprünge zu Ankern erfolgen sofort (kein Smooth-Scroll):
   so landet z. B. das Kontaktformular immer exakt als Hauptansicht. */
html {
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--terra);
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

::selection {
  background: var(--terra);
  color: #fff;
}

/* hidden-Attribut gewinnt immer – auch gegen display-Regeln von Klassen */
[hidden] {
  display: none !important;
}

/* ---------- Utilities ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(3.25rem, 6.5vw, 4.75rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--terra);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 0.85rem;
  max-width: 40ch;
}

.section-lead {
  margin-top: 1.1rem;
  max-width: 62ch;
  font-size: 1.0625rem;
}

.center {
  text-align: center;
}

.center .section-title,
.center .section-lead {
  margin-inline: auto;
}

.center .eyebrow::before {
  display: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9875rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease,
    border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--terra);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(26, 95, 168, 0.5);
}

.btn-primary:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--cream);
  color: var(--navy-deep);
}

.btn-light:hover {
  background: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp:hover {
  background: #1fb959;
  color: #fff;
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
}

.btn-ghost-light {
  border-color: rgba(241, 245, 250, 0.4);
  color: var(--cream);
}

.btn-ghost-light:hover {
  border-color: var(--cream);
  background: rgba(241, 245, 250, 0.08);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  background: rgba(246, 248, 251, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-logo {
  display: block;
  height: 54px;
  width: auto;
}

.footer-brand .brand-logo-footer {
  height: 62px;
  margin-bottom: 0.9rem;
}

.brand-logo-admin {
  height: 46px;
  margin-bottom: 0.4rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.brand-name span {
  color: var(--terra);
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
  padding-block: 0.4rem;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a.active {
  color: var(--terra);
}

/* Kontakt-Eintrag nur im mobilen Menü – am Desktop übernimmt das der Button */
.nav-cta-mobile {
  display: none;
}

.header-cta {
  padding: 0.65rem 1.3rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: clamp(7rem, 13vh, 8.75rem);
  padding-bottom: clamp(3rem, 5.5vw, 4.25rem);
  overflow: hidden;
  background:
    radial-gradient(720px 460px at 78% 18%, rgba(26, 95, 168, 0.07), transparent 65%),
    radial-gradient(520px 380px at 8% 82%, rgba(201, 162, 74, 0.06), transparent 70%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
  flex-shrink: 0;
}

.hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(2.35rem, 5.4vw, 3.7rem);
  font-weight: 700;
  line-height: 1.08;
}

.hero h1 em {
  font-style: italic;
  color: var(--terra);
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.5vw, 1.1875rem);
  max-width: 56ch;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-langs {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-langs .lang {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-langs .lang::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-langs-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* Porträt: klarer, professioneller Rahmen */

.hero-portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 370px);
}

.portrait-panel {
  position: relative;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: var(--shadow-md);
}

.portrait-panel img {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 4.4;
  object-position: top;
}

.portrait-card {
  position: absolute;
  left: 50%;
  bottom: -1.6rem;
  transform: translateX(-50%);
  width: max-content;
  max-width: 110%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.8rem 1.3rem;
  text-align: center;
}

.portrait-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
}

.portrait-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 0.1rem;
}

/* ---------- Sprachband (Wortlaufband) ---------- */

.word-band {
  background: var(--navy-deep);
  color: var(--cream);
  padding-block: 1.05rem;
  overflow: hidden;
}

.word-band-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: band-scroll 36s linear infinite;
}

.word-band-track span {
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.word-band-track .ar {
  font-family: var(--font-arabic);
  font-size: 1.25rem;
}

.word-band-track .sep {
  color: var(--gold);
}

@keyframes band-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .word-band-track {
    animation: none;
  }
}

/* ---------- Intro (Startseiten-Text) ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.intro-text p + p {
  margin-top: 1.15rem;
}

.intro-chips {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.05rem;
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.chip svg {
  width: 0.95em;
  height: 0.95em;
  color: var(--terra);
}

/* Illustration unter der Willkommens-Überschrift */

.intro-illustration {
  margin-top: 2.2rem;
}

.intro-illustration svg {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
}

/* ---------- Leistungs-Karten ---------- */

.cards-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terra), #6ea3d8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #c4d3e5;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra-soft);
  color: var(--terra);
  margin-bottom: 1.3rem;
}

.card-icon svg {
  width: 25px;
  height: 25px;
}

.card h3 {
  font-size: 1.28rem;
}

.card > p {
  margin-top: 0.7rem;
  font-size: 0.975rem;
}

.card-list {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.card-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.85rem;
  height: 0.5rem;
  border-left: 2px solid var(--terra);
  border-bottom: 2px solid var(--terra);
  transform: rotate(-45deg) scale(0.78);
  transform-origin: left bottom;
}

.card-cta {
  margin-top: auto;
  padding-top: 1.5rem;
}

.card-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--terra);
}

.card-cta a:hover {
  color: var(--terra-dark);
}

.card-cta svg {
  width: 1em;
  height: 1em;
  transition: transform 0.18s ease;
}

.card-cta a:hover svg {
  transform: translateX(4px);
}

/* Sprachkombinationen */

.combos-title {
  margin-top: 2.8rem;
  text-align: center;
  font-size: 1.25rem;
}

.lang-combos {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  justify-content: center;
  gap: 1.2rem;
}

.combo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.combo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c4d3e5;
}

.combo-lang {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.4vw, 1.1rem);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.combo-code {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  color: var(--terra);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.combo-swap {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(26, 95, 168, 0.5);
  transition: transform 0.3s ease;
}

.combo:hover .combo-swap {
  transform: rotate(180deg);
}

.combo-swap svg {
  width: 17px;
  height: 17px;
}

.section-cta {
  margin-top: 2.4rem;
  text-align: center;
}

.cta-choice-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 1.2rem;
}

.cta-choice {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

/* ---------- Ablauf (dunkle Sektion) ---------- */

.dark-section {
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--cream-dim);
  position: relative;
  overflow: hidden;
}

.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-feather.svg");
  background-size: auto 150px;
  background-repeat: repeat;
  opacity: 0.07;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.15) 85%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.15) 85%);
  pointer-events: none;
}

.dark-section .container {
  position: relative;
}

.dark-section .eyebrow {
  color: var(--gold);
}

.dark-section .eyebrow::before {
  background: var(--gold);
}

.dark-section .section-title {
  color: var(--cream);
}

.steps-grid {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 1.4rem;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

@media (min-width: 1025px) {
  .steps-grid .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 3.6rem;
    right: -1.2rem;
    height: 1px;
    background: rgba(241, 245, 250, 0.14);
  }
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.step h3 {
  color: var(--cream);
  font-size: 1.15rem;
  margin-top: 0.7rem;
}

.step p {
  margin-top: 0.55rem;
  font-size: 0.95rem;
}

/* ---------- Über mich ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.about-text p + p {
  margin-top: 1.05rem;
}

.quali-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terra);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.7rem;
}

.quali-box h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.quali-box ul {
  display: grid;
  gap: 0.65rem;
}

.quali-box li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.965rem;
}

.quali-box li svg {
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--terra);
}

/* Mitgliedschaften (Über mich) */

.member-box {
  margin-top: 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.7rem;
}

.member-box h3 {
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
}

.member-list {
  display: grid;
  gap: 1.3rem;
}

.member-list li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.member-logo {
  width: auto;
  height: 54px;
  flex-shrink: 0;
  object-fit: contain;
}

.member-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--ink);
}

.member-text small {
  display: block;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}

.member-gloss {
  display: block;
  font-size: 0.82rem;
  opacity: 0.8;
}

/* ---------- Warum ---------- */

.why-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.why-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-icon {
  width: 46px;
  height: 46px;
  margin-inline: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  color: var(--terra);
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

.why-item h3 {
  font-size: 1.08rem;
  margin-top: 0.9rem;
}

.why-item p {
  font-size: 0.885rem;
  margin-top: 0.5rem;
  line-height: 1.55;
}

/* ---------- CTA-Band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--terra) 0%, #123c6d 100%);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  color: #fff;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-feather.svg");
  background-size: auto 130px;
  background-repeat: repeat;
  opacity: 0.1;
  -webkit-mask-image: linear-gradient(105deg, #000 0%, rgba(0, 0, 0, 0.1) 70%);
  mask-image: linear-gradient(105deg, #000 0%, rgba(0, 0, 0, 0.1) 70%);
  pointer-events: none;
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
}

.cta-band p {
  margin: 1rem auto 0;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.88);
}

.cta-band .btn {
  margin-top: 2rem;
  background: #fff;
  color: var(--terra-dark);
}

.cta-band .btn:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* ---------- FAQ ---------- */

.faq-list {
  margin-top: 2.2rem;
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: #c4d3e5;
}

.faq-item[open] {
  border-color: #c4d3e5;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  position: relative;
  width: 1.6rem;
  height: 1.6rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sand);
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 2px;
  background: var(--terra);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

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

.faq-item[open] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item p {
  padding: 0 1.4rem 1.3rem;
  font-size: 0.975rem;
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.contact-channels {
  margin-top: 2.2rem;
  display: grid;
  gap: 1rem;
}

.channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
}

.channel-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--terra);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.channel-icon svg {
  width: 21px;
  height: 21px;
}

a.channel:hover .channel-icon {
  background: var(--terra);
  color: #fff;
}

.channel-label {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.channel-value {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.985rem;
}

a.channel:hover .channel-value {
  color: var(--terra);
}

/* Formular */

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.15);
}

.field ::placeholder {
  color: #9aa7b5;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 1.05rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Spamschutz-Rechenaufgabe */

.captcha-field input {
  max-width: 220px;
}

.captcha-field label strong {
  color: var(--terra);
  font-size: 1.02em;
}

.captcha-error {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #c62828;
}

.form-success {
  text-align: center;
  padding: 2.2rem 1.4rem;
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: #1d9a5b;
  margin: 0 auto 1rem;
  display: block;
}

.form-success h3 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.form-success p {
  max-width: 42ch;
  margin-inline: auto;
  color: var(--ink-soft);
}

.form-success-hint {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  opacity: 0.85;
}

.form-error {
  background: #fdecea;
  border: 1px solid #f5c6c0;
  border-radius: var(--radius-sm);
  color: #b3261e;
  padding: 0.9rem 1.1rem;
  font-size: 0.93rem;
}

.form-error a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
}

/* Honigtopf-Feld: für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form button[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--cream-dim);
  padding-top: clamp(2.75rem, 5.5vw, 3.75rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .brand-name {
  color: var(--cream);
  font-size: 1.5rem;
}

.footer-brand .brand-sub {
  color: var(--cream-dim);
}

.footer-brand p {
  margin-top: 1.1rem;
  font-size: 0.94rem;
  max-width: 40ch;
}

/* Mitgliedschaften im Footer – einfarbig, ohne Rahmen */

.footer-members {
  margin-top: 1.6rem;
}

.footer-members-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0.75;
  margin-bottom: 0.85rem;
}

.footer-members-logos {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.footer-members-logos img {
  height: 52px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.18s ease;
}

.footer-members-logos img:hover {
  opacity: 1;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 1.02rem;
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  color: var(--cream-dim);
  font-size: 0.94rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(241, 245, 250, 0.12);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.86rem;
}

.footer-bottom a {
  color: var(--cream-dim);
}

.footer-bottom a:hover {
  color: var(--cream);
}

.footer-legal {
  display: flex;
  gap: 1.4rem;
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */

.legal-main {
  padding-top: clamp(8rem, 14vh, 9.5rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.legal-main .container {
  max-width: 820px;
}

.legal-main h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.legal-content {
  margin-top: 2.5rem;
}

.legal-content section + section {
  margin-top: 2.2rem;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.legal-content p + p {
  margin-top: 0.8rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-top: 0.6rem;
  display: grid;
  gap: 0.35rem;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.placeholder {
  background: #fdf3d7;
  border-radius: 4px;
  padding: 0.05em 0.35em;
  color: #7a5b13;
  font-weight: 500;
}

/* ---------- Chat-Widget (WhatsApp + Formular) ---------- */

.chat-launcher {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 200;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(7, 94, 84, 0.55);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.chat-launcher:hover {
  transform: scale(1.07);
}

.chat-launcher svg {
  width: 31px;
  height: 31px;
}

.chat-launcher .icon-close {
  display: none;
  width: 22px;
  height: 22px;
}

.chat-launcher[aria-expanded="true"] .icon-wa {
  display: none;
}

.chat-launcher[aria-expanded="true"] .icon-close {
  display: block;
}

.chat-panel {
  position: fixed;
  right: 1.3rem;
  bottom: 5.8rem;
  z-index: 200;
  width: min(360px, calc(100vw - 2rem));
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px -18px rgba(15, 28, 44, 0.45);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.chat-panel.open {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--whatsapp-dark);
  color: #fff;
  padding: 0.95rem 1.1rem;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: #fff;
  flex-shrink: 0;
}

.chat-head-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.chat-head-status {
  font-size: 0.75rem;
  opacity: 0.85;
}

.chat-body {
  background: #e5ddd5;
  padding: 1.1rem;
  min-height: 96px;
}

.chat-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 0.7rem 0.95rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
  max-width: 88%;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem;
  background: #f0f2f5;
}

.chat-input {
  flex: 1;
  min-width: 0;
  border: 1px solid #dfe3e8;
  border-radius: 999px;
  padding: 0.68rem 1.05rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}

.chat-input:focus {
  border-color: var(--whatsapp);
}

.chat-send {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.chat-send:hover {
  background: #1fb959;
  transform: scale(1.06);
}

.chat-send svg {
  width: 20px;
  height: 20px;
}

.chat-alt {
  padding: 0.85rem 1rem;
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}

.chat-alt a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--terra);
}

.chat-alt a:hover {
  color: var(--terra-dark);
}

.chat-alt svg {
  width: 1em;
  height: 1em;
}

@media (max-width: 640px) {
  .chat-launcher {
    right: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
  }

  .chat-panel {
    right: 0.8rem;
    bottom: 5.2rem;
    width: calc(100vw - 1.6rem);
  }
}

/* ---------- Scroll-Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem 1.6rem;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions,
  .hero-langs {
    justify-content: center;
  }

  .hero-sub,
  .hero .section-lead {
    margin-inline: auto;
  }

  /* Mobil: erst Text und Buttons, dann ein kompaktes Porträt */
  .hero-portrait {
    width: min(62vw, 270px);
    margin-top: 2.6rem;
    margin-bottom: 3rem;
  }

  .portrait-card {
    padding: 0.65rem 1rem;
    max-width: 124%;
  }

  .portrait-card strong {
    font-size: 0.95rem;
  }

  .portrait-card span {
    font-size: 0.74rem;
  }

  .intro-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .lang-combos {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    height: 46px;
  }

  /* Mobile Navigation */
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 1.2rem clamp(1.25rem, 4vw, 2rem) 1.6rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .main-nav a {
    display: block;
    padding: 0.7rem 0.2rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .main-nav li:last-child a {
    border-bottom: none;
  }

  .nav-cta-mobile {
    display: block;
  }

  .main-nav .nav-cta-mobile a {
    margin-top: 0.9rem;
    padding: 0.85rem 1rem;
    background: var(--terra);
    color: #fff;
    font-weight: 600;
    text-align: center;
    border-radius: 999px;
    border-bottom: none;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1rem;
  }

  .cards-grid,
  .steps-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Sprachkombinationen kompakt, damit nichts überläuft */
  .combo {
    padding: 1rem 1.1rem;
    gap: 0.6rem;
  }

  .combo-lang {
    font-size: 1.02rem;
    gap: 0.5rem;
    min-width: 0;
  }

  .combo-code {
    width: 34px;
    height: 34px;
    font-size: 0.68rem;
  }

  .combo-swap {
    width: 38px;
    height: 38px;
  }

  .combo-swap svg {
    width: 16px;
    height: 16px;
  }

  .why-grid .why-item:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .btn {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section-cta .btn,
  .cta-band .btn {
    width: auto;
  }

  .cta-choice {
    flex-direction: column;
    align-items: stretch;
  }

  .section-cta .cta-choice .btn {
    width: 100%;
  }
}

/* ============================================================
   Blog (öffentliche Seiten)
   ============================================================ */

.blog-main {
  padding-top: clamp(7.5rem, 13vh, 9rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  min-height: 62vh;
}

.blog-head {
  margin-bottom: 2.6rem;
}

.blog-empty {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  display: grid;
  gap: 1.2rem;
  justify-items: center;
}

/* Kategorie-Filter */

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 2.4rem;
}

.filter-chip {
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--terra);
  color: var(--terra);
}

.filter-chip.active {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #c4d3e5;
}

.post-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.post-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--sand);
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-cover-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-cover-empty span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--terra);
  opacity: 0.45;
}

.post-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.4rem 1.5rem 1.6rem;
}

.post-date {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.post-cat {
  display: inline-block;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  background: var(--terra-soft);
  color: var(--terra);
  font-size: 0.76rem;
  font-weight: 600;
}

a.post-cat:hover {
  background: var(--terra);
  color: #fff;
}

/* Seitennummern */

.pagination {
  margin-top: 2.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.page-btn {
  min-width: 42px;
  height: 42px;
  padding-inline: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.page-btn:hover {
  border-color: var(--terra);
  color: var(--terra);
}

.page-btn.current {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
}

.post-body h2 {
  font-size: 1.25rem;
}

.post-body p {
  font-size: 0.95rem;
}

.post-more {
  margin-top: auto;
  padding-top: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--terra);
  font-weight: 600;
  font-size: 0.92rem;
}

.post-more svg {
  width: 1em;
  height: 1em;
}

/* Einzelner Beitrag */

.post-container {
  max-width: 800px;
}

.post-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.post-back svg {
  width: 1em;
  height: 1em;
}

.post-single h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-top: 0.6rem;
}

.post-single-cover {
  margin-top: 1.8rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.post-single-cover img {
  width: 100%;
}

.post-content {
  margin-top: 1.8rem;
}

.post-content p {
  margin-bottom: 1.05rem;
}

.post-content h2,
.post-content h3 {
  margin: 1.8rem 0 0.7rem;
}

.post-content ul,
.post-content ol {
  padding-left: 1.4rem;
  margin-bottom: 1.05rem;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-content img {
  border-radius: var(--radius-sm);
}

.post-content blockquote {
  border-left: 3px solid var(--terra);
  padding-left: 1rem;
  margin: 1.2rem 0;
  color: var(--ink-soft);
  font-style: italic;
}

.post-cta {
  margin-top: 3rem;
  text-align: center;
  background: var(--sand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
  justify-items: center;
}

.post-cta p {
  color: var(--ink);
  font-weight: 500;
}

/* ---------- Blog-Vorschau auf der Startseite ---------- */

.blog-strip-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.blog-strip-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.strip-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.strip-btn:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
}

.strip-btn svg {
  width: 18px;
  height: 18px;
}

.blog-strip-nav .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.blog-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
  scrollbar-color: var(--cream-dim) transparent;
}

.strip-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.strip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #c4d3e5;
}

.strip-cover {
  aspect-ratio: 16 / 9;
  background: var(--sand);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strip-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-cover span {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--terra);
  opacity: 0.45;
}

.strip-body {
  padding: 0.95rem 1.05rem 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.strip-body time {
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.strip-body h3 {
  font-size: 1.02rem;
  line-height: 1.35;
}

.strip-body .strip-more {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--terra);
}

@media (max-width: 640px) {
  .strip-card {
    flex-basis: 220px;
  }

  .blog-strip-nav .strip-btn {
    display: none;
  }
}

/* ============================================================
   Blog-Verwaltung (Admin)
   ============================================================ */

.admin-body {
  background: var(--paper);
}

.admin-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 2rem) 4rem;
}

.admin-wrap-narrow {
  max-width: 800px;
}

.admin-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.admin-top h1 {
  font-size: 1.6rem;
  margin-top: 0.3rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.admin-actions .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  width: auto;
}

.admin-logout {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-msg,
.admin-error {
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.admin-msg {
  background: #e7f5ec;
  border: 1px solid #bfe3cd;
  color: #1d6b3f;
}

.admin-error {
  background: #fdecea;
  border: 1px solid #f5c6c0;
  color: #b3261e;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  vertical-align: middle;
}

.admin-table th {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--sand-soft);
}

.admin-table td {
  border-top: 1px solid var(--line);
}

.admin-slug {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-on {
  background: #e7f5ec;
  color: #1d6b3f;
}

.badge-off {
  background: #fdf3d7;
  color: #7a5b13;
}

.admin-row-actions {
  white-space: nowrap;
}

.admin-row-actions a,
.admin-row-actions button {
  font-size: 0.88rem;
  font-weight: 500;
  margin-right: 0.9rem;
}

.admin-row-actions form {
  display: inline;
}

.admin-row-actions button {
  background: none;
  border: none;
  padding: 0;
  color: #b3261e;
  cursor: pointer;
  font-family: inherit;
}

.admin-row-actions button:hover {
  text-decoration: underline;
}

.admin-form {
  margin-top: 0.5rem;
}

.field input[type="file"] {
  padding: 0.6rem;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
}

.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--terra);
}

.admin-cover-current {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

/* Titelbild-Upload-Zone */

.upload-zone {
  position: relative;
  display: block;
  border: 2px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  min-height: 150px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.upload-zone:hover,
.upload-zone.dragging {
  border-color: var(--terra);
  background: var(--terra-soft);
}

.upload-zone .upload-hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 1rem;
}

.upload-zone .upload-hint svg {
  width: 26px;
  height: 26px;
  color: var(--terra);
  margin-bottom: 0.2rem;
}

.upload-zone .upload-hint small {
  font-size: 0.78rem;
}

.upload-zone img {
  display: none;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.upload-zone.has-image img {
  display: block;
}

.upload-zone.has-image .upload-hint {
  background: rgba(20, 37, 58, 0.55);
  color: #fff;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.upload-zone.has-image:hover .upload-hint,
.upload-zone.has-image.dragging .upload-hint {
  opacity: 1;
}

.upload-zone.has-image .upload-hint svg {
  color: #fff;
}

/* Editor */

.editor {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  overflow: hidden;
}

.editor:focus-within {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(26, 95, 168, 0.15);
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.6rem;
  background: var(--sand-soft);
  border-bottom: 1px solid var(--line);
}

.editor-toolbar button {
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.editor-toolbar button:hover {
  background: #fff;
  border-color: var(--line);
}

.editor-sep {
  width: 1px;
  height: 1.4rem;
  background: var(--line);
  margin-inline: 0.35rem;
}

.editor-area {
  min-height: 260px;
  padding: 1rem 1.1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  outline: none;
  background: var(--surface);
}

.editor-area:empty::before {
  content: attr(data-placeholder);
  color: #9aa7b5;
}

.editor-area p {
  margin-bottom: 0.9rem;
}

.editor-area h2,
.editor-area h3 {
  margin: 1.2rem 0 0.5rem;
}

.editor-area ul,
.editor-area ol {
  padding-left: 1.4rem;
  margin-bottom: 0.9rem;
}

.editor-area ul {
  list-style: disc;
}

.editor-area ol {
  list-style: decimal;
}

.editor-area img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 0.5rem 0;
}

.editor-area a {
  text-decoration: underline;
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.admin-login-card {
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2.2rem;
  display: grid;
  gap: 1.2rem;
}

.admin-login-card h1 {
  font-size: 1.4rem;
}

.admin-login-card form {
  display: grid;
  gap: 1.15rem;
}

/* Browser-Autofill soll nicht das Design überschreiben */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--paper) inset;
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
  border: 1.5px solid var(--line);
  transition: background-color 9999s ease-in-out 0s;
}

.field input:-webkit-autofill:focus {
  border-color: var(--terra);
}

.admin-back a {
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .post-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .admin-table th:nth-child(2),
  .admin-table td:nth-child(2),
  .admin-table th:nth-child(4),
  .admin-table td:nth-child(4) {
    display: none;
  }
}

/* Dokument direkt senden (Kontakt-Sektion) */

.send-choice {
  margin-top: 2rem;
}

.send-choice-label {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.send-choice-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.send-choice-buttons .btn {
  padding: 0.75rem 1.35rem;
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .send-choice-buttons {
    flex-direction: column;
  }

  .send-choice-buttons .btn {
    width: 100%;
  }
}

/* Rechtsseiten – Brotkrumen, Zwischenüberschriften, Hinweisblöcke */

.legal-breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.legal-breadcrumb a {
  color: var(--ink-soft);
}

.legal-breadcrumb a:hover {
  color: var(--terra);
}

.legal-breadcrumb span[aria-hidden] {
  margin-inline: 0.4rem;
  color: var(--cream-dim);
}

.legal-content h3 {
  font-size: 1.08rem;
  margin: 1.6rem 0 0.5rem;
}

.legal-highlight {
  background: var(--sand-soft);
  border-left: 4px solid var(--terra);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  margin: 1.4rem 0;
  font-size: 0.965rem;
}

.legal-highlight p + p {
  margin-top: 0.8rem;
}

.legal-more {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.legal-more-title {
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

.legal-stand {
  margin-top: 1.6rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
