/* Hundezentrum HSS – gemeinsames Stylesheet (Landingpage, Impressum, Datenschutz) */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/poppins-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-style: italic; font-display: swap; src: url("../fonts/playfair-display-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Canva-Markenkit */
  --tiefgruen: #255a5d;
  --petrol: #447e80;
  --hellpetrol: #93c2c4;
  --sand: #a09b96;
  --gold: #ffbd59;

  /* abgeleitet aus dem Kit */
  --tiefgruen-dunkel: #1b4446;
  --text: #1c3233;
  --text-leise: #46605f;
  --grund: #f6f9f9;
  --flaeche: #e7f0f0;
  --weiss: #ffffff;
  --auf-gruen: #d9ebec;       /* Fließtext auf Tiefgrün, aus Hellpetrol aufgehellt */

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --spalte: 38rem;
  --bild: 56rem;
  --breit: 72rem;
  --rand: 1.25rem;

  --schatten: 0 1.2rem 2.4rem -1rem rgba(27, 68, 70, 0.35);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-color: var(--petrol) var(--flaeche);
  accent-color: var(--petrol);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  caret-color: var(--petrol);
}

::selection { background: var(--gold); color: var(--tiefgruen-dunkel); }

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

a { color: var(--petrol); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--tiefgruen); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.nowrap { white-space: nowrap; }

/* ---------- Kopfzeile ---------- */

.kopf {
  padding: 1.1rem var(--rand);
  background: var(--tiefgruen);
}
.kopf__inner { max-width: var(--breit); margin: 0 auto; }
@media (min-width: 56rem) { .kopf { padding-left: max(var(--rand), calc((100vw - var(--breit)) / 2)); } .kopf__inner { max-width: none; } }
.marke {
  font-family: var(--serif); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.01em;
  color: var(--weiss); text-decoration: none;
}
a.marke:hover { color: var(--gold); }
.marke sup { font-size: 0.55em; }

/* ---------- Titelbereich: dunkles Grün, Jack im Abendlicht ---------- */

.titel {
  position: relative;
  background: var(--tiefgruen);
  color: var(--weiss);
  overflow: hidden;
}
.titel__inner {
  max-width: var(--breit); margin: 0 auto;
  display: grid;
}
.titel__text { padding: 1.25rem var(--rand) 2.5rem; order: 2; }
.titel h1 {
  margin: 0;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.35rem, 10vw, 4.4rem);
  line-height: 1.02; letter-spacing: -0.015em;
  color: var(--weiss);
  overflow-wrap: break-word; hyphens: manual;
  text-wrap: balance;
}
.titel h1 sup { font-size: 0.36em; vertical-align: 1.5em; color: var(--auf-gruen); }
.titel__unterzeile {
  display: block; margin-top: 1rem;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 4.6vw, 1.85rem); line-height: 1.3; letter-spacing: 0;
  color: var(--gold);
  text-wrap: balance;
}
.titel__aktion { margin: 2rem 0 0; }

.titel__bild {
  margin: 0; order: 1;
  aspect-ratio: 4 / 3; background: var(--tiefgruen-dunkel);
}
.titel__bild img { width: 100%; height: 100%; object-fit: cover; }

/* Der eine bewegte Moment: das Foto kommt aus leichter Unschärfe scharf */
@media (prefers-reduced-motion: no-preference) {
  .titel__bild img { animation: scharf 1.6s var(--ease) both; }
  @keyframes scharf {
    from { filter: blur(10px) saturate(0.7); transform: scale(1.04); }
    to   { filter: none; transform: none; }
  }
}

