/* ============================================================
   Alpen Agency – Stylesheet
   Dunkles Premium-Design, Akzent: Eisblau
   ============================================================ */

:root {
  --bg: #0a0e14;
  --bg-soft: #0f141d;
  --card: #141b26;
  --card-border: #1f2937;
  --text: #e8edf4;
  --muted: #97a3b6;
  --accent: #4da8ff;
  --accent-2: #7fd8ff;
  --accent-soft: rgba(77, 168, 255, 0.12);
  --radius: 16px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.logo .peak { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

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

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

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06121f !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(77, 168, 255, 0.35);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
}

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

.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(77, 168, 255, 0.18), transparent),
    var(--bg);
}

.hero::after {
  /* dezente Bergsilhouette */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 180px;
  background: linear-gradient(to top right, transparent 49.5%, rgba(77,168,255,0.05) 50%),
              linear-gradient(to top left, transparent 49.5%, rgba(77,168,255,0.04) 50%);
  pointer-events: none;
}

.hero-inner { max-width: 760px; }

.eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero h1 .grad {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 620px;
}

.hero-actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06121f;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(77, 168, 255, 0.4);
  color: #06121f;
}

.btn-ghost {
  border: 1px solid var(--card-border);
  color: var(--text);
}

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

/* ---------- Sections ---------- */

section { padding: 90px 0; }

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

.section-head { max-width: 640px; margin-bottom: 56px; }

.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

/* ---------- Leistungen ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover { transform: translateY(-4px); border-color: rgba(77, 168, 255, 0.45); }

.card .icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 12px;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Ablauf / Prozess ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 34px 26px 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step:hover { transform: translateY(-4px); border-color: rgba(77, 168, 255, 0.45); }

.step .num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #06121f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(77, 168, 255, 0.3);
}

.step h3 { font-size: 1.1rem; margin-bottom: 10px; }

.step p { color: var(--muted); font-size: 0.93rem; }

.step .arrow {
  position: absolute;
  top: 46px;
  right: -19px;
  color: var(--accent);
  font-size: 1.3rem;
  z-index: 2;
}

.step:last-child .arrow { display: none; }

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.why-item .check-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-weight: 800;
}

.why-item h3 { font-size: 1.02rem; margin-bottom: 4px; }

.why-item p { color: var(--muted); font-size: 0.9rem; }

.promise {
  margin-top: 40px;
  text-align: center;
  background: linear-gradient(135deg, rgba(77,168,255,0.12), rgba(127,216,255,0.06));
  border: 1px solid rgba(77, 168, 255, 0.3);
  border-radius: var(--radius);
  padding: 34px 28px;
}

.promise h3 { font-size: 1.25rem; margin-bottom: 8px; }

.promise p { color: var(--muted); max-width: 560px; margin: 0 auto; }

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

.faq { max-width: 760px; margin: 0 auto; }

.faq details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details[open] { border-color: rgba(77, 168, 255, 0.4); }

.faq .faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Video ---------- */

.video-wrap { max-width: 860px; margin: 0 auto; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder { text-align: center; padding: 30px; }

.video-placeholder .play {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06121f;
  font-size: 1.6rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease;
}

.video-placeholder .play:hover { transform: scale(1.08); }

.video-placeholder p { color: var(--muted); }

.video-consent-note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ---------- Gründer ---------- */

.founders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.founder {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.founder img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.founder .info { padding: 22px 20px 28px; }

.founder h3 { font-size: 1.2rem; }

.founder .role { color: var(--accent-2); font-size: 0.9rem; font-weight: 600; margin-top: 4px; }

.founder p.bio { color: var(--muted); font-size: 0.92rem; margin-top: 12px; }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 { font-size: 1.2rem; margin-bottom: 14px; }

.contact-info p { color: var(--muted); margin-bottom: 20px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.contact-item .ci-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

form.contact-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.97rem;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

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

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.83rem;
  color: var(--muted);
  margin: 4px 0 20px;
}

.consent input { margin-top: 4px; }

.form-msg {
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.form-msg.error {
  background: rgba(255, 99, 99, 0.12);
  border: 1px solid rgba(255, 99, 99, 0.4);
  color: #ffb3b3;
}

/* Honeypot – für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

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

.site-footer {
  border-top: 1px solid var(--card-border);
  background: var(--bg-soft);
  padding: 48px 0 32px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-grid .logo { margin-bottom: 8px; display: inline-block; }

.footer-grid p { color: var(--muted); font-size: 0.9rem; max-width: 320px; }

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

.footer-links a { color: var(--muted); font-size: 0.9rem; }

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

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Rechtstexte ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 24px 90px;
}

.legal h1 { font-size: 2rem; margin-bottom: 30px; }

.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; }

.legal p, .legal li { color: var(--muted); margin-bottom: 12px; font-size: 0.97rem; }

.legal ul { padding-left: 22px; }

/* ---------- Danke-Seite ---------- */

.thanks {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 24px;
}

.thanks .check {
  width: 84px;
  height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06121f;
  font-size: 2.2rem;
}

.thanks h1 { font-size: 2rem; margin-bottom: 12px; }

.thanks p { color: var(--muted); margin-bottom: 30px; }

/* Verbindungspfeile nur, wenn alle Schritte nebeneinander passen */
@media (max-width: 1020px) {
  .step .arrow { display: none; }
}

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

@media (max-width: 820px) {
  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--card-border);
    padding: 20px 24px 28px;
    gap: 18px;
    align-items: flex-start;
  }

  .nav-links.open { display: flex; }

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

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

  section { padding: 64px 0; }

  .hero { padding: 80px 0 70px; }
}
