/* Gemeinschaftspraxis Hammah */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/roboto-latin-900-normal.woff2") format("woff2"); }

:root {
	--teal: #0ca2a5;
	--teal-dunkel: #0b7f82;
	--petrol: #045465;
	--hell: #73c2c5;
	--flaeche: #e0f2f2;
	--flaeche-2: #f2f9f9;
	--text: #222;
	--grau: #555;
	--rot: #c2410c;
	--schimmer: 0 0 12px rgba(12, 162, 165, .4);
	--breite: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dunkel); }
a:hover { color: var(--petrol); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0 0 1em; padding-left: 1.3em; }
ul:last-child { margin-bottom: 0; }
li { margin-bottom: .3em; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--breite) + 40px); margin: 0 auto; padding: 0 20px; }
.abschnitt { padding: 40px 0; }
.abschnitt--eng { padding: 24px 0; }

/* ---------- Überschriften ---------- */
.titel { font-size: 32px; font-weight: 700; color: var(--teal); text-align: center; }
.einleitung { max-width: 820px; margin: 12px auto 0; font-size: 17px; text-align: center; }
.seitenkopf { padding: 40px 0 8px; }

/* ---------- Hinweis-Box ---------- */
.hinweisbox { width: 100%; max-width: 900px; margin: 0 auto; padding: 20px 24px; border-left: 6px solid var(--hell); border-radius: 16px; background: var(--flaeche); line-height: 1.55; }
.hinweisbox a { font-weight: 700; text-decoration: none; }

/* ---------- Knöpfe ---------- */
.knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 24px; border: 2px solid var(--teal-dunkel); border-radius: 6px; background: var(--teal-dunkel); color: #fff; font: inherit; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.knopf:hover, .knopf:focus-visible { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.knopf--hell { background: #fff; color: var(--petrol); border-color: var(--hell); }
.knopf--hell:hover, .knopf--hell:focus-visible { background: var(--flaeche); border-color: var(--teal); color: var(--petrol); }
.knopf .icon { width: 18px; height: 18px; }

/* ---------- Startseite ---------- */
.start-oben { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 32px; padding-bottom: 28px; }
.foto-gross img { width: 100%; height: 480px; object-fit: cover; border-radius: 8px; }
.willkommen { padding: 44px 0 8px; }
.willkommen .einleitung { margin-top: 16px; }
.kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 56px; }
.kachel { display: block; padding: 14px 14px 18px; border-radius: 12px; background: #fff; box-shadow: var(--schimmer); color: var(--text); text-decoration: none; transition: transform .2s ease; }
.kachel:hover { transform: translateY(-3px); color: var(--text); }
.kachel img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; margin-bottom: 16px; }
.kachel h3 { font-size: 20px; color: var(--teal); margin-bottom: 6px; }
.kachel p { font-size: 15px; line-height: 1.5; }

/* ---------- Blöcke mit Linie (Leistungen, Karriere) ---------- */
.bloecke { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.block { padding-top: 16px; border-top: 3px solid var(--hell); }
.block h3 { font-size: 20px; color: var(--teal); margin-bottom: 8px; }
.block--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.fussnote { margin-top: 28px; font-size: 14px; color: var(--grau); }
.fotos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.fotos img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; }

/* ---------- Wichtiges (Patienteninformation) ---------- */
.wichtig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wichtig-punkt { display: flex; gap: 16px; padding: 22px; border-radius: 12px; background: var(--flaeche); }
.wichtig-punkt .rund { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--teal-dunkel); color: #fff; }
.wichtig-punkt h3 { font-size: 19px; color: var(--petrol); margin-bottom: 6px; }
.wichtig-punkt p { line-height: 1.55; }
.wichtig-punkt a { color: var(--text); text-decoration: none; }