@media (min-width: 56rem) {
  .titel__inner {
    max-width: none;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center; min-height: min(46rem, 90vh);
  }
  .titel__text {
    order: 1;
    padding: 4.5rem 4rem 4.5rem max(var(--rand), calc((100vw - var(--breit)) / 2));
  }
  .titel h1 { font-size: clamp(3rem, 4.6vw, 4.4rem); }
  .titel__bild { order: 2; aspect-ratio: auto; align-self: stretch; min-height: 100%; }
}

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  background: var(--gold); color: var(--tiefgruen-dunkel);
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.3;
  text-decoration: none; border-radius: 3px;
  box-shadow: 0 0.5rem 1.2rem -0.5rem rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s ease;
}
.knopf::after {
  content: ""; width: 0.95em; height: 0.95em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s var(--ease);
}
.knopf--runter::after { transform: rotate(90deg); }
.knopf:hover { color: var(--tiefgruen-dunkel); background: #ffc977; transform: translateY(-2px); box-shadow: 0 0.8rem 1.6rem -0.6rem rgba(0, 0, 0, 0.4); }
.knopf:hover::after { transform: translateX(3px); }
.knopf--runter:hover::after { transform: rotate(90deg) translateX(3px); }
.knopf:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .knopf, .knopf::after { transition: none; } }

/* ---------- Lesestrecke ---------- */

.abschnitt { padding: 4rem var(--rand) 0; }
.spalte { max-width: var(--spalte); margin: 0 auto; }

.abschnitt h2 {
  margin: 0 0 1.4rem;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 5.4vw, 2.5rem); line-height: 1.16; letter-spacing: -0.01em;
  color: var(--tiefgruen);
  text-wrap: balance;
}
.abschnitt h2::before {
  content: ""; display: block;
  width: 3rem; height: 3px; margin-bottom: 1.1rem;
  background: var(--gold);
}
.abschnitt p { margin: 0 0 1.4em; hyphens: auto; -webkit-hyphens: auto; }
.abschnitt p:last-child { margin-bottom: 0; }

/* Der Vergleich mit uns Menschen: eigenes Band über die ganze Breite */
.vergleich {
  margin: 2.6rem calc(50% - 50vw);
  padding: 2.6rem var(--rand);
  background: var(--flaeche);
}
.vergleich p {
  max-width: var(--spalte); margin: 0 auto;
  font-size: 1.0625rem; color: var(--text);
}
@media (min-width: 48rem) {
  .vergleich { padding: 3.5rem var(--rand); }
  .vergleich p { font-size: 1.125rem; line-height: 1.85; }
}

/* Bilder brechen aus der Textspalte aus */
.bild {
  margin: 2.75rem auto 0; max-width: var(--bild);
  background: var(--flaeche);
}
.bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 47.99rem) {
  .bild { margin-left: calc(-1 * var(--rand)); margin-right: calc(-1 * var(--rand)); }
}
@media (min-width: 48rem) {
  .bild { border-radius: 4px; overflow: hidden; box-shadow: var(--schatten); }
}

/* Die vier Leistungen in ihrer zeitlichen Folge */
.folge {
  list-style: none; margin: 1.8rem 0 0; padding: 0;
  position: relative;
}
.folge::before {
  content: ""; position: absolute; left: 0.45rem; top: 0.9rem; bottom: 0.9rem;
  width: 2px; background: var(--hellpetrol);
}
.folge li {
  position: relative; padding: 0 0 1.35rem 2.2rem;
  line-height: 1.65;
}
.folge li:last-child { padding-bottom: 0; }
.folge li::before {
  content: ""; position: absolute; left: 0; top: 0.42em;
  width: 0.95rem; height: 0.95rem; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--grund);
}

/* ---------- Über mich ---------- */

.ueber {
  margin-top: 5rem; padding: 3.5rem var(--rand) 4rem;
  background: var(--weiss);
}
.ueber__inner {
  max-width: 58rem; margin: 0 auto;
  display: grid; gap: 2rem; align-items: center;
}
.ueber__foto {
  margin: 0; width: 100%; max-width: 22rem; aspect-ratio: 1; overflow: hidden;
  border-radius: 4px; background: var(--flaeche); box-shadow: var(--schatten);
}
.ueber__foto img { width: 100%; height: 100%; object-fit: cover; }
.ueber h2 {
  margin: 0 0 1rem; font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 5.4vw, 2.5rem); line-height: 1.16; color: var(--tiefgruen);
}
.ueber h2::before {
  content: ""; display: block; width: 3rem; height: 3px; margin-bottom: 1.1rem; background: var(--gold);
}
.ueber p { margin: 0; max-width: var(--spalte); }
@media (min-width: 48rem) {
  .ueber__inner { grid-template-columns: 22rem 1fr; gap: 3.5rem; }
}

