/* =========================================================
   Storck Consulting – Stylesheet
   Reines CSS, kein Build-Schritt. Schlicht, seriös, responsiv.
   ========================================================= */

:root {
  /* Farben */
  --navy:        #0e2438;
  --navy-700:    #163350;
  --navy-600:    #1d456b;
  --accent:      #2b6cb0;
  --accent-700:  #245a94;
  --ink:         #17242f;
  --muted:       #566573;
  --line:        #e3e8ee;
  --bg:          #ffffff;
  --bg-soft:     #f5f7fa;
  --bg-navy:     #0e2438;
  --white:       #ffffff;
  --ok-bg:       #e6f5ec;
  --ok-fg:       #1f7a45;
  --err-bg:      #fdecec;
  --err-fg:      #b32020;

  /* Maße */
  --maxw:        1120px;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow:      0 1px 2px rgba(14,36,56,.06), 0 8px 24px rgba(14,36,56,.06);
  --shadow-sm:   0 1px 2px rgba(14,36,56,.08);

  /* Typografie */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / Basis ---------- */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { color: var(--navy); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 2.85rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }

p { margin: 0 0 1em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-700); text-decoration: underline; }

ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .25em 0; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

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

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--bg-navy); color: #dbe4ee; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section--navy .section-head p { color: #b9c7d6; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.section--navy .eyebrow { color: #7fb0e0; }

.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
  letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; color: var(--navy); }
.brand__mark {
  width: 34px; height: 34px;
  flex: 0 0 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--accent) 130%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.02em;
}
.brand__sub { color: var(--muted); font-weight: 500; }
.brand__logo { height: 30px; width: auto; display: block; }
.footer-brand .brand__logo { height: 32px; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  width: 44px; height: 40px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }

.nav-menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: inline-block;
  color: var(--ink);
  font-weight: 500;
  font-size: .98rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
}
.nav-menu a:hover { background: var(--bg-soft); text-decoration: none; color: var(--navy); }
.nav-menu a[aria-current="page"] { color: var(--accent); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: .85rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, transform .05s ease, box-shadow .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--accent-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eef2f7; color: var(--navy); }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.nav .btn { padding: .6rem 1.1rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero__title { margin-bottom: .35em; }
.hero__intro { font-size: 1.2rem; color: var(--muted); max-width: 42ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.hero__badge {
  position: absolute;
  left: -14px; bottom: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: .7rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
  max-width: 210px;
  line-height: 1.35;
}
.hero__badge span { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; }

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.card h3 { margin-top: .25rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #e9f0f8;
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.card__icon svg { width: 22px; height: 22px; }

.pill {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  background: #e9f0f8;
  border-radius: 999px;
  padding: .2rem .7rem;
  margin-bottom: .8rem;
}

/* Feature list with checks */
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin: .55rem 0;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .35em;
  width: 1.2rem; height: 1.2rem;
  background: #e9f0f8;
  border-radius: 50%;
}
.checklist li::after {
  content: "";
  position: absolute;
  left: .38rem; top: .62em;
  width: .42rem; height: .22rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Service detail blocks ---------- */
.service {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.1rem;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.service h3 { margin-bottom: .3rem; }
.service p:last-child { margin-bottom: 0; }

/* ---------- Split (Über mich / CTA) ---------- */
.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #c6d3e0; max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta .hero__actions { justify-content: center; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stat__num { font-size: 2.4rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat__label { color: var(--muted); font-size: .98rem; margin-top: .35rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; margin: 0 0 1rem; }
.contact-list .ico {
  flex: 0 0 40px; width: 40px; height: 40px;
  border-radius: 10px; background: #e9f0f8; color: var(--accent);
  display: grid; place-items: center;
}
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { color: var(--accent); }

/* ---------- Form ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
  font-size: .95rem;
}
.field .req { color: var(--accent); }
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fdfefe;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,108,176,.15);
}
.field textarea { resize: vertical; min-height: 140px; }

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

.form-note { font-size: .88rem; color: var(--muted); margin: .2rem 0 1.1rem; }
.form-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.form-status {
  display: none;
  margin-top: 1.1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .95rem;
}
.form-status.is-visible { display: block; }
.form-status.is-ok  { background: var(--ok-bg);  color: var(--ok-fg); }
.form-status.is-err { background: var(--err-bg); color: var(--err-fg); }

.cf-turnstile { margin-bottom: 1.15rem; }

/* ---------- Legal / prose pages ---------- */
.prose { max-width: 780px; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; color: var(--navy-600); }
.prose p, .prose li { color: #2b3b48; }
.placeholder {
  background: #fff7e6;
  border: 1px dashed #e6b652;
  border-radius: 4px;
  padding: 0 .3em;
  font-style: normal;
  color: #8a5a00;
  font-weight: 600;
}

.legal-meta { color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b9c7d6;
  padding: 3rem 0 1.5rem;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 .9rem; }
.site-footer a { color: #cdd9e6; }
.site-footer a:hover { color: #fff; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin: .4rem 0; }
.footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-brand .brand__sub { color: #9db0c4; }
.footer-brand p { color: #9db0c4; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: #8ea1b6;
  font-size: .88rem;
}
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; }
  .split__media { max-width: 380px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .5rem;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: .8rem 1rem; border-radius: var(--radius-sm); }
  .nav-menu li.nav-cta { margin-top: .3rem; }
  .nav-menu li.nav-cta .btn { width: 100%; }
}

@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: 1rem; max-width: none; }
}

@media (max-width: 380px) {
  .brand__logo { height: 26px; }
}

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