/* WITTSTOCK Die Hundeschule. – Stylesheet V0.4 (modernes Design, Blau bleibt) */
:root {
  --blau: #14296b;
  --blau-hero: #143d93;
  --blau-tief: #0d1c4d;
  --blau-hell: #e8eefb;
  --blau-weich: #f4f7fd;
  --orange: #cf7d3b;
  --orange-hell: #f0a566;
  --text: #24305a;
  --gedaempft: #5a6590;
  --linie: #d9e0f2;
  --weiss: #fff;
  --radius: 20px;
  --schmal: 1080px;
  --schatten: 0 1px 2px rgba(20,41,107,.06), 0 12px 32px -12px rgba(20,41,107,.22);
  --titel: Oswald, "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font: "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
}
@font-face { font-family: Oswald; src: local("Oswald"), url("fonts/Oswald.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-anchor: none; }
body { margin: 0; background: var(--blau-weich); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.schmal { max-width: var(--schmal); margin: 0 auto; padding: 0 1.5rem; }
h1, h2, h3 { font-family: var(--titel); color: var(--blau); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.zentriert { text-align: center; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--linie); transition: box-shadow .3s ease; view-transition-name: kopf; }
.kopf.klein { box-shadow: 0 8px 28px -10px rgba(20,41,107,.28); }
.kopf-innen { max-width: 1240px; margin: 0 auto; padding: .8rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; transition: padding .3s ease; }
.kopf.klein .kopf-innen { padding-top: .45rem; padding-bottom: .45rem; }
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-right: auto; }
.logo img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blau-hero); transition: width .3s, height .3s; }
.kopf.klein .logo img { width: 36px; height: 36px; }
.logo-text { font-family: var(--titel); font-weight: 700; font-size: 1.2rem; letter-spacing: .04em; color: var(--blau); line-height: 1; }
.logo-text small { display: block; font-weight: 400; font-size: .72rem; letter-spacing: .12em; color: var(--orange); margin-top: .25rem; }
.leiste { display: flex; align-items: center; gap: 1rem; }
.nav { display: flex; gap: .2rem; padding: .3rem; background: var(--blau-hell); border-radius: 999px; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--blau); padding: .45rem 1rem; border-radius: 999px; transition: background .25s, color .25s; }
.nav a:hover { background: #fff; }
.nav a[aria-current="page"] { background: var(--blau); color: #fff; }
.social { display: flex; gap: .5rem; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--blau); background: var(--blau-hell); transition: transform .25s, background .25s, color .25s; }
.social a:hover { transform: translateY(-2px); background: var(--blau); color: #fff; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.menue-knopf { display: none; background: var(--blau); color: #fff; border: 0; border-radius: 999px; padding: .55rem 1.1rem; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
@media (max-width: 900px) {
  .kopf-innen { flex-wrap: wrap; }
  .menue-knopf { display: block; }
  .leiste { display: none; width: 100%; flex-direction: column; align-items: stretch; padding-bottom: .6rem; }
  .kopf.offen .leiste { display: flex; }
  .nav { flex-direction: column; border-radius: 18px; }
  .nav a { padding: .7rem 1rem; }
  .leiste .social { justify-content: center; }
}

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.6rem; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; box-shadow: 0 10px 24px -10px rgba(207,125,59,.8); }
.knopf:hover { transform: translateY(-2px); background: #bd6c2c; }
.knopf.hell { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.knopf.hell:hover { background: rgba(255,255,255,.24); }

/* ---------- Startseite: Hero ---------- */
.hero { background: radial-gradient(900px 500px at 85% 10%, rgba(240,165,102,.22), transparent 60%), linear-gradient(140deg, var(--blau-tief), var(--blau) 55%, var(--blau-hero)); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 9vw, 7rem); overflow: hidden; }
.hero-raster { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; }
.hero .gross { display: block; font-family: var(--font); font-weight: 800; font-size: clamp(3rem, 8.5vw, 5.6rem); letter-spacing: -.02em; line-height: 1; }
.hero .klein { display: block; font-family: var(--font); font-weight: 300; font-size: clamp(1.6rem, 4.5vw, 2.6rem); letter-spacing: .06em; color: var(--orange-hell); margin-top: .4rem; }
.hero-lead { font-size: 1.2rem; max-width: 30em; color: #d6defa; margin: 1.5rem 0 2rem; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-bild { position: relative; }
.hero-bild::before { content: ""; position: absolute; inset: 7% -5% -7% 5%; border-radius: 32px; background: var(--orange); opacity: .9; transform: rotate(3deg); }
.hero-bild img { position: relative; width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; object-position: 38% 40%; border-radius: 28px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
@media (max-width: 860px) { .hero-raster { grid-template-columns: 1fr; } .hero-bild { max-width: 520px; } }

/* ---------- Seitenkopf der Unterseiten ---------- */
.seitenkopf { background: linear-gradient(140deg, var(--blau-tief), var(--blau) 60%, var(--blau-hero)); color: #fff; padding: clamp(3rem, 7vw, 4.8rem) 0; position: relative; overflow: hidden; }
.seitenkopf::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(240,165,102,.35), transparent 70%); }
.seitenkopf h1 { color: #fff; font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 700; position: relative; }
.seitenkopf h1::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: var(--orange); margin-top: 1rem; }

/* ---------- Abschnitte ---------- */
.bg-hero, .bg-blaugrau, .bg-team, .bg-rez { background: var(--blau-weich); }
.bg-dienste, .bg-kontakt { background: #fff; }
.einleitung { max-width: 40rem; margin: 1rem auto 3rem; color: var(--gedaempft); font-size: 1.1rem; }
.strich { width: 48px; height: 4px; border-radius: 4px; background: var(--orange); margin: 1rem auto 2.5rem; }

/* Dienstleistungen */
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left; }
.leistung { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--schatten); border: 1px solid var(--linie); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.bg-dienste .leistung { background: var(--blau-weich); }
.leistung:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -16px rgba(20,41,107,.35); }
.leistung img { width: 76px; height: 76px; border-radius: 22px; object-fit: cover; margin-bottom: 1.3rem; }
.leistung h3 { margin-bottom: .8rem; }
.leistung p { margin: 0 0 .6rem; font-size: .98rem; color: var(--text); }
@media (max-width: 860px) { .drei { grid-template-columns: 1fr; } }

/* Team */
.karte { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.25fr; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--schatten); text-align: left; }
.karte img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: 38% 50%; }
.karte > :not(img) { margin-left: 2.2rem; margin-right: 2.2rem; }
.karte .rolle { margin-top: 2.4rem; margin-bottom: 0; color: var(--orange); font-weight: 700; font-size: .95rem; }
.karte h3 { font-size: 1.9rem; margin: .2rem 2.2rem .9rem; }
.karte p:last-child { margin-bottom: 2.4rem; }
.karte > img { grid-row: 1 / span 3; }
.karte.buendig > :not(img) { margin-left: 2.2rem; margin-right: 2.2rem; }
@media (max-width: 760px) { .karte { grid-template-columns: 1fr; } .karte > img { grid-row: auto; min-height: 0; aspect-ratio: 4/3; } }

