/* Ersatzseite Tierarztpraxis Wurmberg (php2shell, ab 22.10.2026). Farben und Schriften aus dem Elementor-Kit. */
@font-face { font-family: "Frank Ruhl Libre"; src: url(FrankRuhlLibre-latin-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Frank Ruhl Libre"; src: url(FrankRuhlLibre-latin-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url(SourceSans3-latin-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url(SourceSans3-latin-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Source Sans Pro"; src: url(SourceSans3-latin-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
	--burgund: #740f35;
	--burgund-dunkel: #5a0b29;
	--text: #332226;
	--text-hell: #6e5a5f;
	--linien: #f0dde3;
	--sand: #ead3c1;
	--breite: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.0625rem/1.6 "Source Sans Pro", system-ui, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgund); text-underline-offset: 0.15em; }
a:focus-visible, .knopf:focus-visible { outline: 3px solid var(--burgund); outline-offset: 3px; }
h1, h2 { font-family: "Frank Ruhl Libre", Georgia, serif; font-weight: 600; color: var(--burgund); line-height: 1.2; margin: 0 0 0.6em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2rem); }
small { font-size: 0.875rem; color: var(--text-hell); }
.innen { max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; }

.sprungmarke { position: absolute; left: -9999px; top: 0; background: #fff; padding: 0.6rem 1rem; z-index: 10; }
.sprungmarke:focus { left: 1rem; top: 1rem; }

.hinweis { background: var(--sand); }
.hinweis p { margin: 0; padding: 0.75rem 0; font-weight: 600; text-align: center; }

.kopf { border-bottom: 1px solid var(--linien); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.kopf .logo img { width: 176px; }
.kopf ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; align-items: center; }
.kopf li a:not(.knopf) { font-weight: 600; text-decoration: none; }
.kopf li a:not(.knopf):hover { text-decoration: underline; }

.knopf { display: inline-block; padding: 0.7rem 1.4rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.875rem; border: 2px solid var(--burgund); }
.knopf-voll { background: var(--burgund); color: #fff; }
.knopf-voll:hover { background: var(--burgund-dunkel); border-color: var(--burgund-dunkel); }
.knopf-hell { background: #fff; color: var(--burgund); border-color: #fff; }
.knopf-hell:hover { background: var(--linien); border-color: var(--linien); }

/* Bühne: Foto rechts, Verlauf in Burgund von links für lesbaren weißen Text */
.buehne { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.buehne-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.buehne::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(90, 11, 41, 0.92) 0%, rgba(116, 15, 53, 0.78) 40%, rgba(116, 15, 53, 0.15) 75%); }
.buehne .innen { padding-top: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(7rem, 11vw, 10rem); }
.buehne h1 { color: #fff; font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); max-width: 14ch; }
.unterzeile { font-family: "Frank Ruhl Libre", Georgia, serif; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.35; max-width: 30ch; margin: 0 0 2rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; }
.buehne .knopf-voll { border-color: #fff; }

/* Eckdaten: Karte überlappt die Bühne */
.eckdaten { position: relative; margin-top: -5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.eckdaten .kasten { background: #fff; padding: 1.75rem 1.5rem; box-shadow: 0 6px 24px rgba(51, 34, 38, 0.12); display: grid; grid-template-columns: 40px 1fr; column-gap: 0.9rem; align-content: start; }
.eckdaten .kasten + .kasten { border-left: 1px solid var(--linien); }
.eckdaten h2 { font-size: 1.5rem; margin: 0.25rem 0 0.5rem; }
.eckdaten p { grid-column: 2; margin: 0; }
.symbol { width: 40px; height: 40px; background: var(--burgund); -webkit-mask: var(--bild) center / contain no-repeat; mask: var(--bild) center / contain no-repeat; }

.trenner::after { content: ""; display: block; width: 80px; height: 2px; background: var(--burgund); margin: 0.6em auto 0; }

.willkommen { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; padding-top: 5rem; padding-bottom: 5rem; }
.willkommen h2 { text-align: center; }
.willkommen .text p { hyphens: auto; }
.willkommen .bilder { position: relative; padding-bottom: 32%; }
.willkommen .bilder img { width: 72%; border-radius: 14px; }
.willkommen .bilder img + img { position: absolute; right: 0; bottom: 0; }

/* Notfall hell, damit er sich vom burgunderroten Fuß absetzt */
.notfall { background: var(--linien); padding: 4.5rem 0; scroll-margin-top: 1rem; }
.notfall h2 { text-align: center; }
.notfall h2 span { display: block; font-size: 0.65em; font-weight: 400; color: var(--text); }
.notfall a { font-size: 1.5rem; font-weight: 700; }
.notfall .spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 2rem; }
.notfall .liste { background: #fff; padding: 1.5rem 1.75rem; border-radius: 14px; }
.notfall ul { padding-left: 1.2rem; }

.rechtstext { padding-top: 3.5rem; padding-bottom: 4rem; max-width: 820px; }
.rechtstext h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); text-align: center; margin-bottom: 1.5rem; }
.rechtstext h2 { font-size: 1.4rem; margin-top: 2rem; }
.rechtstext hr { border: 0; border-top: 1px solid var(--linien); margin: 1.5rem 0; }

.fuss { background: var(--burgund); color: #fff; padding: 3.5rem 0 1.5rem; border-top: 6px solid var(--burgund-dunkel); }
.fuss a { color: #fff; }
.fuss .oben { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.fuss address { font-style: normal; }
.fuss small { color: #f0dde3; }
.fuss .oben p { margin: 0; }
.fuss .unten { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.35); margin-top: 2.5rem; padding-top: 1rem; font-size: 0.875rem; }
.fuss .unten p { margin: 0; }
.fuss .unten ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; }

.foerderung .innen { display: flex; justify-content: center; align-items: center; gap: 2.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; flex-wrap: wrap; }
.foerderung img { height: 44px; width: auto; }

@media (max-width: 860px) {
	.eckdaten { grid-template-columns: 1fr; margin-top: -3rem; }
	.eckdaten .kasten + .kasten { border-left: 0; border-top: 1px solid var(--linien); }
	.willkommen, .notfall .spalten { grid-template-columns: 1fr; gap: 2rem; }
	.buehne::before { background: linear-gradient(180deg, rgba(90, 11, 41, 0.9) 0%, rgba(116, 15, 53, 0.8) 60%, rgba(116, 15, 53, 0.55) 100%); }
	.kopf .logo img { width: 140px; }
}
