/* Vorlage Installateur · Soft Green
   Freundlich, natürlich, hell. Hamburger-Menü auch am Computer, Unterseiten mit weichem
   Wechsel, ovale und überlappende Bilder, Wasserzeichen-Hintergrund, Diashow.
   Schrift: DM Serif Display (Titel) + Nunito (Text). */
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --pastell: #EEF5EA; --pastell2: #E2EEDC; --salbei: #9DB59A; --salbei-dunkel: #6E8E6B; --creme: #FBF8F1; --gruen: #1F3B2D; --leise: #4A5D50;
  --rand: clamp(1.25rem, 5vw, 3.5rem); --breite: 76rem; --kopf-hoehe: 5.5rem;
  --dia-hoehe: 320px; --dia-radius: 999px 999px 28px 28px; --dia-knopf-text: var(--gruen);
}
body { margin: 0; color: var(--gruen); background: var(--pastell); font: 400 1.0625rem/1.7 "Nunito", system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--salbei-dunkel); outline-offset: 3px; }
.skip-link { background: var(--gruen); color: #fff; border-radius: 999px; }
h1, h2, h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: -.01em; }

/* Wasserzeichen: großes Bad sehr dezent, mit heller grünlicher Überlagerung */
.wasserzeichen { position: fixed; inset: 0; z-index: -1; background: linear-gradient(rgba(238, 245, 234, .9), rgba(238, 245, 234, .93)), url("../bilder/wasserzeichen-bad.svg") center / cover no-repeat; filter: saturate(.7); }

