/* Andreas Vitallounge – originalgetreuer statischer Nachbau
   Maße, Farben und Schriften nach dem Original (WordPress/Elementor, Theme "Hello Elementor"). */

:root {
  --gruen: #3db200;
  --gruen-dunkel: #2f8a00;
  --grau-bg: #edebec;
  --balken-bg: #eeeeee;
  --text: #333333;
  --link: #cc3366;
  --footer: #727272;
  --weiss: #ffffff;
  --font: Tahoma, Verdana, "Segoe UI", Geneva, sans-serif;
  --font-ui: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-slide: Roboto, "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--grau-bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; border: 0; }
a { color: var(--link); text-decoration: none; }
a:hover, a:active { color: #336; }
p { margin: 0 0 0.9rem; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.2; }
:focus-visible { outline: 2px solid var(--gruen); outline-offset: 2px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--weiss); color: var(--text); padding: 8px 14px; }
.skip-link:focus { left: 10px; top: 10px; }

.container { width: 100%; max-width: 1000px; margin-inline: auto; padding-inline: 10px; }
.gruen { color: var(--gruen); }
.smiley { display: inline-block; width: 27px; height: 25px; vertical-align: -2px; margin-left: 4px; }

/* ---------------- Kopfbereich ---------------- */
.site-header { background: var(--weiss); }
.site-header .container { min-height: 74px; display: flex; align-items: center; }
.site-header .logo { display: block; width: 325px; max-width: 70vw; }
.site-header .logo img { display: block; width: 100%; }

/* ---------------- Slider ---------------- */
.slider { position: relative; height: 441px; overflow: hidden; background: #6b5b55; }
.slides { display: flex; height: 100%; transition: transform 0.7s ease; }
.slide { position: relative; flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide h2 {
  position: relative; z-index: 1; padding: 0 60px; text-align: center;
  font-family: var(--font-slide); font-size: 58px; font-weight: 500; line-height: 1.15; color: var(--weiss);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 64px; border: 0; padding: 0; cursor: pointer;
  background: transparent; color: rgba(255, 255, 255, 0.9);
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow svg { width: 22px; height: 40px; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35)); }
.slider-arrow--prev { left: 12px; }
.slider-arrow--next { right: 12px; }

/* ---------------- Über mich ---------------- */
.about { background: var(--grau-bg); padding: 70px 0 40px; }
.about .inner {
  width: 100%; max-width: 1380px; margin-inline: auto; padding-inline: 10px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px;
}
.about .bilder { display: flex; flex-direction: column; align-items: center; gap: 48px; padding-top: 6px; }
.about .portrait { width: 372px; max-width: 100%; box-shadow: 8px 10px 14px rgba(0, 0, 0, 0.35); }
.about .portrait img { display: block; width: 100%; }
.about .sticker { width: 320px; max-width: 80%; transition: transform 0.3s; }
.about .sticker:hover { transform: rotate(4deg); }
.about .text { max-width: 690px; padding-right: 10px; }
.about h1 { font-family: var(--font); font-size: 36px; color: var(--gruen); margin: 8px 0 40px; }
.about .text strong { font-weight: 400; }

/* Pfeil-Übergang grau → weiß */
.shape-arrow { position: relative; background: var(--weiss); }
.shape-arrow::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 0; height: 0; border-left: 40px solid transparent; border-right: 40px solid transparent;
  border-top: 26px solid var(--grau-bg);
}

/* ---------------- Gemeinsame Ziele ---------------- */
.ziele { padding: 55px 0 60px; }
.section-title { font-family: var(--font); font-size: 32px; color: var(--gruen); text-align: center; margin-bottom: 26px; }
.balken { display: grid; gap: 18px; max-width: 971px; margin-inline: auto; }
.balken-wrap { background: var(--balken-bg); height: 44px; border-radius: 2px; overflow: hidden; }
.balken-fill {
  height: 100%; background: var(--gruen); color: var(--weiss);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 14px;
  font-family: var(--font-ui); font-weight: 300; white-space: nowrap; overflow: hidden;
}
.balken-fill span { line-height: 1; }
.balken-1 .balken-fill { font-size: 30px; }
.balken-2 .balken-fill { font-size: 38px; }
.balken-3 .balken-fill { font-size: 40px; }
.balken-2 .balken-wrap { height: 44px; }
.balken-3 .balken-wrap { height: 46px; }

/* ---------------- Wir lieben was wir tun ---------------- */
.lieben { background: var(--weiss); padding: 50px 0 50px; }
.lieben .section-title { margin-bottom: 18px; }
.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.zwei-spalten p { margin: 0; }

/* ---------------- Bildkacheln ---------------- */
.kacheln { background: var(--grau-bg); padding: 62px 35px; }
.kacheln .reihe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; max-width: 1850px; margin-inline: auto; }
.kachel { position: relative; overflow: hidden; aspect-ratio: 593 / 246; max-width: 100%; margin: 0; background: #ccc; }
.kachel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.kachel:hover img { transform: scale(1.12); }
.kachel figcaption {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--weiss); text-align: center; padding: 10px;
}
.kachel .stern { width: 48px; height: 46px; transition: transform 0.4s; }
.kachel .titel { font-family: var(--font-ui); font-size: 20px; line-height: 1.2; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55); transition: transform 0.4s; }
.kachel:hover .stern, .kachel:hover .titel { transform: scale(1.1); }

