/* =====================================================
   Uwe hilft digital – Stylesheet
   Farben, Schrift und Layout für alle Seiten.
   Große Schrift und hohe Kontraste sind Absicht:
   die Seite soll auch für ältere Menschen gut lesbar sein.
   ===================================================== */

:root {
  --blau: #1F3A5F;        /* Vertrauensfarbe, Überschriften, Header */
  --blau-dunkel: #16293F; /* Footer, Hover */
  --blau-hell: #E7EEF6;   /* helle Flächen, Kästen */
  --orange: #E8792B;      /* Akzent, Buttons, Links */
  --orange-dunkel: #C9621C;
  --creme: #FBF8F3;       /* Seitenhintergrund */
  --weiss: #FFFFFF;
  --text: #22303F;
  --text-hell: #5B6B7C;
  --linie: #D9E0E8;
  --gruen: #2E7D5B;       /* Häkchen */
  --radius: 14px;
  --schatten: 0 4px 18px rgba(31, 58, 95, 0.08);
  --breite: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.65;
  color: var(--text);
  background: var(--creme);
}

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

a { color: var(--orange-dunkel); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--blau); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

h1, h2, h3, h4 { color: var(--blau); line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
p.gross { font-size: 1.25rem; }
p.klein, .klein { font-size: 0.95rem; color: var(--text-hell); }
ul, ol { padding-left: 1.4em; margin: 0 0 1.2em; }
li { margin-bottom: 0.35em; }
strong { color: var(--blau); }

.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.schmal { max-width: 800px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  background: var(--weiss);
  border-bottom: 1px solid var(--linie);
  position: sticky; top: 0; z-index: 50;
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.logo img { height: 52px; width: auto; }
.kopf .wrap { max-width: 1240px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nav a {
  color: var(--blau); text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 9px 9px; border-radius: 8px; white-space: nowrap;
}
.nav a.button { font-size: 0.92rem; padding: 10px 16px; }
.nav a.start { display: none; } /* auf dem Desktop führt das Logo zur Startseite */
.nav a:hover, .nav a[aria-current="page"] { background: var(--blau-hell); }
.nav a.button { margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--blau); color: var(--blau);
  border-radius: 8px; padding: 8px 12px; font-size: 1rem; font-weight: 600; cursor: pointer;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block; background: var(--orange); color: var(--weiss) !important;
  text-decoration: none; font-weight: 700; font-size: 1.1rem;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  box-shadow: 0 3px 0 var(--orange-dunkel); transition: transform .1s, background .15s;
}
.button:hover { background: var(--orange-dunkel); transform: translateY(1px); box-shadow: 0 2px 0 var(--orange-dunkel); }
.button.zweit { background: var(--weiss); color: var(--blau) !important; border: 2px solid var(--blau); box-shadow: none; }
.button.zweit:hover { background: var(--blau-hell); }
.button.gross { font-size: 1.25rem; padding: 18px 34px; }
.buttons { display: flex; gap: 14px; flex-wrap: wrap; margin: 1.4em 0; }

/* ---------- Bühne (Startseite) ---------- */
.buehne { background: linear-gradient(180deg, var(--weiss) 0%, var(--creme) 100%); padding: 64px 0 56px; }
.buehne .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.buehne h1 { margin-bottom: 0.4em; }
.buehne .slogan { font-size: 1.35rem; color: var(--text); margin-bottom: 0.6em; }
.buehne .themen { font-size: 1.05rem; color: var(--text-hell); letter-spacing: .5px; }
.karte-uwe {
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten);
  padding: 28px; border-top: 6px solid var(--orange);
}
.karte-uwe .foto {
  width: 140px; height: 140px; border-radius: 50%; background: var(--blau-hell);
  display: grid; place-items: center; color: var(--blau); font-weight: 700; font-size: 1rem;
  text-align: center; margin-bottom: 16px; border: 3px dashed var(--linie); padding: 12px;
}
.karte-uwe blockquote { margin: 0 0 12px; font-size: 1.15rem; font-style: italic; color: var(--blau); }
.karte-uwe cite { font-style: normal; color: var(--text-hell); font-size: 1rem; }

.foto-rund { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; border: 4px solid var(--blau-hell); }
.foto-rund.klein { width: 84px; height: 84px; margin: 0; flex: none; border-color: var(--creme); }
.hero-bild { position: relative; }
.hero-bild > .bild { aspect-ratio: 4 / 3; }
.hero-karte {
  position: relative; margin: -56px 18px 0; background: var(--weiss); border-radius: var(--radius);
  box-shadow: var(--schatten); padding: 18px 20px; display: flex; gap: 16px; align-items: center;
  border-top: 5px solid var(--orange);
}
.hero-karte blockquote { margin: 0 0 6px; font-size: 1.02rem; font-style: italic; color: var(--blau); line-height: 1.45; }
.hero-karte cite { font-style: normal; color: var(--text-hell); font-size: 0.92rem; }
.bild { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--schatten); object-fit: cover; }
.bild.breit { margin: 0 0 36px; aspect-ratio: 2 / 1; object-position: center 22%; }
.bildband { background: var(--blau-hell); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 56px 0; }
.abschnitt.hell { background: var(--weiss); }
.abschnitt.blau { background: var(--blau); color: var(--weiss); }
.abschnitt.blau h2, .abschnitt.blau h3, .abschnitt.blau strong { color: var(--weiss); }
.abschnitt.blau a:not(.button) { color: #F4A261; }
.intro { max-width: 760px; margin-bottom: 32px; }
.intro p { font-size: 1.15rem; }

/* Kachel-Raster */
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.kachel {
  background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten);
  padding: 26px; border: 1px solid var(--linie); display: flex; flex-direction: column;
}
.abschnitt.hell .kachel { background: var(--creme); box-shadow: none; }
.kachel h3 { display: flex; align-items: center; gap: 12px; }
.kachel .icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--blau-hell);
  display: grid; place-items: center; flex: none;
}
.kachel .icon svg { width: 26px; height: 26px; stroke: var(--blau); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.kachel ul { margin-bottom: 0; }
.kachel .mehr { margin-top: auto; padding-top: 14px; font-weight: 600; }

/* Häkchen-Liste */
ul.haken { list-style: none; padding: 0; }
ul.haken li { position: relative; padding-left: 34px; margin-bottom: 0.6em; }
ul.haken li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 20px; height: 20px;
  border-radius: 50%; background: var(--gruen);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><path d='M7 12.5l3.2 3.2L17 9' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='black'/><path d='M7 12.5l3.2 3.2L17 9' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.abschnitt.blau ul.haken li::before { background: #F4A261; }

/* Schritte */
.schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; counter-reset: schritt; }
.schritt { background: var(--weiss); border-radius: var(--radius); padding: 24px; border: 1px solid var(--linie); }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--orange); color: var(--weiss); font-weight: 800; font-size: 1.3rem; margin-bottom: 12px;
}
.schritt h3 { font-size: 1.15rem; }
.schritt p { margin: 0; }

