/* ==========================================================================
   Praxis Dr. Jutta Buchholz – Theme-Styles
   Farben, Schrift und Maße aus dem Design-System des Entwurfs.
   ========================================================================== */

/* Poppins, lokal eingebunden ------------------------------------------------ */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-300-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url('../fonts/poppins-300-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/poppins-400-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/poppins-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Tokens -------------------------------------------------------------------- */
:root {
	--font-sans: "Poppins", Arial, Helvetica, sans-serif;

	--wine-900: #3f171b;
	--wine-800: #572226;
	--wine-700: #742f34;
	--rose-500: #b75454;
	--rose-200: #eecaca;
	--rose-100: #f9ebe9;
	--bone-50: #fbfaf7;
	--bone-100: #f4f2eb;
	--bone-200: #eae8de;
	--bone-300: #d8d5c7;
	--ink-900: #212529;
	--ink-700: #494f54;
	--ink-500: #6d7378;
	--white: #ffffff;

	--shadow-md: 0 4px 18px rgba(116, 47, 52, .10);
	--ease: cubic-bezier(.2, .6, .2, 1);
	--dur: 180ms;

	--wrap: 1240px;
	--pad-x: clamp(20px, 4vw, 56px);
	--tap-min: 44px;
}
@media (prefers-reduced-motion: reduce) {
	:root { --dur: 0ms; }
}

/* Grundlagen ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 18px;
	line-height: 1.72;
	letter-spacing: .015em;
	color: var(--ink-900);
	background: var(--bone-50);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 16px; }
h1 { font-size: 48px; color: var(--ink-900); }
h2 { font-size: 28px; color: var(--ink-900); }
h3 { font-size: 24px; color: var(--rose-500); }
h4, h5, h6 { font-size: 20px; color: var(--rose-500); }
p { margin: 0 0 20px; text-wrap: pretty; }
a { color: var(--wine-700); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur) var(--ease); }
a:hover { color: var(--rose-500); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rose-500); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.pdb-icon { flex: 0 0 auto; display: block; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	padding: 10px 16px; border-radius: 8px;
	background: var(--wine-700); color: var(--white); text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Kopfzeile ----------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 40;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--bone-200);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__bar {
	max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x);
	height: 88px; display: flex; align-items: center; gap: 36px;
}

.brand { display: flex; align-items: center; gap: 14px; line-height: 0; text-decoration: none; flex: 0 0 auto; }
.brand__mark { height: 44px; width: auto; display: block; }
/* Schriftzug als echter Text (statt Bild), damit der Name überall gleich und änderbar ist */
.brand__type {
	display: flex; flex-direction: column; gap: 1px;
	font-weight: 700; text-transform: uppercase; white-space: nowrap;
	color: var(--wine-700);
}
.brand__name { font-size: 19px; line-height: 1.1; letter-spacing: .01em; }
.brand__sub { font-size: 14px; line-height: 1.15; letter-spacing: .035em; }
.brand--footer .brand__type { color: var(--white); }

.nav-main { margin-left: auto; }
.nav-main__list { display: flex; gap: 30px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-main__list li { margin: 0; }
.nav-main__list a {
	font-size: 16px; font-weight: 500; line-height: 1.4; text-transform: uppercase;
	color: var(--ink-700); text-decoration: none;
}
.nav-main__list a:hover,
.nav-main__list .current-menu-item > a,
.nav-main__list .current-page-ancestor > a { color: var(--wine-700); }

.burger {
	display: none; margin-left: auto;
	width: var(--tap-min); height: var(--tap-min); padding: 0;
	place-items: center;
	border: 1px solid var(--bone-200); border-radius: 50%;
	background: var(--white); color: var(--wine-700); cursor: pointer;
}
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

.nav-mobile { padding: 4px 20px 16px; border-top: 1px solid var(--bone-200); background: var(--white); }
.nav-mobile[hidden] { display: none; }
.nav-mobile__list { list-style: none; margin: 0; padding: 0; }
.nav-mobile__list li { margin: 0; border-bottom: 1px solid var(--bone-200); }
.nav-mobile__list li:last-child { border-bottom: 0; }
.nav-mobile__list a {
	display: flex; align-items: center; min-height: 52px;
	font-size: 16px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
	color: var(--ink-900); text-decoration: none;
}
.nav-mobile__list .current-menu-item > a { color: var(--wine-700); }

@media (min-width: 901px) {
	.nav-mobile { display: none !important; }
}
@media (max-width: 900px) {
	.site-header__bar { height: 72px; gap: 12px; }
	.brand__mark { height: 38px; }
	.brand__name { font-size: 15px; }
	.brand__sub { font-size: 11px; }
	.nav-main { display: none; }
	.burger { display: grid; }
}

/* Online-Rezeption (TerMed): fester Button unten rechts --------------------- */
.pdb-termed-btn {
	position: fixed; z-index: 60;
	right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom));
	display: inline-flex; align-items: center; gap: 12px;
	min-height: 58px; padding: 10px 26px 10px 20px;
	border: 0; border-radius: 999px;
	background: var(--wine-700); color: var(--white);
	font: inherit; text-align: left; cursor: pointer;
	box-shadow: 0 14px 32px -12px rgba(63, 23, 27, .6), 0 2px 6px rgba(63, 23, 27, .18);
	transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pdb-termed-btn:hover {
	background: var(--wine-800); transform: translateY(-2px);
	box-shadow: 0 18px 36px -12px rgba(63, 23, 27, .65), 0 3px 8px rgba(63, 23, 27, .2);
}
.pdb-termed-btn:focus-visible { outline: 3px solid var(--rose-200); outline-offset: 3px; }
.pdb-termed-btn .pdb-icon { flex: none; color: var(--rose-200); }
.pdb-termed-btn__text { display: flex; flex-direction: column; gap: 1px; }
.pdb-termed-btn__dach {
	font-size: 10.5px; font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase;
	color: var(--rose-200);
}
.pdb-termed-btn__titel {
	font-size: 14px; font-weight: 600; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}

/* Platz unter dem Footer, damit der Button nichts verdeckt */
.site-footer { padding-bottom: 88px; }

@media (max-width: 700px) {
	.pdb-termed-btn {
		right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
		min-height: 52px; padding: 8px 20px 8px 16px; gap: 10px;
	}
	.pdb-termed-btn__titel { font-size: 13px; }
	.site-footer { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
	.pdb-termed-btn { transition: none; }
	.pdb-termed-btn:hover { transform: none; }
}

/* Online-Rezeption (TerMed) im Dialogfenster -------------------------------- */
.pdb-termed {
	width: min(760px, calc(100% - 32px)); max-width: none; max-height: calc(100% - 32px);
	padding: 0; border: 0; border-radius: 16px; overflow: auto;
	background: var(--white); color: var(--ink-900); box-shadow: var(--shadow-md);
}
.pdb-termed::backdrop { background: rgba(33, 37, 41, .55); }
.pdb-termed__kopf {
	position: sticky; top: 0; z-index: 1;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 8px 8px 8px 24px; background: var(--wine-700);
}
.pdb-termed__titel {
	margin: 0; font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase;
	color: var(--white);
}
.pdb-termed__zu {
	display: grid; place-items: center; width: var(--tap-min); height: var(--tap-min);
	padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--white); cursor: pointer;
	transition: background-color var(--dur) var(--ease);
}
.pdb-termed__zu:hover { background: var(--wine-800); }
.pdb-termed__inhalt { padding: 24px; }

@media (max-width: 700px) {
	.pdb-termed { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
	.pdb-termed__inhalt { padding: 16px; }
}

/* Inhalt -------------------------------------------------------------------- */
.site-main { display: block; min-height: 50vh; }
.content { max-width: var(--wrap); margin: 0 auto; padding: clamp(40px, 7vw, 96px) var(--pad-x); }
.entry + .entry { margin-top: 48px; }
.entry__content > .alignwide { max-width: none; }
.entry__content > .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.home .content { padding: 0; max-width: none; }

@media (max-width: 700px) {
	h1 { font-size: 32px; }
	h2 { font-size: 24px; }
	h3 { font-size: 17px; }
	.entry__content p { font-size: 15px; line-height: 1.6; }
}

/* Fußzeile ------------------------------------------------------------------ */
.site-footer { background: var(--wine-700); color: var(--white); }
.site-footer a { text-decoration: none; }

.footer-grid {
	max-width: var(--wrap); margin: 0 auto;
	padding: clamp(36px, 4vw, 52px) var(--pad-x) 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
}
.brand--footer { display: inline-flex; }

.footer-col__title {
	margin: 0 0 16px;
	font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: .12em; text-transform: uppercase;
	color: var(--white);
}
.footer-list { display: flex; flex-direction: column; gap: 10px; }
.footer-link {
	display: flex; align-items: center; gap: 14px;
	font-size: 16px; line-height: 1.6; white-space: nowrap;
	color: var(--white);
}
.footer-link .pdb-icon, .footer-address .pdb-icon { color: var(--rose-200); }
.footer-link:hover span { text-decoration: underline; text-underline-offset: 3px; }

/* Pin-Icon mittig zu Straße + PLZ/Ort */
.footer-address { display: flex; align-items: center; gap: 14px; }
.footer-address p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--white); }

.footer-bottom { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }
.footer-bottom__inner {
	margin-top: clamp(24px, 3vw, 36px);
	border-top: 1px solid rgba(255, 255, 255, .16);
	display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
	padding: 16px 0 20px;
}
.footer-copy { font-size: 15px; color: var(--white); }
.footer-legal__list { display: flex; gap: 32px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-legal__list li { margin: 0; }
.footer-legal__list a { font-size: 15px; color: var(--white); }
.footer-legal__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 700px) {
	.footer-grid { gap: 28px; padding-top: 36px; }
	.footer-col__title { margin-bottom: 4px; font-size: 12px; }
	.footer-list { gap: 0; }
	.footer-link { min-height: 50px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 15px; }
	.footer-address { padding: 14px 0; }
	.footer-address p { font-size: 15px; }
	.footer-bottom__inner { flex-direction: column-reverse; align-items: stretch; gap: 14px; padding-top: 0; }
	.footer-legal { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
	.footer-legal__list { gap: 24px; }
	.footer-legal__list a { font-size: 14px; }
	.footer-copy { font-size: 13px; }
}