/* Kopf: Logo, Telefon, Hamburger (auch am Computer) */
.kopf { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 1.5rem; height: var(--kopf-hoehe); padding: 0 var(--rand); isolation: isolate; }
/* Unschärfe auf eigener Ebene: backdrop-filter direkt am Kopf würde das fixierte Menü auf Kopfhöhe einsperren */
.kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(238, 245, 234, .82); backdrop-filter: blur(10px); }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; font: 400 1.45rem "DM Serif Display", serif; margin-right: auto; }
.logo svg { width: 2.2rem; height: 2.2rem; color: var(--salbei-dunkel); }
.kopf-telefon { font-weight: 700; text-decoration: none; padding: .5rem 1rem; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(31, 59, 45, .08); }
.hamburger { position: relative; z-index: 70; display: inline-flex; align-items: center; gap: .7rem; min-height: 50px; padding: 0 1.2rem 0 1rem; border: 0; border-radius: 999px; background: var(--gruen); color: #fff; font: 700 1rem "Nunito"; }
.hamburger__striche { display: grid; gap: 5px; width: 22px; }
.hamburger__striche i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s ease, opacity .25s; }
.hamburger[aria-expanded="true"] { background: #fff; color: var(--gruen); }
.hamburger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Sanft animierte Navigation: weiche Fläche von rechts, Punkte gleiten nacheinander herein */
.menue { box-sizing: border-box; position: fixed; inset: 0 0 0 auto; width: min(100vw, 34rem); z-index: 60; display: flex; flex-direction: column; justify-content: space-between; padding: 7.5rem 3rem 3rem; background: var(--gruen); color: #fff; border-radius: 48% 0 0 48% / 22% 0 0 22%; box-shadow: -30px 0 80px rgba(31, 59, 45, .3); animation: menue-auf .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes menue-auf { from { transform: translateX(105%); border-radius: 100% 0 0 100% / 50% 0 0 50%; } to { transform: none; } }
.menue-liste { list-style: none; margin: 0; padding: 0; }
.menue-liste li { opacity: 0; transform: translateX(30px); animation: punkt-rein .5s ease forwards; animation-delay: calc(.12s + var(--i) * .06s); }
@keyframes punkt-rein { to { opacity: 1; transform: none; } }
.menue-liste a { display: block; padding: .35rem 0; text-decoration: none; font: 400 clamp(1.9rem, 4vw, 2.6rem)/1.2 "DM Serif Display", serif; transition: padding .25s, color .25s; }
.menue-liste a:hover, .menue-liste a[aria-current] { padding-left: .8rem; color: #CFE3C9; }
.menue-liste a[aria-current]::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .8rem; border-radius: 50%; background: #CFE3C9; vertical-align: middle; }
.menue-fuss { color: #CFE3C9; }
.menue-fuss p { margin: .2rem 0; }
.menue-offen .kopf-telefon { visibility: hidden; }

/* Seitenwechsel: weich und organisch */
.seite { padding-bottom: 5rem; }
.seite-kommt { animation: seite-weich .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes seite-weich { from { opacity: 0; transform: translateY(24px) scale(.985); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

.vorzeile { margin: 0 0 .8rem; font-weight: 700; color: var(--salbei-dunkel); letter-spacing: .04em; }
h1 { margin: 0 0 1.25rem; font-size: clamp(2.8rem, 6vw, 5.4rem); line-height: 1.02; }
h1 em { font-style: italic; color: var(--salbei-dunkel); }
.h1-seite { font-size: clamp(2.4rem, 4.8vw, 4.2rem); }
.einleitung { font-size: 1.2rem; color: var(--leise); max-width: 32rem; margin: 0 0 2rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }
.knopf { display: inline-flex; align-items: center; min-height: 52px; padding: .8rem 1.6rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 59, 45, .18); }
.knopf--voll { background: var(--gruen); color: #fff; }
.knopf--weich { background: #fff; color: var(--gruen); }

/* Startbereich: Text links, überlappende Ovale rechts */
.held { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: var(--breite); margin: 0 auto; padding: 3rem var(--rand) 5rem; }
.held-bilder { position: relative; min-height: 34rem; }
.oval { display: block; object-fit: cover; box-shadow: 0 24px 50px rgba(31, 59, 45, .16); }
.oval--gross { position: absolute; right: 0; top: 0; width: 78%; height: 30rem; border-radius: 50%; }
.oval--klein { position: absolute; left: 0; bottom: 0; width: 46%; height: 17rem; border-radius: 50%; border: 8px solid var(--pastell); }
.infokarte { background: rgba(255, 255, 255, .92); border-radius: 28px; padding: 1.5rem 1.75rem; box-shadow: 0 16px 40px rgba(31, 59, 45, .12); }
.held .infokarte { position: absolute; right: 2%; bottom: -1rem; width: min(23rem, 80%); }
.infokarte h2 { margin: 0 0 .75rem; font-size: 1.55rem; }
.oeffnungszeiten { margin: 0; display: grid; gap: .45rem; }
.oeffnungszeiten div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .1rem 1rem; padding-bottom: .45rem; border-bottom: 1px dashed #C9D9C4; }
.oeffnungszeiten dt { font-weight: 600; } .oeffnungszeiten dt, .oeffnungszeiten dd { white-space: nowrap; } .oeffnungszeiten dd { margin: 0 0 0 auto; color: var(--leise); text-align: right; }
.oeffnungszeiten-hinweis { margin: .8rem 0 0; font-size: .95rem; color: var(--salbei-dunkel); }

/* Organische Übergänge */
.welle { display: block; width: 100%; height: 90px; fill: var(--pastell2); margin-bottom: -1px; }
.welle--unten { margin-top: -1px; margin-bottom: 0; }
.band--salbei { background: var(--pastell2); padding: 1rem 0 2rem; }
.band-kopf { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; max-width: var(--breite); margin: 0 auto 2rem; padding: 0 var(--rand); }
.band-kopf h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3rem); }
.band-kopf p { margin: 0; color: var(--leise); }
.studio-diashow figure { position: relative; }
.studio-diashow figcaption { position: absolute; left: 50%; bottom: 1rem; translate: -50% 0; padding: .3rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .92); font-weight: 700; font-size: .9rem; white-space: nowrap; }

.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: var(--breite); margin: 3rem auto 0; padding: 0 var(--rand); }
.teaser-karte { display: grid; grid-template-columns: 9rem 1fr; gap: 1.25rem; align-items: center; padding: 1rem; border-radius: 999px 28px 28px 999px; background: rgba(255, 255, 255, .9); text-decoration: none; box-shadow: 0 12px 30px rgba(31, 59, 45, .08); transition: transform .3s; }
.teaser-karte:hover { transform: translateY(-4px); }
.teaser-karte--versetzt { margin-top: 3rem; }
.teaser-karte img { width: 9rem; height: 9rem; border-radius: 50%; object-fit: cover; }
.teaser-karte span { display: grid; color: var(--leise); }
.teaser-karte strong { font: 400 1.6rem "DM Serif Display", serif; color: var(--gruen); }

/* Unterseiten */
.seitenkopf { max-width: var(--breite); margin: 0 auto; padding: 3.5rem var(--rand) 2rem; }
.leistungen { list-style: none; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.leistungen li { padding: 2rem 2.2rem; border-radius: 40px 40px 40px 8px; background: rgba(255, 255, 255, .9); box-shadow: 0 12px 30px rgba(31, 59, 45, .07); }
.leistungen li:nth-child(even) { border-radius: 40px 8px 40px 40px; transform: translateY(1.5rem); }
.leistungen h2 { margin: 0 0 .5rem; font-size: 1.9rem; }
.leistungen p { margin: 0 0 1rem; color: var(--leise); }
.leistungen a { font-weight: 700; color: var(--salbei-dunkel); }
.asym { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: var(--breite); margin: 0 auto; padding: 3.5rem var(--rand) 2rem; }
.asym--umgekehrt { grid-template-columns: .9fr 1.1fr; }
.asym-bilder { position: relative; min-height: 32rem; }
.oval--hoch { width: 72%; height: 30rem; border-radius: 50%; }
.oval--rund { position: absolute; right: 0; bottom: -1rem; width: 15rem; height: 15rem; border-radius: 50%; border: 8px solid var(--pastell); }
.oval--portrait { width: 80%; max-width: 26rem; height: 34rem; border-radius: 50%; margin-left: auto; }
.asym-text p { color: var(--leise); }
.punkte-weich { list-style: none; padding: 0; margin: 1.25rem 0 2rem; display: grid; gap: .6rem; }
.punkte-weich li { display: flex; gap: .8rem; align-items: center; font-weight: 600; color: var(--gruen); }
.punkte-weich li::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50% 50% 50% 0; background: var(--salbei); }
.hinweis-demo { font-style: italic; }

.kontakt-karten { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); align-items: start; }
.karte { background: rgba(255, 255, 255, .94); border-radius: 36px; padding: 2.2rem 2.4rem; box-shadow: 0 16px 40px rgba(31, 59, 45, .1); }
.karte h2 { margin: 0 0 .5rem; font-size: 2rem; }
.karte--rueckruf p { color: var(--leise); }
.kontaktwege { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.kontaktwege li { display: grid; }
.kontaktwege span { font-size: .85rem; font-weight: 700; color: var(--salbei-dunkel); letter-spacing: .05em; }
.kontaktwege a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.infokarte--gross { background: var(--gruen); color: #fff; border-radius: 36px 36px 36px 120px; }
.infokarte--gross .oeffnungszeiten div { border-color: rgba(255, 255, 255, .25); }
.infokarte--gross dd, .infokarte--gross .oeffnungszeiten-hinweis { color: #CFE3C9; }

.fuss { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2rem var(--rand); background: var(--gruen); color: #CFE3C9; border-radius: 48px 48px 0 0; }
.fuss p { margin: 0; }
.unterseite { max-width: 46rem; margin: 0 auto; padding: 4rem var(--rand); }

@media (max-width: 899px) {
  .kopf-telefon { display: none; }
  .hamburger__text { display: none; }
  .hamburger { padding: 0 1rem; }
  .menue { width: 100vw; border-radius: 0 0 0 48px; padding: 6.5rem 1.75rem 2rem; }
  .held, .asym, .asym--umgekehrt, .kontakt-karten, .teaser, .leistungen { grid-template-columns: 1fr; }
  .held { padding-top: 1.5rem; }
  .held-bilder { min-height: 26rem; }
  .oval--gross { width: 88%; height: 20rem; }
  .oval--klein { width: 50%; height: 11rem; }
  .held .infokarte { position: relative; right: auto; bottom: auto; width: auto; margin-top: 21rem; }
  .asym--umgekehrt .asym-text { order: 2; }
  .asym-bilder { min-height: 24rem; }
  .oval--hoch { width: 85%; height: 22rem; }
  .oval--rund { width: 10rem; height: 10rem; }
  .oval--portrait { height: 26rem; margin: 0 auto; }
  .leistungen li:nth-child(even) { transform: none; }
  .teaser-karte--versetzt { margin-top: 0; }
  .teaser-karte { grid-template-columns: 6rem 1fr; }
  .teaser-karte img { width: 6rem; height: 6rem; }
}
