/* ============================================================
   dare-ai.de — Website-Stylesheet
   Design abgeleitet aus der dare-Briefvorlage (Urbanist, Teal-Grün).
   Farben: teal #0f7d8c · green #1eb980 · dark #15303a
   ============================================================ */

/* ─── Urbanist Fonts (lokal, bereits im Projekt vorhanden) ─────── */
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/Urbanist-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/Urbanist-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/Urbanist-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* ─── Design-Tokens ────────────────────────────────────────────── */
:root {
  --dare-teal:   #0f7d8c;
  --dare-green:  #1eb980;
  --dare-dark:   #15303a;
  --ink:         #22333b;
  --muted:       #7a8a91;
  --line:        #d8e1e3;
  --paper:       #ffffff;
  --bg:          #f4f7f8;
  --bg-soft:     #eaf1f2;

  --gradient: linear-gradient(135deg, var(--dare-teal), var(--dare-green));
  --shadow-sm: 0 2px 10px rgba(21, 48, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(21, 48, 58, 0.10);
  --shadow-lg: 0 20px 50px rgba(21, 48, 58, 0.15);

  --radius: 14px;
  --radius-lg: 22px;
  --maxw: 1120px;

  --space: clamp(1rem, 2.5vw, 2rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Urbanist", "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--dare-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--dare-dark);
  letter-spacing: -0.01em;
}

/* ─── Layout-Helfer ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space);
}

.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dare-dark); color: #dfe9ea; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dare-teal);
  margin-bottom: 0.75rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.section-head p { color: var(--muted); margin-top: 0.85rem; font-size: 1.05rem; }
.section--dark .section-head p { color: #a9c2c5; }

/* ─── Verlaufsbalken links (wie Briefvorlage) ──────────────────── */
.edge-bar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--dare-teal), var(--dare-green));
  z-index: 200;
}

/* ─── Header / Navigation ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--space);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; }
.brand .brand-name { font-size: 1.25rem; font-weight: 700; color: var(--dare-dark); }
.brand .brand-name span { color: var(--dare-teal); }

.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.nav-links a:hover { color: var(--dare-teal); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  font-size: 1.6rem; line-height: 1; color: var(--dare-dark);
}

/* ─── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--gradient); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { box-shadow: var(--shadow-md); }
.btn--ghost { border-color: var(--line); color: var(--dare-dark); background: #fff; }
.btn--ghost:hover { border-color: var(--dare-teal); color: var(--dare-teal); }
.btn--light { background: #fff; color: var(--dare-dark); }

/* ─── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(30, 185, 128, 0.16), transparent 60%),
    radial-gradient(900px 500px at -5% 10%, rgba(15, 125, 140, 0.14), transparent 55%),
    var(--paper);
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dare-teal);
  background: rgba(15, 125, 140, 0.08);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.hero h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
.hero h1 .grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink); margin-top: 1.2rem; max-width: 40ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.hero-card .badge {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--gradient);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1.4rem;
  margin-bottom: 1rem;
}
.hero-card ul { list-style: none; margin-top: 1rem; display: grid; gap: 0.85rem; }
.hero-card li { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 600; color: var(--dare-dark); }
.hero-card li::before {
  content: "✓";
  color: var(--dare-green);
  font-weight: 700;
  flex: 0 0 auto;
}

/* ─── Karten / Grids ───────────────────────────────────────────── */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(15, 125, 140, 0.10);
  color: var(--dare-teal);
  display: grid; place-items: center;
  font-size: 1.35rem; margin-bottom: 1rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ─── Mission Block ────────────────────────────────────────────── */
.mission-quote {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--dare-dark);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.4;
}
.mission-quote .grad {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Prozess / Schritte ───────────────────────────────────────── */
.step .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: grid; place-items: center; font-weight: 700;
  margin-bottom: 0.9rem;
}

/* ─── CTA-Band ─────────────────────────────────────────────────── */
.cta-band { background: var(--gradient); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,0.9); margin: 0.75rem auto 1.8rem; max-width: 55ch; }

/* ─── Content-Seiten (Impressum/Datenschutz) ───────────────────── */
.page-hero {
  background: var(--dare-dark);
  color: #fff;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero p { color: #a9c2c5; margin-top: 0.5rem; }

.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 2.2rem 0 0.75rem; }
.prose h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.prose p, .prose ul { margin-bottom: 1rem; color: var(--ink); }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose .meta-label { color: var(--muted); font-weight: 600; }
.prose address { font-style: normal; line-height: 1.7; }

/* ─── Kontakt ──────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 1.2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ci {
  width: 44px; height: 44px; border-radius: 12px; flex: 0 0 auto;
  background: rgba(15,125,140,0.1); color: var(--dare-teal);
  display: grid; place-items: center; font-size: 1.2rem;
}
.contact-list .label { font-weight: 700; color: var(--dare-dark); }
.contact-list .value { color: var(--muted); }

.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-weight: 600; margin-bottom: 0.35rem; color: var(--dare-dark); }
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.form-field input:focus,
.form-field textarea:focus { outline: 2px solid var(--dare-teal); border-color: transparent; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }

/* ─── Footer ───────────────────────────────────────────────────── */
.site-footer { background: var(--dare-dark); color: #b9cccf; padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: var(--dare-green); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.site-footer a { color: #b9cccf; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 0.5rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; font-weight: 700; }
.footer-brand .brand-name span { color: var(--dare-green); }
.footer-brand p { color: #90a9ad; margin-top: 0.6rem; max-width: 34ch; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 2rem; padding-top: 1.2rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.85rem; color: #90a9ad;
}

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--space);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.6rem 0; border-bottom: 1px solid var(--bg-soft); }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── Reduced Motion ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