/* ---------------- Kontakt-Boxen ---------------- */
.kontakt { background: var(--weiss); padding: 70px 0 80px; }
.boxen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.box {
  position: relative; background: var(--gruen); color: var(--weiss); text-align: center;
  padding: 30px 14px 28px; min-height: 146px; font-family: var(--font-ui); font-size: 16px; line-height: 1.35;
}
.box .icon {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--gruen); border: 3px solid var(--weiss);
  display: flex; align-items: center; justify-content: center;
}
.box .icon svg { width: 22px; height: 22px; fill: var(--weiss); }
.box .box-titel { font-size: 21px; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; margin: 0 0 14px; }
.box p { margin: 0; }
.box a { color: var(--weiss); }
.box a:hover { text-decoration: underline; color: var(--weiss); }

/* ---------------- Karte ---------------- */
.karte { background: var(--weiss); padding: 0 9px 9px; }
.karte .flaeche { position: relative; height: 550px; overflow: hidden; background: #f1f3f4; }
.karte .flaeche img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.karte .hotspot {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: rgba(61, 178, 0, 0.3); padding: 10px 35px;
}
.karte .hotspot a {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gruen); color: var(--weiss); font-family: var(--font-ui); font-size: 15px;
  padding: 8px 8px; line-height: 1.2; transition: background 0.2s;
}
.karte .hotspot a:hover { background: var(--gruen-dunkel); color: var(--weiss); }
.karte .hotspot svg { width: 14px; height: 14px; fill: currentColor; }
.karte .hinweis { position: absolute; right: 10px; bottom: 6px; font-family: var(--font-ui); font-size: 12px; color: #5f6368; background: rgba(255,255,255,0.75); padding: 1px 6px; }

/* ---------------- Fußbereich ---------------- */
.site-footer { background: var(--footer); color: var(--weiss); font-family: var(--font-ui); font-size: 15px; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 20px; min-height: 50px; padding-block: 8px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 0; }
.site-footer nav a { color: var(--weiss); padding: 6px 17px; position: relative; }
.site-footer nav a::after { content: ""; position: absolute; left: 17px; right: 17px; bottom: 2px; height: 2px; background: var(--weiss); opacity: 0; transition: opacity 0.2s; }
.site-footer nav a:hover::after, .site-footer nav a[aria-current="page"]::after { opacity: 1; }
.footer-unten { height: 65px; background: var(--grau-bg); }

/* Kontaktleiste (Handy) */
.kontaktleiste { display: none; }

/* Nach-oben-Button */
.nach-oben {
  position: fixed; right: 18px; bottom: 30px; z-index: 40;
  width: 38px; height: 38px; border: 0; border-radius: 3px; cursor: pointer;
  background: #666664; color: var(--weiss); opacity: 0; pointer-events: none; transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.nach-oben.sichtbar { opacity: 0.85; pointer-events: auto; }
.nach-oben:hover { opacity: 1; }
.nach-oben svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------------- Rechtstexte ---------------- */
.rechtliches { background: var(--weiss); padding: 50px 0 60px; }
.rechtliches h1 { font-family: Arial, Helvetica, sans-serif; font-size: 60px; color: var(--gruen); margin: 0 0 24px; }
.rechtliches h2 { font-family: var(--font); font-size: 22px; color: var(--gruen); margin: 32px 0 10px; }
.rechtliches h3 { font-family: var(--font); font-size: 17px; font-weight: 700; margin: 20px 0 6px; }
.rechtliches address { font-style: normal; margin: 0 0 0.9rem; }
.rechtliches ul { margin: 0 0 0.9rem; padding-left: 22px; }
.rechtliches li { margin-bottom: 4px; }
.rechtliches .stand { color: #777; }
.rechtliches .kasten { background: var(--grau-bg); padding: 14px 18px; margin: 0 0 0.9rem; }
.rechtliches .platzhalter { background: #fff3bf; color: #5c4400; padding: 0 4px; }
.rechtliches .impressum-adresse { font-family: Arial, Helvetica, sans-serif; font-size: 20px; line-height: 1.35; color: #333; margin-bottom: 20px; }
.rechtliches .impressum-kontakt { font-family: var(--font-ui); font-size: 20px; line-height: 1.6; }

/* ---------------- Tablet ---------------- */
@media (max-width: 1024px) {
  .slider { height: 360px; }
  .slide h2 { font-size: 46px; }
  .about .inner { gap: 30px; }
  .kacheln { padding: 40px 20px; }
  .kacheln .reihe { gap: 20px; }
  .kachel .titel { font-size: 17px; }
  .boxen { gap: 12px; }
  .box .box-titel { font-size: 18px; }
  .box { font-size: 15px; }
  .karte .flaeche { height: 420px; }
}

/* ---------------- Handy ---------------- */
@media (max-width: 767px) {
  body { font-size: 15px; }
  .container { padding-inline: 16px; }
  .site-header .container { min-height: 62px; }
  .site-header .logo { width: 250px; }
  .slider { height: 240px; }
  .slide h2 { font-size: 30px; padding: 0 48px; }
  .slider-arrow { width: 36px; }
  .slider-arrow svg { width: 16px; height: 30px; }
  .slider-arrow--prev { left: 4px; }
  .slider-arrow--next { right: 4px; }

  .about { padding: 40px 0 30px; }
  .about .inner { grid-template-columns: minmax(0, 1fr); padding-inline: 16px; gap: 30px; }
  .about .bilder { gap: 30px; }
  .about .portrait { width: 300px; }
  .about .sticker { width: 200px; }
  .about .text { padding-right: 0; }
  .about h1 { font-size: 30px; margin-bottom: 24px; text-align: center; }

  .section-title { font-size: 27px; }
  .ziele { padding: 45px 0 40px; }
  .balken-wrap, .balken-2 .balken-wrap, .balken-3 .balken-wrap { height: 38px; }
  .balken-1 .balken-fill, .balken-2 .balken-fill, .balken-3 .balken-fill { font-size: 16px; padding: 0 10px; }
  .balken-fill { overflow: hidden; }

  .lieben { padding: 30px 0 40px; }
  .zwei-spalten { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }

  .kacheln { padding: 30px 16px; }
  .kacheln .reihe { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .kachel { aspect-ratio: 16 / 9; }
  .kachel .titel { font-size: 19px; }

  .kontakt { padding: 50px 0 40px; }
  .boxen { grid-template-columns: minmax(0, 1fr); gap: 46px; }
  .box .box-titel { font-size: 20px; }

  .karte { padding: 0; }
  .karte .flaeche { height: 320px; }
  .karte .hotspot { padding: 8px 14px; width: max-content; max-width: 92%; }

  .site-footer .container { flex-direction: column; justify-content: center; text-align: center; padding-block: 14px; }
  .footer-unten { display: none; }

  .kontaktleiste {
    display: flex; justify-content: center; gap: 28px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--gruen); padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    font-family: var(--font-ui); font-size: 16px;
  }
  .kontaktleiste a { color: var(--weiss); display: inline-flex; align-items: center; gap: 8px; }
  .kontaktleiste svg { width: 16px; height: 16px; fill: currentColor; }
  body { padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
  .nach-oben { bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

  .rechtliches { padding: 30px 0 40px; }
  .rechtliches h1 { font-size: 40px; }
  .rechtliches .impressum-adresse, .rechtliches .impressum-kontakt { font-size: 17px; }
}
