/* stein.energie — Website-Styles
   CI: stein.+ Palette „Material / Natur & Elemente / Neutrale“
   (identisch mit finanz-cockpit/app/globals.css) */

:root {
  --rost: #8a4b2e;
  --eisen: #1a1a1a;
  --papier: #efeadf;
  --graphit: #54544c;
  --stahl: #9a958a;
  --holz: #9c7245;
  --sonne: #f2b705;
  --wasser: #2e86c1;
  --laub: #4e7a4a;
  --blatt: #7ba86e;
  --moos: #2e4a2c;
  --moos-tief: #223a20;
  --patina: #4e8a7b;
  --kupfer: #b8703e;
  --soft: #ddd9ce;
  --soft-subtle: #e8e5dc;
  --holz-hell: #c9a877;
  --surface: #ffffff;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --radius-card: 20px;
  --radius-btn: 999px;
  --shadow-card: 0 1px 2px rgb(0 0 0 / 0.06), 0 4px 16px rgb(0 0 0 / 0.05);
  --maxw: 1120px;
}

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--font-body);
  background: var(--papier);
  color: var(--eisen);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }

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

a { color: var(--wasser); }

:focus-visible { outline: 2px solid var(--wasser); outline-offset: 2px; }

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

/* ── Header ───────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--papier);
  border-bottom: 1px solid var(--soft);
}

.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  color: var(--eisen); text-decoration: none; white-space: nowrap;
}

.brand .mark { width: 30px; height: 30px; border-radius: 7px; }

.brand .tld { color: var(--kupfer); }

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav a {
  color: var(--graphit); text-decoration: none; font-size: 0.95rem; font-weight: 500;
}

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

.site-nav a.btn-primary { color: #fafaf7; }
.site-nav a.btn-primary:hover { color: #fafaf7; }

.nav-toggle { display: none; }

/* ── Buttons ──────────────────────────── */

.btn {
  display: inline-block; padding: 12px 26px; border-radius: var(--radius-btn);
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-primary { background: var(--rost); color: #fafaf7; }
.btn-primary:hover { background: var(--kupfer); }

.btn-light { background: #fafaf7; color: var(--moos); }
.btn-light:hover { background: var(--soft-subtle); }

.btn-outline {
  background: transparent; color: var(--eisen);
  box-shadow: inset 0 0 0 1.5px var(--stahl);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--eisen); }

/* ── Hero ─────────────────────────────── */

.hero {
  background: linear-gradient(160deg, var(--moos) 0%, var(--moos-tief) 70%);
  color: #fafaf7;
  overflow: hidden;
}

.hero .wrap {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; padding-top: 88px; padding-bottom: 88px;
}

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 600; }

.hero h1 em { font-style: normal; color: var(--sonne); }

.hero p.lead {
  margin-top: 20px; font-size: 1.15rem; color: #c2cfbd; max-width: 34em;
}

.hero .cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-art { justify-self: center; width: min(100%, 420px); }

.hero-badges {
  margin-top: 44px; display: flex; gap: 28px; flex-wrap: wrap;
  color: #9fb39a; font-size: 0.9rem;
}

.hero-badges span { display: flex; align-items: center; gap: 8px; }

.hero-badges svg { width: 18px; height: 18px; flex: none; }

/* ── Sections ─────────────────────────── */

section.block { padding: 88px 0; }

.kicker {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--kupfer);
}

.block h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-top: 10px; font-weight: 600; }

.block .intro { margin-top: 14px; color: var(--graphit); max-width: 44em; }

/* Leistungen */

.cards {
  margin-top: 44px; display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.card {
  background: var(--surface); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 28px;
}

.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
}

.card .icon svg { width: 24px; height: 24px; }

.icon-sonne { background: color-mix(in srgb, var(--sonne) 18%, white); color: #8a6a03; }
.icon-laub { background: color-mix(in srgb, var(--laub) 15%, white); color: var(--laub); }
.icon-wasser { background: color-mix(in srgb, var(--wasser) 14%, white); color: var(--wasser); }
.icon-kupfer { background: color-mix(in srgb, var(--kupfer) 16%, white); color: var(--kupfer); }
.icon-patina { background: color-mix(in srgb, var(--patina) 16%, white); color: var(--patina); }
.icon-rost { background: color-mix(in srgb, var(--rost) 14%, white); color: var(--rost); }

.card h3 { font-size: 1.15rem; font-weight: 600; }

.card p { margin-top: 8px; color: var(--graphit); font-size: 0.95rem; }

/* Ablauf */

.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.step {
  background: var(--surface); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 26px;
}

.step .num {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--moos); color: #fafaf7; margin-bottom: 16px;
}