/* ---------- Aufklapper ---------- */
.aufklapper details { border: 2px solid var(--teal); background: #fff; }
.aufklapper details + details { border-top: 0; }
.aufklapper summary { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--flaeche); color: var(--petrol); font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.aufklapper summary::-webkit-details-marker { display: none; }
.aufklapper summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 18px; font-size: 26px; font-weight: 700; line-height: 1; color: var(--teal-dunkel); }
.aufklapper details[open] summary::before { content: "–"; }
.aufklapper details[open] summary { color: var(--teal-dunkel); border-bottom: 2px solid var(--teal); }
.aufklapper summary:hover { color: var(--teal-dunkel); }
.aufklapper .inhalt { padding: 20px 24px; }

/* ---------- Listen mit Symbolen ---------- */
.symbolliste { list-style: none; margin: 0; padding: 0; }
.symbolliste li { margin: 0 0 12px; }
.symbolliste a, .symbolliste span { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--text); text-decoration: none; }
.symbolliste a:hover { color: var(--teal-dunkel); }
.symbolliste .icon { margin-top: 3px; color: var(--teal-dunkel); }

/* ---------- Karten ---------- */
.box { padding: 28px; border-radius: 12px; background: #fff; box-shadow: var(--schimmer); }
.box h2 { font-size: 26px; font-weight: 700; color: var(--teal); margin-bottom: 14px; }
.buchung { padding: 12px; }
.buchung iframe { display: block; width: 100%; height: 650px; border: 0; }
.mitte { text-align: center; }
.stapel { display: flex; flex-direction: column; gap: 20px; }
.stapel > .phi-status { align-self: center; }

/* ---------- Team ---------- */
.aerzte { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px; }
.arzt { width: calc((100% - 56px) / 3); overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--schimmer); }
.arzt > img { width: 100%; height: 320px; object-fit: cover; object-position: top center; }
.arzt--mitte > img { object-position: center center; }
.arzt-text { padding: 20px 22px 22px; }
.arzt h3 { font-size: 21px; color: var(--teal); margin-bottom: 8px; }
.arzt p { font-size: 15px; line-height: 1.55; margin-bottom: 12px; }
.arzt .aufklapper summary { padding: 12px 16px; font-size: 16px; }
.arzt .aufklapper .inhalt { padding: 14px 16px; font-size: 15px; }
.arzt .aufklapper details { border-width: 0 0 2px; }
.praxisteam { padding: 32px 0 56px; }
.praxisteam .foto-gross { margin-top: 28px; }
.praxisteam .foto-gross img { height: 460px; }
.team-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.team-karte { padding: 14px 14px 18px; border-radius: 12px; background: #fff; box-shadow: var(--schimmer); }
.team-karte img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; margin-bottom: 14px; }
.team-karte--oben img { object-position: top center; }
.team-karte h3 { font-size: 19px; color: var(--teal); margin-bottom: 6px; }
.team-karte p { font-size: 15px; }

/* ---------- Karriere ---------- */
.lehrpraxis { display: flex; align-items: center; justify-content: center; gap: 28px; }
.lehrpraxis img { width: 150px; border-radius: 4px; box-shadow: 0 0 10px rgba(12, 162, 165, .35); }
.lehrpraxis div { max-width: 420px; }
.lehrpraxis h3 { font-size: 20px; color: var(--teal); margin-bottom: 6px; }

/* ---------- Impressum ---------- */
.rechtstext { max-width: 820px; margin: 0 auto; padding: 24px 0 56px; }
.rechtstext h2 { font-size: 20px; color: var(--teal); margin: 28px 0 8px; }

