/* =================================================================
   Infinity Fiber GbR — Designsystem
   Primärfarbe: #0066FF | Akzent: #00C896
   Schrift: Plus Jakarta Sans
   ================================================================= */

:root {
  --color-primary: #0066ff;
  --color-primary-600: #0052cc;
  --color-primary-50: #e6efff;
  --color-accent: #00c896;
  --color-accent-600: #00a87c;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f8ff;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-subtle: #94a3b8;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-danger: #ef4444;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.08);

  --container: 1180px;
  --header-h: 72px;

  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--color-primary-600);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.25rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.25rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1em;
  color: var(--color-text-muted);
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--soft {
  background: var(--color-bg-soft);
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  max-width: 720px;
  margin-bottom: 0.5rem;
}

.section-lead {
  max-width: 680px;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition:
    transform 0.1s ease,
    background 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--color-primary-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--color-accent);
  color: #fff;
}

.btn--accent:hover {
  background: var(--color-accent-600);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--ghost:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--color-text);
  font-size: 1.05rem;
}

.brand:hover {
  color: var(--color-text);
}

.brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

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

/* Buttons in der Navigation behalten ihre eigene Textfarbe
   (sonst überschreibt .nav a die Button-Farbe). */
.nav a.btn--primary,
.nav a.btn--primary:hover {
  color: #fff;
}

.nav a.btn--accent,
.nav a.btn--accent:hover {
  color: #fff;
}

.nav a.btn--ghost {
  color: var(--color-text);
}

.nav a.btn--ghost:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  position: relative;
  transition: transform 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem 1.25rem;
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav a:last-of-type {
    border-bottom: 0;
  }
  .nav .btn {
    align-self: flex-start;
    margin-top: 0.75rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  background: var(--color-bg-soft);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60vw;
  max-width: 720px;
  aspect-ratio: 1;
  background: radial-gradient(
    closest-side,
    rgba(0, 102, 255, 0.12),
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin: 1rem 0 1.75rem;
  max-width: 560px;
}

.hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.hero__bullets li {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__bullets li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6.2 5 8.7l4.5-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.hero__bullets ul {
  margin: 0;
  padding: 0;
  display: contents;
}

/* Hero Visual */
.hero__visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0, 200, 150, 0.08), transparent 40%);
}

.speed-card {
  position: relative;
  text-align: center;
  z-index: 1;
}

.speed-card__value {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.speed-card__unit {
  font-size: 1.5rem;
  color: var(--color-text);
  font-weight: 500;
  margin-left: 0.25rem;
}

.speed-card__label {
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  font-size: 1rem;
}

.speed-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 200, 150, 0.12);
  color: var(--color-accent-600);
  font-size: 0.85rem;
  font-weight: 600;
}

.speed-card__chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(0, 200, 150, 0.2);
}

/* Hero Visual als Foto */
.hero__visual--photo {
  padding: 0;
  background: var(--color-bg-soft);
}

.hero__visual--photo::before {
  display: none;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero Slideshow */
.hero__slideshow {
  position: absolute;
  inset: 0;
}

.hero__slide {
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__dots {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
}

.hero__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition:
    background 0.3s ease,
    width 0.3s ease;
}

.hero__dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.hero__dot.is-active {
  width: 22px;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }
}

/* schwebendes Badge über dem Foto – unten mittig zentriert */
.hero__badge {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  box-shadow: var(--shadow-md);
  text-align: left;
}

.hero__badge--fade {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.hero__badge strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.1;
}

.hero__badge small {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.hero__badge .hero__badge-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--color-primary-50);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero__badge .hero__badge-mark svg {
  width: 20px;
  height: 20px;
}

/* ---------- USP / Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 720px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat__value {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ---------- Services / Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.feature {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.25);
}

.feature__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-50);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ---------- Why Us ---------- */
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

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

.why__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.why__list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: start;
}

.why__list .why__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(0, 200, 150, 0.12);
  color: var(--color-accent-600);
  display: grid;
  place-items: center;
}

