/* ============================================================
   Eigentum von R. Thrams
   Alle Rechte vorbehalten. Landingpage Maik Hofmann.
   Farbwelt: Deep Petrol / Dunkelblau + Salbeigruen.
   ============================================================ */

:root {
  --petrol: #0f2e3d;        /* tiefes Petrol */
  --petrol-deep: #0a2029;   /* noch dunkler */
  --navy: #16324f;          /* dunkelblau */
  --navy-soft: #1f4368;
  --sage: #a9c3b0;          /* salbeigruen */
  --sage-light: #c7d9cc;
  --sage-soft: #e8f0ea;
  --sand: #f4f1ea;          /* warmer heller Grund */
  --paper: #ffffff;
  --ink: #1c2a33;
  --ink-soft: #4c5f6b;
  --ink-faint: #7b8c96;
  --line: #d9e2e0;
  --accent: #3f7d6a;        /* gruener Akzent */
  --accent-dark: #2f5f50;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15,46,61,.06), 0 18px 40px -22px rgba(15,46,61,.35);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Georgia", "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; margin: 0; }
p { margin: 0 0 1rem; }
a { color: var(--accent-dark); }
.container { width: min(1120px, calc(100% - 2.6rem)); margin: 0 auto; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(15,46,61,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 66px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; font-weight: 700; letter-spacing: .01em; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(140deg, var(--sage), #7f9d88); color: var(--petrol-deep); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; }
img.brand-mark { display: block; object-fit: cover; background: none; border-radius: 10px; box-shadow: 0 2px 10px -4px rgba(0,0,0,.5); flex: 0 0 auto; }
.brand small { display: block; font-weight: 500; font-size: .72rem; color: var(--sage-light); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.3rem; }
.nav a { color: var(--sage-light); text-decoration: none; font-size: .9rem; font-weight: 500; }
.nav a:hover { color: #fff; }
.nav .btn { margin-left: .4rem; }
.nav .btn-primary { background: var(--sage-light); color: #0a2029; border: 1px solid var(--sage-light); font-weight: 700; padding: .55rem 1.35rem; }
.nav .btn-primary:hover { background: #ffffff; border-color: #ffffff; color: #0a2029; }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid transparent; border-radius: 999px; padding: .62rem 1.3rem; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .18s, color .18s, border-color .18s, transform .12s; }
.btn-primary { background: var(--sage); color: var(--petrol-deep); border-color: var(--sage); }
.btn-primary:hover { background: var(--sage-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline:hover { border-color: var(--sage); color: var(--sage); }
.btn-solid { background: var(--petrol); color: #fff; }
.btn-solid:hover { background: var(--navy); }

/* ---- Hero ---- */
.hero { position: relative; background: radial-gradient(120% 120% at 80% 0%, var(--navy-soft) 0%, var(--petrol) 45%, var(--petrol-deep) 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(169,195,176,.18), transparent 70%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 4.5rem 0 4rem; position: relative; z-index: 2; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.2rem; }
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--sage); display: inline-block; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 750; margin-bottom: 1.1rem; }
.hero h1 .accent { color: var(--sage); }
.hero-lead { font-size: 1.12rem; color: #d7e2dd; max-width: 34ch; margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-photo { position: relative; }
.hero-photo img { display: block; width: 100%; border-radius: 20px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); object-fit: cover; aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,.12); }
.hero-photo .badge { position: absolute; bottom: -1rem; left: -1rem; background: var(--sage); color: var(--petrol-deep); border-radius: 14px; padding: .8rem 1.1rem; font-size: .8rem; font-weight: 700; box-shadow: var(--shadow); max-width: 220px; line-height: 1.3; }

/* ---- Sections ---- */
section { scroll-margin-top: 80px; }
.section { padding: 4.2rem 0; }
.section-alt { background: var(--sage-soft); }
.section-dark { background: var(--petrol); color: #fff; }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.section-dark .kicker { color: var(--sage); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 720; margin-bottom: .8rem; }
.section-sub { font-size: 1.02rem; color: var(--ink-soft); }
.section-dark .section-sub { color: #cdd9d3; }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
.about-photo img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); display: block; object-fit: cover; }
.about-facts { display: flex; gap: 2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.fact .num { font-size: 1.9rem; font-weight: 800; color: var(--accent-dark); line-height: 1; }
.fact .lbl { font-size: .82rem; color: var(--ink-soft); margin-top: .25rem; }

/* ---- Module cards ---- */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.module { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.module:hover { transform: translateY(-3px); border-color: var(--sage); }
.module-num { width: 40px; height: 40px; border-radius: 11px; background: var(--petrol); color: var(--sage); display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem; }
.module h3 { font-size: 1.08rem; margin-bottom: .5rem; color: var(--navy); }
.module p { font-size: .92rem; color: var(--ink-soft); margin-bottom: .7rem; }
.module .goal { font-size: .84rem; color: var(--accent-dark); font-weight: 600; border-top: 1px solid var(--line); padding-top: .7rem; margin-top: .3rem; }

/* ---- Network / chips ---- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.chip { background: rgba(169,195,176,.16); border: 1px solid rgba(169,195,176,.4); color: var(--sage-light); border-radius: 999px; padding: .42rem .95rem; font-size: .84rem; font-weight: 500; }

/* ---- Financing ---- */
.fin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.fin-card { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 12px; padding: 1.2rem 1.3rem; }
.fin-card h3 { font-size: .98rem; color: var(--navy); margin-bottom: .35rem; }
.fin-card .law { font-size: .78rem; font-weight: 700; color: var(--accent); letter-spacing: .03em; margin-bottom: .5rem; }
.fin-card p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.contact-row { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--sage-soft); color: var(--accent-dark); display: grid; place-items: center; font-size: 1.1rem; flex: 0 0 auto; }
.contact-row a { color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-row a:hover { color: var(--accent); }
.contact-row .lbl { font-size: .76rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .05em; }
.contact-note { background: var(--sage-soft); border: 1px dashed var(--sage); border-radius: 12px; padding: 1rem 1.2rem; font-size: .86rem; color: var(--ink-soft); margin-top: 1rem; }

/* ---- Footer ---- */
.site-footer { background: var(--petrol-deep); color: #b7c6c0; padding: 2.4rem 0; font-size: .85rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.footer-inner a { color: var(--sage-light); text-decoration: none; }
.footer-inner a:hover { color: #fff; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .hero-photo { max-width: 340px; order: -1; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 1.8rem); }
  .section { padding: 3rem 0; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }

  /* Handy/iPhone: Hero-Foto zuverlaessig zentrieren (PC/Tablet unveraendert).
     justify-self greift bei Grid-Items; margin-inline als Fallback. */
  .hero-photo { justify-self: center; margin-left: auto; margin-right: auto; width: 100%; }
  .hero-photo img { display: block; margin-left: auto; margin-right: auto; }
  .hero-photo .badge { left: 50%; right: auto; transform: translateX(-50%); }

  /* Handy/iPhone: die drei Kennzahlen nebeneinander, Labels darunter */
  .about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; text-align: center; }
  .about-facts .fact { min-width: 0; }
  .about-facts .fact .num { font-size: 1.5rem; }
  .about-facts .fact .lbl { font-size: .74rem; line-height: 1.25; }
}