/* ---------- Termine ---------- */

.termine {
  background: var(--tiefgruen); color: var(--weiss);
  padding: 4rem var(--rand) 4.5rem;
}
.termine__inner { max-width: 62rem; margin: 0 auto; }
.termine h2 {
  margin: 0 0 0.7rem;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2rem, 6.5vw, 3rem); line-height: 1.1; letter-spacing: -0.01em;
  color: var(--weiss);
}
.termine__zeile { margin: 0 0 2.25rem; color: var(--auf-gruen); max-width: var(--spalte); }

.termine__raster { display: grid; gap: 2rem; }
@media (min-width: 52rem) {
  .termine__raster { grid-template-columns: 1.45fr 1fr; align-items: start; gap: 2.5rem; }
}

.termin-liste { list-style: none; margin: 0; padding: 0; }
.termin {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  padding: 1.35rem 0;
  border-top: 1px solid rgba(147, 194, 196, 0.35);
}
.termin:last-child { border-bottom: 1px solid rgba(147, 194, 196, 0.35); }
.termin__datum {
  font-family: var(--serif); font-weight: 700; font-size: 1.9rem; line-height: 1.05;
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: -0.01em;
}
.termin__tag {
  display: block; margin-bottom: 0.3rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.02em;
  color: var(--auf-gruen);
}

.kosten {
  padding: 1.6rem 1.5rem 0.8rem;
  background: var(--weiss); color: var(--text);
  border-radius: 4px; box-shadow: 0 1.4rem 2.8rem -1.2rem rgba(0, 0, 0, 0.45);
}
.kosten h3 {
  margin: 0 0 0.6rem; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--tiefgruen);
}
.kosten dl { margin: 0; }
.kosten div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.7rem 0; border-top: 1px solid rgba(160, 155, 150, 0.35);
  line-height: 1.45;
}
.kosten div:first-child { border-top: 0; }
.kosten dt { margin: 0; }
.kosten dd {
  margin: 0; white-space: nowrap; color: var(--tiefgruen);
  font-family: var(--sans); font-weight: 600; font-size: 1.1rem;
  font-variant-numeric: lining-nums tabular-nums;
}

/* ---------- Fußzeile ---------- */

.fuss {
  padding: 2rem var(--rand) 6.5rem;
  background: var(--tiefgruen-dunkel); color: var(--auf-gruen);
  font-size: 0.95rem;
}
.fuss__inner {
  max-width: var(--breit); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between;
}
.fuss nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.fuss a { color: var(--weiss); }
.fuss a:hover { color: var(--gold); }
@media (min-width: 52rem) { .fuss { padding-bottom: 2rem; } }
.fuss--kurz { padding-bottom: 2rem; }

/* ---------- Leiste auf dem Handy ---------- */

.leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 0.7rem var(--rand) calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(27, 68, 70, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 -0.6rem 1.4rem -0.4rem rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--ease);
}
.leiste .knopf { display: flex; justify-content: center; }
.leiste[data-versteckt="true"] { transform: translateY(110%); }
@media (prefers-reduced-motion: reduce) { .leiste { transition: none; } }
@media (min-width: 52rem) { .leiste { display: none; } }

/* ---------- Rechtstexte ---------- */

.rechtstext { padding: 3.5rem var(--rand) 4rem; }
.rechtstext h1 {
  margin: 0 0 1.5rem; font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 3rem); color: var(--tiefgruen); line-height: 1.1;
}
.rechtstext h2 {
  margin: 2.4rem 0 0.6rem; font-family: var(--serif); font-weight: 600;
  font-size: 1.35rem; color: var(--tiefgruen); line-height: 1.3;
}
.rechtstext p, .rechtstext ul { margin: 0 0 1em; }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext .stand { color: var(--text-leise); font-size: 0.95rem; margin-top: 2.5rem; }