/* =================================================== Kopfzeile */
.kopf { position: relative; z-index: 20; background: #fff; }
.kopf-innen { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 14px 40px 18px; }
.logo img { width: 250px; }
.logo-mobil, .burger { display: none; }
.nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.nav--rechts ul { justify-content: flex-end; }
.nav li { position: relative; margin: 0; }
.nav a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; color: var(--text); font-weight: 500; text-decoration: none; transition: color .2s ease; }
.nav a:hover, .nav a:focus-visible, .nav a[aria-current="page"], .nav .aktiv > a { color: var(--teal); }
.nav .hat-unter > a::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.nav .unter { position: absolute; top: 100%; left: -16px; z-index: 50; display: block; min-width: 250px; padding: 8px 0; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px -12px rgba(4, 84, 101, .35), 0 0 0 1px rgba(12, 162, 165, .15); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.nav--rechts .unter { left: auto; right: -16px; }
.nav li:hover > .unter, .nav li:focus-within > .unter { opacity: 1; visibility: visible; transform: none; }
.nav .unter a { display: block; padding: 9px 18px; font-size: 15px; }

.logo-mobil { align-items: center; gap: 8px; text-decoration: none; }
.logo-mobil img { width: auto; height: 52px; }
.logo-text { display: flex; flex-direction: column; align-items: center; line-height: 1; font-weight: 900; }
.logo-text span:first-child { font-size: 11.5px; letter-spacing: .01em; color: var(--petrol); }
.logo-text em { font-style: normal; color: var(--teal); }
.logo-text span:last-child { margin-top: 2px; font-size: 21px; letter-spacing: .04em; color: var(--petrol); }

.burger { align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 10px; background: var(--flaeche); color: var(--petrol); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.burger-striche { position: relative; width: 20px; height: 14px; }
.burger-striche::before, .burger-striche::after, .burger-striche span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease, top .2s ease; }
.burger-striche::before { top: 0; }
.burger-striche span { top: 6px; }
.burger-striche::after { top: 12px; }
.burger[aria-expanded="true"] .burger-striche::before { top: 6px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger-striche::after { top: 6px; transform: rotate(-45deg); }
.burger[aria-expanded="true"] .burger-striche span { opacity: 0; }

.menu-mobil { position: fixed; left: 0; right: 0; top: var(--menu-oben, 72px); bottom: 0; z-index: 95; overflow-y: auto; padding: 8px 20px 100px; background: #fff; box-shadow: 0 12px 24px -12px rgba(4, 84, 101, .4); }
.menu-mobil[hidden] { display: none; }
.menu-mobil ul { list-style: none; margin: 0; padding: 0; }
.menu-mobil li { margin: 0; }
.menu-mobil a { display: flex; padding: 14px 4px; border-bottom: 1px solid rgba(12, 162, 165, .18); color: var(--petrol); font-size: 19px; font-weight: 700; text-decoration: none; }
.menu-mobil a[aria-current="page"] { color: var(--teal); }
.menu-mobil .unter { padding-left: 16px; }
.menu-mobil .unter a { padding: 12px 4px; font-size: 16px; font-weight: 500; color: var(--text); }
.menu-mobil-fuss { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 20px; }
.menu-mobil-fuss .knopf { width: 100%; }
body.menu-offen { overflow: hidden; }

/* ---------- Hinweis-Leiste (Urlaub) ---------- */
.hinweis { background: var(--teal-dunkel); color: #fff; }
.hinweis[hidden] { display: none; }
.hinweis-inhalt { display: flex; align-items: flex-start; justify-content: center; gap: 10px; max-width: var(--breite); margin: 0 auto; padding: 10px 20px; font-size: 15px; line-height: 1.5; }
.hinweis-inhalt .icon { margin-top: 1px; }
.hinweis a { color: #fff; }

/* =================================================== Öffnungszeiten & Kontakt */
.infos { padding: 48px 0; background: var(--flaeche-2); }
.infos-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }

.phi-status { display: inline-flex; align-items: center; flex-wrap: wrap; line-height: 1.4; }
.phi-punkt { width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--rot); flex-shrink: 0; }
.phi-status.is-offen .phi-punkt { background: var(--teal); animation: puls 2.4s ease-out infinite; }
.phi-status-kopf { color: var(--petrol); font-weight: 700; }
.phi-status-text { color: #4a5f63; }
.phi-status-text:not(:empty)::before { content: "\00a0· "; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(12, 162, 165, .5); } 70% { box-shadow: 0 0 0 8px rgba(12, 162, 165, 0); } 100% { box-shadow: 0 0 0 0 rgba(12, 162, 165, 0); } }

.phi-zeiten-status { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; background: var(--flaeche-2); }
.phi-zeiten-status .phi-status { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; }
.phi-zeiten-status .phi-punkt { margin-right: 0; }
.phi-zeiten-status .phi-status-text { grid-column: 2; }
.phi-zeiten-status .phi-status-text::before { content: none; }
.phi-tabelle { width: 100%; border-collapse: separate; border-spacing: 0; }
.phi-tabelle th, .phi-tabelle td { padding: 10px 14px; font-size: 16px; line-height: 1.4; vertical-align: middle; }
.phi-tabelle th { text-align: left; font-weight: 500; border-radius: 8px 0 0 8px; }
.phi-tabelle td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; border-radius: 0 8px 8px 0; }
.phi-tabelle tbody > tr:nth-child(odd) > * { background: var(--flaeche-2); }
.phi-heute { display: none; margin-left: 8px; padding: 2px 7px; border-radius: 99px; background: var(--teal-dunkel); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; vertical-align: 2px; }
.phi-tabelle tbody > tr.is-heute > * { background: #cfeaea; color: var(--petrol); font-weight: 700; }
.phi-tabelle tr.is-heute th { box-shadow: inset 4px 0 0 var(--teal); }
.phi-tabelle tr.is-heute .phi-heute { display: inline-block; }
.phi-labor { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--flaeche-2); color: var(--petrol); }
.phi-zeiten-hinweis { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--grau); }

.kontakt { list-style: none; margin: 0 0 16px; padding: 0; }
.kontakt li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; margin: 0; }
.kontakt .icon { color: var(--teal-dunkel); margin-top: 2px; }
.kontakt a { color: var(--text); text-decoration: none; }
.kontakt a:hover { color: var(--teal-dunkel); text-decoration: underline; }
.kontakt a[href^="tel:"] { color: var(--petrol); font-weight: 700; }
.messenger { margin-bottom: 16px; }

