/* =========================================================
   Praxis Dr. Ferchland - Demo-Theme
   Farbwelt: ruhiges Medizin-Petrol + Weiß + warme Akzente
   ========================================================= */

:root {
	--brand: #0f7d88;
	--brand-deep: #0a5b63;
	--brand-700: #0c6970;
	--brand-soft: #e7f3f4;
	--brand-soft-2: #f1f8f9;
	--accent: #f2a13c;
	--accent-deep: #d9852a;
	--ink: #1d2b2d;
	--muted: #5b6d6f;
	--line: #e0ecec;
	--bg: #ffffff;
	--bg-soft: #f4f9f9;
	--ok: #1f9d57;
	--shadow: 0 18px 40px -22px rgba(15, 80, 86, 0.35);
	--shadow-sm: 0 8px 22px -16px rgba(15, 80, 86, 0.4);
	--radius: 18px;
	--radius-lg: 26px;
	--maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
	margin: 0;
	font-family: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--ink);
	background: var(--bg);
	line-height: 1.65;
	font-size: 18px;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: 'Poppins', system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.18;
	color: var(--brand-deep);
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 22px;
}

.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.section-soft { background: var(--bg-soft); }
.section-brand { background: linear-gradient(160deg, var(--brand-soft) 0%, var(--brand-soft-2) 100%); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: .82rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: 14px;
}
.eyebrow::before {
	content: "";
	width: 26px; height: 2px;
	background: var(--accent);
	border-radius: 2px;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	padding: 15px 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
	white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-700); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #3a2606; box-shadow: 0 10px 24px -14px rgba(217,133,42,.9); }