/* Hinweiskasten */
.kasten {
  background: var(--blau-hell); border-left: 6px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; margin: 28px 0;
}
.kasten p:last-child { margin-bottom: 0; }
.kasten.warn { background: #FFF4EA; }

/* Zitate / Stimmen */
.stimmen { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.stimme { background: var(--weiss); padding: 24px; border-radius: var(--radius); border: 1px solid var(--linie); font-style: italic; }
.stimme cite { display: block; font-style: normal; color: var(--text-hell); margin-top: 10px; font-size: 0.95rem; }

/* Kontaktleiste unten auf Inhaltsseiten */
.aufruf { background: var(--blau); color: var(--weiss); padding: 48px 0; text-align: center; }
.aufruf h2 { color: var(--weiss); }
.aufruf p { font-size: 1.15rem; max-width: 640px; margin: 0 auto 1em; }
.aufruf .telefon { font-size: 1.6rem; font-weight: 700; color: var(--weiss); text-decoration: none; display: inline-block; margin: 6px 0 14px; }

/* Preistabelle */
.preise { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.preis { background: var(--weiss); border-radius: var(--radius); border: 1px solid var(--linie); padding: 26px; box-shadow: var(--schatten); }
.preis.top { border: 2px solid var(--orange); }
.preis .betrag { font-size: 2.1rem; font-weight: 800; color: var(--blau); margin: 6px 0 2px; }
.preis .betrag small { font-size: 1rem; font-weight: 500; color: var(--text-hell); }
.preis ul { margin-bottom: 0; }
table.tabelle { width: 100%; border-collapse: collapse; background: var(--weiss); border-radius: var(--radius); overflow: hidden; margin: 0 0 1.4em; }
table.tabelle th, table.tabelle td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--linie); vertical-align: top; }
table.tabelle th { background: var(--blau-hell); color: var(--blau); }
table.tabelle td.betrag { white-space: nowrap; font-weight: 700; color: var(--blau); }

/* Formular */
form.formular { background: var(--weiss); border-radius: var(--radius); padding: 30px; border: 1px solid var(--linie); box-shadow: var(--schatten); }
.feld { margin-bottom: 20px; }
.feld label { display: block; font-weight: 700; color: var(--blau); margin-bottom: 6px; }
.feld .hinweis { font-size: 0.95rem; color: var(--text-hell); margin: 0 0 6px; }
.feld input[type="text"], .feld input[type="tel"], .feld input[type="email"], .feld textarea, .feld select {
  width: 100%; font: inherit; padding: 14px 16px; border: 2px solid var(--linie); border-radius: 10px;
  background: var(--weiss); color: var(--text);
}
.feld input:focus, .feld textarea:focus, .feld select:focus { border-color: var(--blau); outline: none; box-shadow: 0 0 0 3px rgba(232,121,43,.25); }
.feld textarea { min-height: 150px; resize: vertical; }
.feld.check { display: flex; gap: 12px; align-items: flex-start; }
.feld.check input { width: 24px; height: 24px; margin-top: 4px; flex: none; }
.feld.check label { font-weight: 500; color: var(--text); margin: 0; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.honig { position: absolute; left: -9999px; }

.kontakt-raster { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 36px; align-items: start; }
.kontakt-box { background: var(--blau); color: var(--weiss); border-radius: var(--radius); padding: 28px; }
.kontakt-box h2, .kontakt-box h3 { color: var(--weiss); }
.kontakt-box a { color: #F4A261; }
.kontakt-box .klein { color: #DCE4EC; }
.kontakt-box strong, .aufruf strong { color: var(--weiss); }
.kontakt-box .telefon { font-size: 1.5rem; font-weight: 700; text-decoration: none; color: var(--weiss); }

/* Karte Einsatzgebiet */
.orte { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.orte .zone { background: var(--weiss); border-radius: var(--radius); border: 1px solid var(--linie); padding: 22px; }
.orte .zone h3 { font-size: 1.1rem; }
.orte .zone .tag { display: inline-block; background: var(--blau-hell); color: var(--blau); font-weight: 700; font-size: .9rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }

/* Rechtstexte */
.rechtstext h2 { font-size: 1.4rem; margin-top: 1.8em; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.3em; }
.platzhalter { background: #FFF1C2; border: 1px dashed #C99A00; padding: 0 6px; border-radius: 4px; font-weight: 700; color: #6B5300; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--blau-dunkel); color: #C9D3DE; padding: 44px 0 30px; font-size: 1rem; }
.fuss .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.fuss h3 { color: var(--weiss); font-size: 1.05rem; margin-bottom: 10px; }
.fuss a { color: #F4A261; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 6px; }
.fuss .logo img { height: 48px; margin-bottom: 12px; }
.fuss .unten { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; margin-top: 10px; font-size: .9rem; }

/* ---------- Mobil ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .nav a.start { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 84px; background: var(--weiss);
         flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); }
  .nav.offen { display: flex; }
  .nav a { font-size: 1.1rem; padding: 14px 12px; }
  .nav a.button { margin: 10px 0 0; text-align: center; }
}
@media (max-width: 900px) {
  .buehne .wrap { grid-template-columns: 1fr; }
  .kontakt-raster { grid-template-columns: 1fr; }
  .fuss .wrap { grid-template-columns: 1fr; }
  .raster[style] { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  body { font-size: 18px; }
  .hero-karte { margin: -30px 10px 0; padding: 14px; flex-direction: column; align-items: flex-start; }
  .bild.breit { aspect-ratio: 4 / 3; }
  /* Tabellen werden gestapelt: jede Zeile ein Kasten */
  table.tabelle, table.tabelle tbody, table.tabelle tr, table.tabelle td { display: block; width: 100%; }
  table.tabelle tr:first-child { display: none; }
  table.tabelle tr { border: 1px solid var(--linie); border-radius: var(--radius); margin-bottom: 14px; background: var(--weiss); overflow: hidden; }
  table.tabelle td { border-bottom: 0; padding: 8px 16px; }
  table.tabelle td:first-child { padding-top: 16px; }
  table.tabelle td.betrag { background: var(--blau-hell); padding: 10px 16px; font-size: 1.2rem; }
  table.tabelle td.betrag::before { content: "Preis: "; font-weight: 500; color: var(--text-hell); font-size: 1rem; }
  .zwei-spalten { grid-template-columns: 1fr; }
  .buehne { padding: 40px 0 36px; }
  .abschnitt { padding: 40px 0; }
  .logo img { height: 46px; }
  form.formular { padding: 20px; }
}
@media print {
  .kopf, .fuss, .aufruf, .nav-toggle { display: none; }
  body { background: #fff; font-size: 12pt; }
}