.karte { position: relative; min-height: 250px; overflow: hidden; border-radius: 12px; background: var(--flaeche-2); box-shadow: 0 0 10px rgba(12, 162, 165, .35); }
.karte iframe { display: block; width: 100%; height: 250px; border: 0; }
.karte-platzhalter { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 250px; padding: 20px; text-align: center; background-color: var(--flaeche-2); background-image: linear-gradient(rgba(12, 162, 165, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(12, 162, 165, .07) 1px, transparent 1px); background-size: 28px 28px; }
.karte-platzhalter > .icon { width: 34px; height: 34px; color: var(--teal-dunkel); }
.karte-platzhalter p { margin: 0; }
.karte-platzhalter strong { color: var(--petrol); }
.karte-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.karte-knoepfe .knopf { min-height: 44px; padding: 10px 18px; font-size: 15px; font-weight: 700; }
.karte-info { max-width: 380px; font-size: 13px; line-height: 1.45; color: var(--grau); }

/* ---------- Fuß ---------- */
.fuss { background: var(--petrol); color: #fff; font-size: 14px; }
.fuss-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 8px; padding-top: 16px; padding-bottom: 16px; }
.fuss p { margin: 0; }
.fuss p:nth-child(2) { text-align: center; }
.fuss p:nth-child(3) { text-align: right; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; color: #fff; }

/* ---------- Handy-Leiste ---------- */
.leiste { display: none; }

/* ---------- Linien-Hintergrund ---------- */
.plexus { position: relative; isolation: isolate; }
.plexus > canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

/* =================================================== Tablet */
@media (max-width: 1024px) {
	.kopf-innen { display: flex; justify-content: space-between; padding: 10px 16px; }
	.nav--links, .nav--rechts, .logo { display: none; }
	.logo-mobil, .burger { display: inline-flex; }
	.kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bloecke { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wichtig { grid-template-columns: 1fr; }
	.arzt { width: calc((100% - 28px) / 2); }
	.block--zwei { grid-template-columns: 1fr; }
}

/* =================================================== Handy */
@media (max-width: 767px) {
	.wrap { padding: 0 16px; }
	.titel { font-size: 26px; }
	.einleitung { font-size: 16px; }
	.seitenkopf { padding: 28px 0 4px; }
	.abschnitt { padding: 28px 0; }
	.hinweisbox { padding: 16px 18px; }
	.start-oben { padding-top: 20px; padding-bottom: 20px; gap: 16px; }
	.knoepfe { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; }
	.foto-gross img, .praxisteam .foto-gross img { height: 230px; }
	.willkommen { padding: 32px 0 4px; }
	.kacheln { gap: 12px; padding-top: 24px; padding-bottom: 36px; }
	.kachel { padding: 10px 10px 12px; }
	.kachel img { margin-bottom: 10px; }
	.kachel h3 { font-size: 16px; hyphens: auto; }
	.kachel p { font-size: 13px; }
	.bloecke, .team-karten { grid-template-columns: 1fr; gap: 24px; }
	.block h3 { font-size: 19px; }
	.fotos { display: none; }
	.wichtig-punkt { padding: 18px; }
	.buchung { padding: 6px; }
	.arzt { width: 100%; }
	.arzt > img { height: 300px; }
	.lehrpraxis { flex-direction: column; align-items: flex-start; }
	.box { padding: 22px 20px; }
	.box h2 { font-size: 24px; }
	.infos { padding: 32px 0; }
	.infos-raster { grid-template-columns: 1fr; gap: 20px; }
	.fuss-raster { grid-template-columns: 1fr; text-align: center; padding-top: 18px; padding-bottom: 18px; }
	.fuss p:nth-child(n) { text-align: center; }

	.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid rgba(12, 162, 165, .25); box-shadow: 0 -6px 18px -12px rgba(4, 84, 101, .45); }
	.leiste a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 10px; color: var(--petrol); font-size: 12px; font-weight: 700; text-decoration: none; }
	.leiste a:active { background: var(--flaeche); }
	.leiste .icon { width: 22px; height: 22px; color: var(--teal-dunkel); }
	.leiste a.haupt .icon { box-sizing: content-box; width: 18px; height: 18px; padding: 6px; border-radius: 50%; background: var(--teal-dunkel); color: #fff; }
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}

@media (max-width: 420px) {
	.phi-tabelle th, .phi-tabelle td { padding: 10px; font-size: 15px; }
	.phi-heute { margin-left: 6px; padding: 1px 6px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
	.kopf, .leiste, .karte, .messenger, .fuss { display: none; }
	body { padding: 0; }
}

/* ---------- Sprunglink ---------- */
.springen { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 6px; background: var(--petrol); color: #fff; text-decoration: none; }
.springen:focus { top: 12px; color: #fff; }

/* ---------- Eingebettete Anbieter ---------- */
medflex-widget { display: block; max-width: 100%; margin: 0 auto; }
medflex-widget iframe, .mitte iframe { max-width: 100%; }

/* ---------- Startseite: Foto mit Aktionskarten ---------- */
.foto-start { padding-top: 28px; }
.aktionen { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: -72px; padding-left: 60px; padding-right: 60px; }
.aktion { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border: 1px solid rgba(12, 162, 165, .22); border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -22px rgba(4, 84, 101, .45); color: var(--text); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.aktion:hover { transform: translateY(-3px); color: var(--text); box-shadow: 0 0 0 1px rgba(12, 162, 165, .35), 0 22px 44px -22px rgba(4, 84, 101, .5); }
.quadrat { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(12, 162, 165, .12); color: var(--teal-dunkel); }
.quadrat .icon { width: 24px; height: 24px; }
.aktion-titel { font-size: 20px; line-height: 1.3; color: var(--petrol); }
.aktion-text { font-size: 15px; line-height: 1.5; color: #3e5a60; }
.weiter { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-size: 15px; font-weight: 700; color: var(--teal-dunkel); }
.weiter .icon { width: 17px; height: 17px; }
.aktion--dunkel { border-color: var(--petrol); background: var(--petrol); color: #fff; }
.aktion--dunkel:hover { color: #fff; }
.aktion--dunkel .quadrat { background: rgba(255, 255, 255, .14); color: #fff; }
.aktion--dunkel .aktion-titel { color: #fff; }
.aktion-nummer { font-size: 25px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.aktion--dunkel .aktion-text { color: #d5eeef; }
.aktion--dunkel .weiter { color: #fff; }
.aktion--dunkel .phi-status { font-size: 14px; }
.aktion--dunkel .phi-status-kopf { color: #fff; }
.aktion--dunkel .phi-status-text { color: #d5eeef; }
.aktion--dunkel .phi-punkt { background: #f4a27c; }
.aktion--dunkel .phi-status.is-offen .phi-punkt { background: #7fe0e3; }

/* ---------- Startseite: Bitte beachten ---------- */
.beachten-bereich { padding-top: 40px; }
.beachten { padding: 28px 32px; border-left: 6px solid var(--hell); border-radius: 16px; background: var(--flaeche); }
.beachten h2 { font-size: 26px; color: var(--teal-dunkel); margin-bottom: 18px; }
.beachten-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; list-style: none; margin: 0; padding: 0; }
.beachten-liste li { display: flex; align-items: flex-start; gap: 14px; margin: 0; line-height: 1.5; }
.beachten-liste strong { display: block; color: var(--petrol); font-size: 17px; margin-bottom: 2px; }
.beachten-liste .rund { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-dunkel); color: #fff; }
.beachten-liste .rund .icon { width: 19px; height: 19px; }
.beachten-liste a { font-weight: 700; }

/* ---------- Kontakt: Messenger und Hinweis ---------- */
.messenger { margin: 0 0 12px; }
.messenger .knopf { font-weight: 700; }
.kontakt-hinweis { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 18px; padding: 12px 14px; border-radius: 10px; background: var(--flaeche); font-size: 14px; line-height: 1.5; }
.kontakt-hinweis .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--petrol); }
.kontakt-hinweis strong { color: var(--petrol); }

/* ---------- Gezeichnete Karte ---------- */
.karte { height: 300px; min-height: 0; }
.karte-bild { position: absolute; inset: 0; width: 100%; height: 100%; }
.karte iframe { height: 100%; }
.karte-leiste { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 14px 10px; background: rgba(255, 255, 255, .94); border-top: 1px solid rgba(12, 162, 165, .2); text-align: center; }
.karte-leiste p { margin: 0; }
.karte-knoepfe .knopf .icon { width: 16px; height: 16px; }

@media (max-width: 1024px) {
	.aktionen { padding-left: 20px; padding-right: 20px; margin-top: -48px; }
	.aktion { padding: 20px; }
	.aktion-nummer { font-size: 21px; }
	.beachten-liste { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
	.aktionen { grid-template-columns: 1fr; margin-top: 16px; }
}
@media (max-width: 767px) {
	.foto-start { padding-top: 16px; }
	.aktionen { gap: 12px; padding-left: 16px; padding-right: 16px; }
	.aktion { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 16px; }
	.aktion .quadrat { width: 44px; height: 44px; }
	.aktion-titel { flex: 1; font-size: 17px; }
	.aktion-nummer { font-size: 20px; }
	.aktion-text, .aktion [data-praxis-status] { flex-basis: 100%; font-size: 14px; }
	.aktion .weiter { display: none; }
	.beachten-bereich { padding-top: 28px; }
	.beachten { padding: 20px 18px; }
	.beachten h2 { font-size: 22px; }
	.karte { height: 280px; }
}
@media (max-width: 767px) {
	.karte { height: 300px; }
	.karte-knoepfe { flex-wrap: nowrap; gap: 8px; }
	.karte-knoepfe .knopf { padding: 10px 12px; font-size: 14px; }
	.karte-info { font-size: 12px; }
}
.wichtig-punkt a[href^="http"] { color: var(--teal-dunkel); font-weight: 700; text-decoration: underline; }