.step h3 { font-size: 1.05rem; font-weight: 600; }

.step p { margin-top: 8px; color: var(--graphit); font-size: 0.92rem; }

/* Über uns */

.about { background: var(--surface); }

.about .wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}

.about ul { margin-top: 22px; list-style: none; display: grid; gap: 14px; }

.about li { display: flex; gap: 12px; align-items: flex-start; color: var(--graphit); }

.about li svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--laub); }

.about-panel {
  background: linear-gradient(160deg, var(--moos) 0%, var(--moos-tief) 80%);
  border-radius: var(--radius-card); padding: 40px; color: #fafaf7;
}

.about-panel dl { display: grid; gap: 22px; }

.about-panel dt {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: #9fb39a;
}

.about-panel dd { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-top: 2px; }

/* Kontakt */

.contact-card {
  margin-top: 44px;
  background: var(--surface); border-radius: var(--radius-card);
  box-shadow: var(--shadow-card); padding: 44px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
}

.contact-card h3 { font-size: 1.3rem; font-weight: 600; }

.contact-list { margin-top: 20px; list-style: none; display: grid; gap: 14px; color: var(--graphit); }

.contact-list li { display: flex; gap: 12px; align-items: flex-start; }

.contact-list svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--kupfer); }

.contact-form { display: grid; gap: 16px; }

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

.contact-form label {
  display: grid; gap: 6px;
  font-size: 0.88rem; font-weight: 600; color: var(--graphit);
}

.contact-form input,
.contact-form select {
  border: 1.5px solid var(--soft); border-radius: var(--radius-btn);
  background: var(--soft-subtle); padding: 11px 18px;
  font: inherit; font-weight: 400; color: var(--eisen); width: 100%;
}

.contact-form textarea {
  border: 1.5px solid var(--soft); border-radius: 16px;
  background: var(--soft-subtle); padding: 12px 18px;
  font: inherit; font-weight: 400; color: var(--eisen); width: 100%; resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--wasser); outline: none; }

.contact-form button { justify-self: start; }

.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.2em; font-size: 0.92rem; font-weight: 600; }
.form-status.ok { color: var(--positive); }
.form-status.err { color: var(--rost); }

.form-hint { font-size: 0.8rem; color: var(--stahl); }

/* ── Footer ───────────────────────────── */

.site-footer { background: var(--eisen); color: #b0aea5; padding: 44px 0; margin-top: 0; }

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

.site-footer a { color: #e8e6dc; text-decoration: none; margin-left: 22px; font-size: 0.92rem; }

.site-footer a:hover { text-decoration: underline; }

.site-footer .brand { color: #fafaf7; font-size: 1rem; }

/* ── Unterseiten (Impressum / Datenschutz) ── */

.page { padding: 72px 0 96px; }

.page .wrap { max-width: 760px; }

.page h1 { font-size: 2.2rem; font-weight: 600; }

.page h2 { font-size: 1.25rem; font-weight: 600; margin-top: 40px; }

.page p, .page address { margin-top: 12px; color: var(--graphit); font-style: normal; }

.page .back { display: inline-block; margin-bottom: 28px; font-size: 0.92rem; }

/* ── Responsive ─────────────────────── */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; }
  .hero-art { display: none; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .about .wrap, .contact-card { grid-template-columns: 1fr; }
  section.block { padding: 64px 0; }
}

@media (max-width: 600px) {
  .site-nav { display: none; }
  .nav-toggle {
    display: grid; place-items: center; width: 42px; height: 42px;
    background: none; border: none; color: var(--eisen); cursor: pointer;
  }
  .site-nav.open {
    display: grid; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--papier); border-bottom: 1px solid var(--soft);
    padding: 20px 24px; gap: 18px;
  }
  .cards, .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
