/* ==========================================================
   evelin.digital – Kontakt-Onepager
   Farben und Schrift gemäß Mini-CI
   ========================================================== */

/* --- Schrift (lokal eingebunden, Datei siehe fonts/README.txt) --- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Design-Tokens --- */
:root {
  --ink: #111111;          /* Logo, Überschriften, Navigation */
  --text: #1A1A1A;         /* Fließtext */
  --muted: #5C5C66;        /* Sekundärtext */
  --violet: #8524DC;       /* Links, Verlaufsstart */
  --magenta: #E11BC2;      /* Verlaufsende, Punkt-Akzente */
  --bg: #F4F2F8;           /* Seitenhintergrund (Basis) */
  --tint: #FBE9F6;         /* Hintergrund-Tint */
  --surface: #FFFFFF;      /* Flächen */
  --line: #D4CCE3;         /* Trennlinien */
  --tag: #E6DFF5;          /* Hinweisflächen */

  --gradient: linear-gradient(135deg, #8524DC 0%, #E11BC2 100%);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pill: 999px;
  --container: 1080px;
  --text-width: 680px;
  --hero-width: 770px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;          /* 17 px */
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }  /* 18 px */
}

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

a {
  color: var(--violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { text-decoration-thickness: 2px; }

p { margin: 0 0 1em; }

h1, h2, h3 { color: var(--ink); margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* --- Fokus (Tastatur) --- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- Skip-Link --- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--pill);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 248, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo { display: inline-flex; line-height: 0; }
.logo img { width: 88px; height: auto; }

@media (min-width: 900px) {
  .logo img { width: 104px; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--pill);
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

/* Sekundärer Header-CTA: weiße Fläche, feine Verlaufs-Umrandung (wie Primär-CTA),
   Hover: vollflächig Magenta */
.btn-nav {
  background:
    linear-gradient(#FFFFFF, #FFFFFF) padding-box,
    var(--gradient) border-box;
  border: 1.5px solid transparent;
  color: var(--ink);
  font-weight: 500;
}
.btn-nav:hover {
  background: var(--magenta);
  color: #fff;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 1.1875rem;           /* ca. 19 px: Großtext-Kontrast für Weiß auf Magenta */
  padding: 1rem 2.25rem;
  min-height: 56px;
  box-shadow: 0 8px 24px -12px rgba(133, 36, 220, 0.55);
}
.btn-primary:hover { color: #fff; opacity: 0.95; }

.btn-primary {
  gap: 10px;
}

.btn-icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 56px;
}

/* Sehr weiche, zurückhaltende Flächen (ohne Verlauf) */
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -160px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--tint);
  filter: blur(90px);
  opacity: 0.9;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -120px;
  left: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: #EBE6F4;
  filter: blur(90px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner { max-width: var(--hero-width); }

@media (min-width: 900px) {
  .hero { padding: 80px 0 88px; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 8px 16px;
  background: var(--surface);
  border-radius: var(--pill);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.badge-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--magenta);
}

h1 {
  font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

/* Ein Schlüsselwort im Verlauf (Text-Verlauf) */
.accent-word {
  color: var(--violet);                 /* Fallback */
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text .lead {
  color: var(--ink);
  font-weight: 400;
}

/* Einheitliche Textgröße für Einleitung und Kontakt-Text */
.hero-text p,
.contact-inner > p {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
}
.hero-text strong {
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 900px) {
  .hero-text p,
  .contact-inner > p { font-size: 1.1875rem; }
}

/* --- Kontakt: Button, Telefon und E-Mail als eine Einheit --- */
.contact {
  padding: 80px 0 64px;
  background: var(--surface);
  text-align: center;
  border-top: 1px solid var(--tag);
}

@media (min-width: 900px) {
  .contact { padding: 104px 0 80px; }
}

.contact-inner {
  max-width: var(--hero-width);
  margin-inline: auto;
}

.contact-inner h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

@media (min-width: 900px) {
  .contact-inner h2 { font-size: 2.25rem; }
}

.contact-inner > p {
  max-width: 560px;
  margin: 0 auto 32px;
}

.contact-inner .btn-primary {
  width: 100%;
  max-width: 340px;
}

@media (min-width: 560px) {
  .contact-inner .btn-primary { width: auto; }
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
}

.contact-list dt {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-list dd { margin: 0; }

.contact-list a {
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 500;
  text-decoration-color: var(--violet);
  word-break: break-word;
}

@media (min-width: 560px) {
  .contact-list {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .contact-list > div { padding: 0 32px; }

  .contact-list > div + div { border-left: 1px solid var(--line); }
}

/* --- Rechtliche Bereiche (zurückhaltend) --- */
.legal {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

.legal-inner { max-width: var(--text-width); }

.legal h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.legal h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 6px;
}

.legal p { margin-bottom: 0.75em; }

.legal a { color: var(--violet); }

.legal ul {
  margin: 0 0 0.75em;
  padding-left: 1.25em;
}

.legal li { margin-bottom: 2px; }

.legal-meta {
  margin-top: 32px;
  font-size: 0.8125rem;
}

/* --- Footer --- */
.site-footer {
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.copyright { margin: 0; }

/* --- Reduzierte Bewegung --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
