/* =========================================================
   THEME / FARBEN
   - Du wolltest: schlicht + grüner Ton
   - Wenige Farben, viel Ruhe, viel Weißraum
   ========================================================= */

:root{
  /* Hintergrund (sehr hell, leicht grünlich) */
  --bg: #f6f8f6;

  /* Textfarben */
  --text: #1f2320;   /* dunkler Text */
  --muted: #4b544d;  /* ruhiger / dezenter Text */

  /* Dein Grünton (Hauptfarbe) */
  --green: #2F8F6B;
  --green-dark: #1E5F4A;

  /* Flächen / Linien / Schatten */
  --card: #ffffff;
  --border: rgba(0,0,0,.08);
  --shadow: 0 18px 45px rgba(0,0,0,.08);
}

/* =========================================================
   RESET / BASIS
   ========================================================= */

*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;

  /* System-Schrift (clean, modern) */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  color: var(--text);
  background: var(--bg);
}

/* Container zentriert den Inhalt und begrenzt die Breite */
.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================================================
   HEADER
   - Logo mittig
   - Navigation darunter mittig
   ========================================================= */

.site-header{
  /* Oben etwas Luft, damit es edel wirkt */
  padding: 36px 0 18px;
  text-align: center;
}

/* Logo als "Pill" */
.logo-pill{
  display: inline-flex;
  align-items: center;
  gap: 12px;

  /* Innenabstand */
  padding: 12px 18px;

  /* Runde Form (Pill) */
  border-radius: 999px;

  /* Weißer Hintergrund + feiner Rand */
  background: var(--card);
  border: 1px solid var(--border);

  /* Weicher Schatten */
  box-shadow: 0 10px 28px rgba(0,0,0,.06);

  /* Link soll nicht blau/unterstrichen sein */
  text-decoration: none;
  color: inherit;
}

/* SVG übernimmt die Farbe über currentColor,
   deswegen geben wir hier die Farbe (grün) vor */
.brand-mark{
  color: var(--green);
  display: inline-flex;
}

/* Text im Logo zweizeilig */
.brand-text{
  line-height: 1.05;
  text-align: left;
}

.brand-top{
  display: block;
  font-weight: 800;
  letter-spacing: .2px;

  /* leicht dunkel-blau/anthrazit Look */
  color: #1f2a35;
}

.brand-bottom{
  display: block;
  font-weight: 800;
  color: var(--green);
}

/* =========================================================
   NAVIGATION (Reiter)
   - mittig
   - schlicht
   ========================================================= */

.main-nav{
  margin-top: 16px;

  display: flex;
  justify-content: center;

  gap: 18px;
  flex-wrap: wrap; /* wichtig für kleinere Screens */
}

/* Nav Links */
.main-nav a{
  text-decoration: none;
  color: var(--muted);

  padding: 8px 10px;
  border-radius: 10px;

  /* weicher Übergang beim Hover */
  transition: background .15s ease, color .15s ease;
}

/* Hover Effekt: leicht grün hinterlegt */
.main-nav a:hover{
  color: var(--text);
  background: rgba(47,143,107,.10);
}

/* aktuelle Seite */
.main-nav a[aria-current="page"]{
  color: var(--green-dark);
  background: rgba(47,143,107,.16);
}

/* =========================================================
   HERO (Text links, Bild rechts)
   ========================================================= */

.hero{
  margin: 36px 0 80px;

  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;

  align-items: center;
}

/* Überschrift groß, aber responsive */
.hero h1{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
}

/* Lead-Text: etwas größer, aber dezent */
.lead{
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--muted);
}

/* Zusatztext */
.sub{
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 55ch; /* damit es schön lesbar bleibt */
}

/* Buttons */
.hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Primärer Button */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 16px;
  border-radius: 12px;

  background: var(--green);
  color: #fff;

  text-decoration: none;
  font-weight: 700;

  /* Schatten passend zum Grün */
  box-shadow: 0 14px 30px rgba(47,143,107,.22);

  transition: background .15s ease, transform .15s ease;
}

.btn:hover{
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* Zweiter Button: "Ghost" (nur Rand) */
.btn-ghost{
  background: transparent;
  color: var(--green-dark);
  border: 1px solid rgba(47,143,107,.35);
  box-shadow: none;
}

.btn-ghost:hover{
  background: rgba(47,143,107,.10);
  transform: translateY(-1px);
}

/* Bild rechts */
.hero-media img{
  width: 100%;
  height: auto;
  display: block;

  /* runde Ecken */
  border-radius: 18px;

  /* schöner Schatten */
  box-shadow: var(--shadow);

  /* feiner Rand, damit es clean bleibt */
  border: 1px solid var(--border);
}

/* =========================================================
   FOOTER (unten mittig)
   - © Text
   - Links: Impressum / Datenschutz
   ========================================================= */

.site-footer{
  /* oben Abstand zum Inhalt */
  margin-top: 40px;

  /* Innenabstand */
  padding: 22px 0 28px;

  text-align: center;
  color: #666;

  /* kleine Trennlinie oben */
  border-top: 1px solid rgba(0,0,0,.07);
}

.footer-line{
  margin: 0 0 10px;
  font-size: 14px;
}

/* Links im Footer */
.footer-links{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-links a{
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;

  padding: 6px 8px;
  border-radius: 10px;

  transition: background .15s ease, color .15s ease;
}

.footer-links a:hover{
  color: var(--text);
  background: rgba(47,143,107,.10);
}

/* kleiner Punkt zwischen den Links */
.dot{
  color: rgba(0,0,0,.35);
}

/* =========================================================
   RESPONSIVE (Mobile)
   - Hero wird untereinander
   - Bild oben, Text darunter (wirkt modern)
   ========================================================= */

@media (max-width: 900px){
  .hero{
    grid-template-columns: 1fr;
  }

  /* Bild zuerst (oben) */
  .hero-media{
    order: -1;
  }
}