/* luzmaria.de – Stylesheet
   Alle Ressourcen werden lokal ausgeliefert (keine Google Fonts, kein CDN). */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2");
}

:root {
  --blue: #6a9fd6;
  --green: #2c7a2c;
  --red: #b5121b;
  --text: #2b2b2b;
  --muted: #5c5c5c;
  --line: #e3e3e3;
  --bg: #ffffff;
  --bg-soft: #f5f6f4;
  --radius: 10px;
  --max: 46rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

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

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--red); }
a:focus-visible,
button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3 { line-height: 1.3; color: #1d1d1d; }
h1 { font-size: 1.9rem; font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: 1.4rem; font-weight: 600; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.1rem; font-weight: 600; margin: 1.75rem 0 .5rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: #fff; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Layout: Bildspalte links (Desktop) ---------- */
.side-image {
  display: none;
}
@media (min-width: 993px) {
  .side-image {
    display: block;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 40%;
    background-size: cover;
    background-position: center;
  }
  .has-side .page { margin-left: 40%; }
}
.side-welcome  { background-image: url("../img/welcome.webp"); }
.side-portrait { background-image: url("../img/portrait.jpg"); background-position: center top; }

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Kopfbereich & Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem 1.25rem;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.brand img { height: 52px; width: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: 0; border-radius: 8px; background: transparent;
  color: var(--muted); font-size: 1.6rem; cursor: pointer;
}
.nav-toggle:hover { color: #000; background: var(--bg-soft); }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: .6rem 1rem;
  text-decoration: none; color: var(--muted); font-weight: 600; white-space: nowrap;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--green); }

@media (max-width: 760px) {
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(0,0,0,.06);
  }
  .nav-open .site-nav { display: block; }
  .site-nav a { padding: .9rem 1.5rem; font-size: 1.1rem; }
}
@media (min-width: 761px) {
  .nav-toggle { display: none; }
  .site-nav ul { display: flex; gap: .25rem; }
}

/* ---------- Inhalt ---------- */
main { flex: 1; width: 100%; max-width: calc(var(--max) + 2.5rem); margin: 0 auto; padding: 2rem 1.25rem 3rem; }

.hero { text-align: center; padding: 1rem 0 1.5rem; }
.hero .logo { margin: 0 auto 1.5rem; width: min(100%, 420px); }
.hero-image { margin: 0 auto 1.5rem; width: min(100%, 360px); border-radius: var(--radius); }
@media (min-width: 993px) { .hero-image { display: none; } }
.lead { font-size: 1.15rem; color: var(--muted); }

.offer {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin: 1.25rem 0;
  background: #fff;
}
.offer h3 { margin-top: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.offer .level {
  font-size: .85rem; font-weight: 600; color: var(--green);
  background: #eaf3ea; padding: .1rem .6rem; border-radius: 999px;
}
.offer p:last-child { margin-bottom: 0; }

.note { background: var(--bg-soft); border-left: 4px solid var(--blue); padding: .9rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }

.contact-list { list-style: none; padding: 0; margin: 1rem 0; }
.contact-list li { display: flex; align-items: center; gap: 1rem; padding: .5rem 0; }
.contact-list .icon { font-size: 1.6rem; color: var(--muted); width: 1.6rem; }

.about-portrait { width: min(100%, 340px); margin: 0 auto 1.5rem; border-radius: var(--radius); }
@media (min-width: 993px) { .about-portrait { display: none; } }

.legal h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal h3 { font-size: 1.02rem; }
.legal address { font-style: normal; }
.legal ul { padding-left: 1.25rem; }
.small { font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-soft); border-top: 1px solid var(--line);
  padding: 2rem 1.25rem; text-align: center; color: var(--muted); font-size: .92rem;
}
.social { display: flex; justify-content: center; gap: 1.25rem; margin-bottom: 1rem; }
.social a { color: var(--muted); font-size: 1.7rem; display: inline-flex; }
.social a:hover { color: var(--green); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.25rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--green); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Auf dem Handy steht das Logo bereits im Kopfbereich */
@media (max-width: 760px) {
  .hero .logo { display: none; }
  .hero-image { width: min(100%, 280px); }
}

/* Sprungziele nicht unter dem fixierten Kopfbereich verstecken */
[id] { scroll-margin-top: 90px; }