.why__list .why__icon svg {
  width: 20px;
  height: 20px;
}

.why__list h4 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.why__list p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- Team (Über uns) ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

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

.team-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.25);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-primary-50);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  overflow: hidden;
}

.team-card__avatar--photo {
  padding: 0;
  background: var(--color-bg-soft);
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card--hiring .team-card__role {
  color: var(--color-primary);
}

.team-card__name {
  margin: 0 0 0.2rem;
  font-size: 1.1rem;
}

.team-card__role {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-600);
}

.team-card__bio {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem clamp(1.5rem, 4vw, 2.75rem);
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 2vw + 1rem, 1.9rem);
}

.cta-banner p {
  color: var(--color-text-muted);
}

/* ---------- Brand Band ---------- */
.brandband {
  background: var(--color-bg-soft);
}

.brandband__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brandband__title {
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem);
  margin-bottom: 0.5rem;
}

.brandband__lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 580px;
}

.brandband__img {
  width: 100%;
  max-width: 640px;
  height: auto;
  margin: 1.5rem auto 2rem;
  mix-blend-mode: multiply;
}

/* ---------- Steps (Ablauf) ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.step {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.step__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.step__text {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
}

.faq__item {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}

.faq__item:hover {
  box-shadow: var(--shadow-sm);
}

.faq__item[open] {
  box-shadow: var(--shadow-md);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: "+";
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-primary-50);
  color: var(--color-primary);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease;
}

.faq__item[open] .faq__question::after {
  content: "−";
  background: var(--color-primary);
  color: #fff;
}

.faq__answer {
  padding: 0 1.25rem 1.15rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ---------- Contact / Form ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

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

.contact__info p {
  margin-bottom: 1rem;
}

.contact__details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.contact__details li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.85rem;
  align-items: start;
  color: var(--color-text);
  font-size: 0.95rem;
}

.contact__details .contact__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--color-primary-50);
  color: var(--color-primary);
  display: grid;
  place-items: center;
}

.contact__details svg {
  width: 18px;
  height: 18px;
}

.contact__details a {
  color: var(--color-text);
  font-weight: 500;
}

.contact__details a:hover {
  color: var(--color-primary);
}

.contact__details small {
  display: block;
  color: var(--color-text-subtle);
  font-size: 0.85rem;
}

/* Form */
.form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.field label .req {
  color: var(--color-danger);
  margin-left: 0.15rem;
}

.field input,
.field textarea {
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  color: var(--color-text);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--color-text-subtle);
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.field--check input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-primary);
}

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

.form__status {
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form__status.is-success {
  color: var(--color-accent-600);
}

.form__status.is-error {
  color: var(--color-danger);
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b1220;
  color: #cbd5e1;
  padding: 3.5rem 0 1.5rem;
}

.site-footer a {
  color: #cbd5e1;
}

.site-footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer__brand .brand {
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer__brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
  max-width: 380px;
}

.footer__title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
}

.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer__socials {
  display: flex;
  gap: 0.5rem;
}

.footer__socials a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease;
}

.footer__socials a:hover {
  background: var(--color-primary);
  color: #fff;
}

.footer__socials svg {
  width: 18px;
  height: 18px;
}

/* ---------- Cookie Banner ---------- */
.cookie {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 100;
  max-width: 460px;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
  display: none;
}

.cookie.is-visible {
  display: block;
}

.cookie h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.cookie p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.cookie__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cookie__actions .btn {
  flex: 1 1 auto;
  justify-content: center;
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.legal h1 {
  font-size: 2rem;
}

.legal h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.legal p,
.legal li {
  color: var(--color-text-muted);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal a {
  color: var(--color-primary);
  word-break: break-word;
}

/* ---------- Settings-Binding (Rechtsseiten) ---------- */
/* Verhindert kurzes Aufblitzen von Platzhaltertext vor dem DB-Laden */
html.page-legal:not(.settings-ready) [data-bind] {
  visibility: hidden;
}

/* ---------- Misc ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background: rgba(0, 102, 255, 0.18);
}