.btn-accent:hover { background: var(--accent-deep); color:#fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--brand-deep); transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--brand-deep); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-sm { padding: 11px 20px; font-size: .94rem; }

/* ---------- Top utility bar ---------- */
.topbar {
	background: var(--brand-deep);
	color: #d9ecee;
	font-size: .92rem;
}
.topbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 42px;
	flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar .tb-items { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.topbar .tb-items span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 16px; height: 16px; opacity: .85; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 74px;
	gap: 20px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
	width: 46px; height: 46px;
	border-radius: 14px;
	background: linear-gradient(150deg, var(--brand) 0%, var(--brand-deep) 100%);
	display: grid; place-items: center;
	box-shadow: var(--shadow-sm);
	flex: 0 0 auto;
}
.brand-mark svg { width: 26px; height: 26px; color: #fff; }
.brand-text strong {
	display: block;
	font-family: 'Poppins', sans-serif;
	font-weight: 700;
	font-size: 1.06rem;
	color: var(--brand-deep);
	line-height: 1.1;
}
.brand-text span { font-size: .82rem; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
	color: var(--ink);
	font-weight: 600;
	font-size: .98rem;
	padding: 9px 14px;
	border-radius: 10px;
	transition: background .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
	display: none;
	width: 46px; height: 46px;
	border: 1px solid var(--line);
	background: #fff;
	border-radius: 12px;
	cursor: pointer;
	align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; color: var(--brand-deep); }

/* ---------- Notice banner ---------- */
.notice {
	background: #fff6e8;
	border-bottom: 1px solid #f3e2c4;
	color: #7a5418;
}
.notice .container {
	display: flex; align-items: center; gap: 14px;
	padding-top: 12px; padding-bottom: 12px;
	font-size: .98rem;
}
.notice svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--accent-deep); }
.notice strong { color: #5e3f12; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(115deg, rgba(10,75,82,.92) 0%, rgba(13,100,108,.82) 45%, rgba(15,125,136,.55) 100%);
}
.hero-inner {
	position: relative; z-index: 1;
	padding: 96px 0 104px;
	max-width: 680px;
}
.hero h1 {
	color: #fff;
	font-size: clamp(2.2rem, 4.6vw, 3.4rem);
	margin-bottom: 18px;
}
.hero p.lead { font-size: 1.2rem; color: #e4f4f5; margin-bottom: 30px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-badges span { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: #eaf6f7; font-size: .98rem; }
.hero-badges svg { width: 20px; height: 20px; color: #8fe0c6; }

/* ---------- Quick-ways cards ---------- */
.ways {
	position: relative;
	z-index: 2;
	margin-top: -56px;
}
.ways-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.way-card {
	background: #fff;
	border-radius: var(--radius-lg);
	padding: 30px 28px;
	box-shadow: var(--shadow);
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
}
.way-card .way-ico {
	width: 54px; height: 54px;
	border-radius: 15px;
	background: var(--brand-soft);
	color: var(--brand);
	display: grid; place-items: center;
	margin-bottom: 18px;
}
.way-card.featured { background: linear-gradient(165deg, var(--brand) 0%, var(--brand-deep) 100%); border: none; color: #fff; }
.way-card.featured h3 { color: #fff; }
.way-card.featured .way-ico { background: rgba(255,255,255,.16); color: #fff; }
.way-card.featured p { color: #dcf0f1; }
.way-card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.way-card p { color: var(--muted); font-size: 1rem; flex-grow: 1; }
.way-card .way-meta { font-weight: 700; color: var(--brand-deep); margin-bottom: 14px; font-family: 'Poppins', sans-serif; }
.way-card.featured .way-meta { color: #bfeede; }
.way-card .btn { margin-top: 16px; width: 100%; }

/* ---------- Split feature (Videosprechstunde) ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.split .media { position: relative; }
.split .media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split .media .media-tag {
	position: absolute; left: 22px; bottom: 22px;
	background: #fff; border-radius: 14px; padding: 12px 18px;
	box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 12px;
}
.split .media .media-tag svg { width: 28px; height: 28px; color: var(--brand); }
.split .media .media-tag strong { font-family:'Poppins',sans-serif; color: var(--brand-deep); display:block; }
.split .media .media-tag small { color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--ok); flex: 0 0 auto; margin-top: 3px; }
.check-list b { color: var(--brand-deep); }

.fineprint {
	background: var(--brand-soft-2);
	border-left: 3px solid var(--brand);
	border-radius: 0 12px 12px 0;
	padding: 14px 18px;
	font-size: .94rem;
	color: var(--muted);
	margin-bottom: 0;
}

/* ---------- Leistungen grid ---------- */
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.serv-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px;
	transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.serv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.serv-card .s-ico {
	width: 50px; height: 50px;
	border-radius: 14px;
	background: var(--brand-soft);
	color: var(--brand);
	display: grid; place-items: center;
	margin-bottom: 16px;
}
.serv-card .s-ico svg { width: 26px; height: 26px; }
.serv-card h3 { font-size: 1.16rem; margin-bottom: 6px; }
.serv-card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- Sprechzeiten ---------- */
.hours-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; background:#fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours-table th, .hours-table td { text-align: left; padding: 15px 22px; border-bottom: 1px solid var(--line); }
.hours-table th { font-family:'Poppins',sans-serif; color: var(--brand-deep); font-weight: 600; width: 38%; }
.hours-table tr:last-child td, .hours-table tr:last-child th { border-bottom: none; }
.hours-table .closed { color: var(--muted); }
.hours-note { margin-top: 18px; color: var(--muted); font-size: .96rem; }
.hours-note strong { color: var(--brand-deep); }

.info-card {
	background: linear-gradient(165deg, var(--brand) 0%, var(--brand-deep) 100%);
	color: #fff;
	border-radius: var(--radius-lg);
	padding: 32px 30px;
	box-shadow: var(--shadow);
}
.info-card h3 { color: #fff; font-size: 1.35rem; }
.info-card p { color: #dcf0f1; }
.info-card .ic-row { display: flex; gap: 13px; align-items: flex-start; margin-top: 18px; }
.info-card .ic-row svg { width: 22px; height: 22px; color: #8fe0c6; flex: 0 0 auto; margin-top: 3px; }
.info-card .ic-row b { display:block; }
.info-card .ic-row span { color: #cfeaec; font-size: .96rem; }
.info-card a.big-phone { display:inline-flex; align-items:center; gap:10px; color:#fff; font-family:'Poppins',sans-serif; font-weight:700; font-size:1.4rem; margin-top: 8px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .18s ease, box-shadow .2s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card .photo { aspect-ratio: 4/4.3; overflow: hidden; background: var(--brand-soft); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .info { padding: 22px 24px 26px; }
.team-card .info h3 { font-size: 1.22rem; margin-bottom: 2px; }
.team-card .role { color: var(--brand); font-weight: 700; font-size: .95rem; margin-bottom: 10px; }
.team-card .info p { color: var(--muted); font-size: .97rem; margin: 0; }
.team-card.is-note { background: var(--brand-soft-2); display:flex; flex-direction:column; justify-content:center; padding: 34px; border-style: dashed; }
.team-card.is-note h3 { color: var(--brand-deep); }

/* ---------- Anfahrt ---------- */
.geo-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.geo-text p { color: var(--muted); }
.geo-list { list-style:none; padding:0; margin: 22px 0 0; display:grid; gap: 16px; }
.geo-list li { display:flex; gap:14px; align-items:flex-start; }
.geo-list .g-ico { width:44px; height:44px; border-radius:12px; background:var(--brand-soft); color:var(--brand); display:grid; place-items:center; flex:0 0 auto; }
.geo-list .g-ico svg { width:22px; height:22px; }
.geo-list b { display:block; color: var(--brand-deep); font-family:'Poppins',sans-serif; }
.geo-list span { color: var(--muted); font-size: .97rem; }
.geo-map { border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow); min-height: 360px; border:1px solid var(--line); }
.geo-map iframe { width:100%; height:100%; min-height:360px; border:0; display:block; filter: saturate(.92); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand-deep), var(--brand-700)); color:#fff; }
.cta-band .container { display:flex; align-items:center; justify-content:space-between; gap: 32px; flex-wrap: wrap; padding: 56px 22px; }
.cta-band h2 { color:#fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.cta-band p { color:#d6eef0; margin: 0; }
.cta-band .actions { display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #0a3f45; color: #b8d6d9; padding: 60px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color:#fff; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer a { color:#cfe6e8; }
.site-footer a:hover { color:#fff; }
.footer-brand .brand-text strong { color:#fff; }
.footer-brand .brand-text span { color:#9fc4c7; }
.footer-brand p { color:#9fc4c7; margin-top: 16px; font-size:.97rem; }
.foot-list { list-style:none; padding:0; margin:0; display:grid; gap:10px; font-size:.98rem; }
.foot-list li { display:flex; gap:10px; align-items:flex-start; }
.foot-list svg { width:18px; height:18px; margin-top:4px; color:#6fb3b8; flex:0 0 auto; }
.footer-bottom {
	margin-top: 44px; padding-top: 22px;
	border-top: 1px solid rgba(255,255,255,.12);
	display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
	font-size:.9rem; color:#8fb6b9;
}
.footer-bottom nav { display:flex; gap:18px; flex-wrap:wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.split, .hours-wrap, .geo-wrap { grid-template-columns: 1fr; gap: 34px; }
	.ways-grid, .serv-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.main-nav, .header-cta .btn { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-header.nav-open .main-nav {
		display: flex;
		position: absolute;
		top: 74px; left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		background: #fff;
		padding: 14px 22px 22px;
		gap: 4px;
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
	}
	.site-header.nav-open .main-nav a { padding: 13px 12px; border-radius: 10px; }
}
@media (max-width: 640px) {
	body { font-size: 17px; }
	.section { padding: 60px 0; }
	.ways-grid, .serv-grid, .team-grid, .footer-grid { grid-template-columns: 1fr; }
	.ways { margin-top: -34px; }
	.topbar .tb-left { display:none; }
	.hero-inner { padding: 70px 0 84px; }
	.cta-band .container { flex-direction: column; align-items: flex-start; }
}