/* Über uns / Geschichte */
.ueber, .geschichte { background: linear-gradient(160deg, var(--blau), var(--blau-tief)); color: #dbe3fb; }
.ueber h2, .geschichte h2 { color: #fff; }
.ueber .unter, .geschichte .unter { color: var(--orange-hell); font-weight: 700; margin: .8rem 0 1.2rem; font-size: 1.1rem; }
.ueber .fliess, .geschichte .fliess { max-width: 46rem; margin: 0; font-size: 1.08rem; line-height: 1.9; }
.geschichte { text-align: left; }
.geschichte .schmal, .ueber .schmal { max-width: 860px; }

/* Rezensionen */
.rez-spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; margin-top: 3rem; text-align: left; }
.rezension { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); border: 1px solid var(--linie); display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.rezension:hover { transform: translateY(-5px); }
.bildrahmen { overflow: hidden; }
.rezension img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.rezension:hover img { transform: scale(1.06); }
.rezension blockquote { margin: 0; padding: 1.6rem 1.6rem .4rem; font-size: .95rem; line-height: 1.75; position: relative; }
.rezension blockquote::before { content: "“"; display: block; font-family: Georgia, serif; font-size: 3.4rem; line-height: .6; color: var(--orange); margin-bottom: .5rem; }
.rezension blockquote p { margin: 0 0 .6rem; }
.rezension .name { padding: 0 1.6rem 1.6rem; margin: 0; font-family: var(--font); font-size: .95rem; font-weight: 700; color: var(--blau); }
@media (max-width: 960px) { .rez-spalten { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
.bild-breit { margin: 0 auto 3rem; border-radius: 28px; overflow: hidden; box-shadow: var(--schatten); }
.bild-breit img { width: 100%; aspect-ratio: 833 / 300; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.bild-breit:hover img { transform: scale(1.04); }

/* Formulare */
.formular { max-width: 580px; margin: 2rem auto 0; text-align: left; background: #fff; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 28px; box-shadow: var(--schatten); border: 1px solid var(--linie); }
.formular .feld { display: block; margin-bottom: 1.1rem; }
.formular .feld > span, .formular legend { display: block; font-size: .88rem; font-weight: 700; color: var(--blau); margin-bottom: .35rem; padding: 0; }
.formular input[type="text"], .formular input[type="email"], .formular textarea { width: 100%; border: 1.5px solid var(--linie); border-radius: 14px; background: var(--blau-weich); color: var(--text); font: inherit; font-size: 1rem; padding: .8rem 1rem; transition: border-color .25s, box-shadow .25s, background .25s; }
.formular textarea { min-height: 140px; resize: vertical; }
.formular input:focus, .formular textarea:focus { outline: none; border-color: var(--blau-hero); background: #fff; box-shadow: 0 0 0 4px rgba(20,61,147,.14); }
.formular ::placeholder { color: #8a93b8; }
.formular fieldset { border: 0; padding: 0; margin: 0 0 1.1rem; }
.formular fieldset label { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.6rem; font-size: 1rem; cursor: pointer; }
.formular input[type="radio"] { accent-color: var(--blau-hero); width: 18px; height: 18px; }
.formular button { width: 100%; margin-top: .5rem; background: var(--blau); color: #fff; border: 0; border-radius: 999px; padding: .95rem 1.5rem; font: inherit; font-weight: 700; font-size: 1.02rem; cursor: pointer; transition: background .25s, transform .25s; }
.formular button:hover { background: var(--blau-hero); transform: translateY(-2px); }
.formular button[disabled] { opacity: .6; cursor: wait; transform: none; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { margin: .8rem 0; padding: .75rem 1rem; border-radius: 12px; font-size: .95rem; display: none; }
.meldung.ok { display: block; background: #e3f4ea; color: #17432b; }
.meldung.fehler { display: block; background: #fbe6e3; color: #6b1d14; }
.pflicht { color: var(--orange); }
.bg-kontakt { background: linear-gradient(180deg, var(--blau-hell), var(--blau-weich)); }
.bg-rez + .bg-kontakt { background: linear-gradient(180deg, var(--blau-hell), var(--blau-weich)); }

/* Kontaktdaten (falls verwendet) */
.kontaktdaten { padding: 3rem 0; background: #fff; }
.kontaktdaten .spalten { max-width: var(--schmal); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.kontaktdaten address { font-style: normal; }

/* Fuß */
.fuss { background: var(--blau-tief); color: #b9c4ea; text-align: center; padding: 3rem 1.5rem 2.5rem; font-size: .95rem; }
.fuss p { margin: 0 0 .9rem; }
.fuss a { text-decoration: none; transition: color .2s; }
.fuss a:hover { color: #fff; }
.fuss .social { justify-content: center; margin: 1.2rem 0 1.5rem; }
.fuss .social a { background: rgba(255,255,255,.1); color: #fff; }
.fuss .social a:hover { background: var(--orange); }
.fuss .recht a { margin: 0 .8rem; }

/* Rechtliche Seiten */
.text-seite { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.text-seite h2 { font-size: 1.5rem; margin: 2.2rem 0 .6rem; }
.text-seite p { margin: 0 0 1rem; }

/* ---------- Bewegung ---------- */
.fortschritt { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blau-hero), var(--orange)); transform-origin: left; transform: scaleX(var(--fortschritt, 0)); z-index: 50; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: .2s ease both seite-raus; }
  ::view-transition-new(root) { animation: .45s cubic-bezier(.2,.7,.2,1) both seite-rein; }
  @keyframes seite-raus { to { opacity: 0; } }
  @keyframes seite-rein { from { opacity: 0; translate: 0 14px; } }
  /* Einziger großer Moment: Hero beim Laden */
  .hero .gross { animation: hochfahren .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .klein { animation: hochfahren .9s .15s cubic-bezier(.2,.7,.2,1) both; }
  .hero-lead, .hero-knoepfe { animation: hochfahren .9s .3s cubic-bezier(.2,.7,.2,1) both; }
  .hero-bild img { animation: aufdecken 1.2s .2s cubic-bezier(.77,0,.18,1) both; }
  .hero-bild::before { animation: kippen 1s .5s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes hochfahren { from { opacity: 0; translate: 0 30px; } }
  @keyframes aufdecken { from { clip-path: inset(0 0 100% 0 round 28px); } to { clip-path: inset(0 round 28px); } }
  @keyframes kippen { from { opacity: 0; transform: rotate(-4deg) scale(.92); } }
  /* Sanftes Einblenden der Inhalte beim Scrollen */
  .js [data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--verzug, 0s); }
  .js [data-reveal].sichtbar { opacity: 1; translate: 0 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

