
/* ==== Theme (hell & freundlich, mit IGE-Farben) ==== */
:root{
  /* Flächen & Text */
  --bg: #F7FAFC;                 /* Seitenhintergrund hell */
  --panel: #FFFFFF;              /* Karten/Flächen */
  --text: #000000;               /* sehr dunkles Blau statt Schwarz */
  --muted: #194339;              /* gedämpfter Sekundärtext */
  --line: #E2E8F0;               /* zarte Linien/Borders */

  /* Marke (Türkis) */
  --brand: #23A59B;              /* Türkisgrün primär */
  --brand-dark: #1E8E85;         /* dunkleres Türkis */
  --accent: #2B6CB0;             /* Blau (sekundär, falls nötig) */
  --accent-2: #6BA7E9;           /* Blau-Verlauf (nur noch wenig genutzt) */

  /* Layout */
  --radius: 16px;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --max: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height:1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links auf Marke */
a{ color: var(--brand); text-decoration:none; }
a:hover{ color: var(--brand-dark); }

.container{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }


/* ===== Header mit Logo und größerer Wortmarke ===== */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background:
    radial-gradient(1100px 300px at 70% 0%, rgba(82, 122, 119, 0.14), transparent 62%),
    linear-gradient(180deg, #19877c 0%, #19877c 100%);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: saturate(140%) blur(4px);
  min-height: 72px; /* etwas höher für größeres Logo/Schriftzug */
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
  gap:16px;

}

/* Brand mit Logo links */

.brand{
  display:flex;
  align-items:center;
  gap:6px;
  text-decoration:none;
  margin-right:auto;        /* SCHIEBT die Brand nach links */
  
}

.brand-mark{
  width:48px; height:48px; /* Logo sichtbar größer */
  display:block;
  filter: drop-shadow(0 2px 8px rgba(35,165,155,0.25));
}
.brand-name{
  color:#f9f9fa;
  font-weight:800;
  font-size:30px;           /* größerer Schriftzug */
  letter-spacing:0.2px;
}

/* Navigation: neutral hell auf dunklem Header */
.nav{ display:flex; align-items:center; gap:28px; margin-left:auto;  flex:0 0 auto;}
.nav a{ color:#C8D1E0; font-weight:600; }
.nav a:hover{ color:#FFFFFF; }

/* Kontakt-Button in Marken-Türkis */
.button{
  color:#0A1517;
  background: linear-gradient(180deg, #3DC3B8 0%, var(--brand) 100%);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius:14px;
  padding: 10px 16px;
  font-weight:800;
  text-decoration:none;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 6px 18px rgba(35,165,155,0.25);
}
.button:hover{
  background: linear-gradient(180deg, #49CABF 0%, var(--brand-dark) 100%);
}

/* Mobile Tweaks */
@media (max-width: 900px){
  .brand-mark{ width:32px; height:32px; }
  .brand-name{ font-size:22px; }
  .nav{ gap:18px; }
}

/* ==== Hero (heller Eindruck, dezenter Türkis-Schimmer) ==== */
.hero{
  padding: 40px 0 54px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(247,250,252,0.96)),
    radial-gradient(900px 500px at 25% 20%, rgba(35,165,155,0.12), transparent 60%);
  border-bottom: 1px solid var(--line);

  background-image: url(/images/Titelbild.png);
  background-size: cover;       /* Bild füllt den Bereich aus */
  background-position: center;  /* Bild zentrieren */
  background-repeat: no-repeat; /* Kein Wiederholen */
  height: 100vh;                /* Hero nimmt volle Höhe ein */

}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(255, 255, 255,0.35); /* 0 = transparent, 1 = deckend */
  pointer-events: none; /* Klicks gehen durch */
}

.hero__inner{ position:relative; z-index:1; padding:22px 0; }
.eyebrow{
  color:#334155; letter-spacing:.18em; text-transform:uppercase;
  font-size:12px; margin:0 0 14px;
}
h1{
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.05; margin: 0 0 18px; color: var(--text);
}
.lead{
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
   font-weight: 700;
  /*max-width: 100ch;*/ margin: 0 0 26px;
}
.hero__cta{ display:flex; gap:12px; flex-wrap:wrap; }

/* ==== Sektionen & Typo ==== */
.section{ padding:58px 0; border-top: 1px solid var(--line); background: transparent; }
.section--alt{ background: #fff; border-top: 1px solid var(--line); }
h2{ font-size:26px; margin:0 0 10px; color: var(--text); }
.section__intro{ color: var(--muted); margin: 0 0 26px; /*max-width: 80ch;*/ }

/* ==== Grid & Cards (helle Panels) ==== */
.grid{ display:grid; grid-template-columns: repeat(12, 1fr); gap:16px; }
.card{
  grid-column: span 12;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow);
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.card h3{ margin:0 0 6px; font-size:18px; color: var(--text); }
.card h4{ margin:0 0 0px; font-size:15px; color: var(--text); }
.card p{ margin:0; color: var(--muted); }
.card--flat{ background: transparent; box-shadow:none; border-color:transparent; }

/* Card-Hover mit Marken-Türkis */
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(35,165,155,0.35);
  box-shadow: 0 14px 32px rgba(35,165,155,0.18);
}

/* 2 Spalten ab Tablet */
@media (min-width: 760px){
  .card{ grid-column: span 6; }
  .grid--2 .card{ grid-column: span 6; }
}


.leistungen-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 32px auto 0; /* Abstand oben, zentriert */
  border-radius: 12px; /* optional: abgerundete Ecken */
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); /* dezenter Schatten */
}

/* ==== Formular (hell, klar) ==== */
.form{ margin-top:14px; display:flex; flex-direction:column; gap:14px; }
.form__row{ display:grid; grid-template-columns: 1fr; gap:14px; }
@media (min-width: 760px){ .form__row{ grid-template-columns: 1fr 1fr; } }

label{
  display:flex; flex-direction:column; gap:8px;
  color: var(--muted); font-size:14px;
}
input, textarea{
  width:100%; padding:12px 12px; border-radius:12px;
  border:1px solid var(--line);
  background:#FFFFFF; color: var(--text);
  outline:none;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Fokus-States in Marken-Türkis */
input:focus, textarea:focus{
  border-color: rgba(35,165,155,0.55);
  box-shadow: 0 0 0 4px rgba(35,165,155,0.18);
}

.fineprint{ color: var(--muted); font-size:12px; margin:8px 0 0; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }

/* ==== Footer (hell) ==== */

.site-footer{
  /*position: sticky; bottom: 0; */ /* optional */
  background:
    radial-gradient(1100px 300px at 70% 0%, rgba(82,122,119,0.14), transparent 62%),
    linear-gradient(180deg, #19877c 0%, #19877c 100%);
  border-top: 1px solid rgba(255,255,255,0.10);
  min-height: 40px;
}

.footer-inner{
  display:flex;
  justify-content:space-between;   /* Links links, © rechts */
  align-items:center;
  gap:0px;
  color: var(--muted);
}

/* Links links, guter Kontrast */
.footer-links a{
  color: #E5EDF7;                  /* hell auf grün */
  margin-right:16px;
}
.footer-links a:last-child{ margin-right:0; }
.footer-links a:hover{ color:#FFFFFF; }

.footer-brand{
  font-size:14px;
  font-weight:600;
  color:#0F172A;                   /* dunkler Text, wenn du hellen Footer willst */
  /* Wenn du hellen Text auf dunklem Footer willst: */
  /* color:#E5EDF7; */
}

/* Falls du die HTML-Reihenfolge NICHT ändern willst: diese zwei Zeilen setzen die Links links, © rechts */
.footer-links{ order: 0; margin-right:auto; }
.footer-brand{ order: 1; margin-left:auto; }

/* ==== Badges / Meta ==== */
.hero__meta{ margin-top:18px; display:flex; gap:10px; flex-wrap:wrap;  justify-content: center; }
.pill{
  border:1px solid var(--line);
  color: var(--muted);
  padding:8px 12px;
  border-radius:999px;
  background:#FFFFFF;
  font-size:16px;
}

/* ==== Responsive Tweaks ==== */
@media (max-width: 900px){
  .nav{ gap:16px; }
  .brand-name{ font-size:18px; }
}



/* Desktop bleibt wie bisher */
.nav { display:flex; align-items:center; gap:28px; }
.nav-toggle { display:none; }

/* Mobile Dropdown rechts */
@media (max-width: 780px){
  .header-inner { position: relative; }

  .nav-toggle{
    display:inline-flex;
    align-items:center; justify-content:center;
    width:40px; height:40px;
    margin-left:auto;
    background: transparent;
    color:#E5EDF7;
    border:1px solid rgba(255,255,255,0.25);
    border-radius:8px;
    font-size:20px;
    cursor:pointer;
  }
  .nav-toggle:focus{ outline:2px solid rgba(35,165,155,0.5); }

  .nav{
    position: absolute;
    right: 0;
    top: 72px;                  /* ggf. an deine Headerhöhe anpassen */
    display: block;
    background: linear-gradient(180deg, #0F172A 0%, #0B1324 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
    opacity: 0; transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 200;
  }
  .nav a{
    display:block;
    color:#C8D1E0;
    padding:10px 12px;
    border-radius:8px;
  }
  .nav a:hover{ color:#FFFFFF; background: rgba(255,255,255,0.06); }

  .nav.is-open{
    opacity: 1; transform: translateY(0);
    pointer-events: auto;
  }
}
