/*
 * Physiotherapie Németh brand layer, loaded after style.css and custom.css.
 * Colours and shapes follow the new logo and business card: charcoal and a
 * clear blue on white, round blue icon badges, sweeping blue arcs.
 */
:root {
	--pn-ink: #212b33;      /* logo charcoal */
	--pn-blue: #0a7ac2;     /* logo blue */
	--pn-blue-dark: #075f98;
	--pn-blue-soft: #7fb6e3; /* card arcs, light */
	--pn-tint: #f2f6fa;     /* section background */
	--pn-text: #56636f;
}

body { color: var(--pn-text); }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 { color: var(--pn-ink); }

h2, .section-title h2 { text-transform: uppercase; letter-spacing: .02em; }

a { color: var(--pn-blue); }
a:hover { color: var(--pn-blue-dark); }

.gray-bg { background: var(--pn-tint); }
.divider { background: var(--pn-blue); border-radius: 3px; }
.check, .icofont-check.check { color: var(--pn-blue); }

/* top bar and navigation */
.header-top-bar { background: var(--pn-ink); }
.top-bar-contact { color: #fff; font-size: 14px; letter-spacing: .02em; }
.top-bar-contact:hover { color: var(--pn-blue-soft); text-decoration: none; }
.top-bar-contact i { color: var(--pn-blue-soft); margin-right: 4px; }
.navbar .brand-logo { height: 52px; width: auto; max-width: 62vw; }
.navigation .nav-link { color: var(--pn-ink); font-weight: 600; }
.navigation .nav-link:hover,
.navigation .nav-item.active .nav-link { color: var(--pn-blue); }

/* buttons */
.btn.btn-primary,
.btn-main {
	background: var(--pn-blue);
	border-color: var(--pn-blue);
	color: #fff;
	border-radius: 30px;
}
.btn.btn-primary:hover,
.btn-main:hover {
	background: #fff;
	border-color: var(--pn-blue);
	color: var(--pn-blue);
}

/* hero: the photo stays, tinted towards the brand charcoal */
.owl-carousel.home-slider .slider-item .overlay {
	background: linear-gradient(90deg, rgba(33, 43, 51, .78) 0%, rgba(33, 43, 51, .45) 55%, rgba(33, 43, 51, .1) 100%);
	opacity: 1;
}
.hero-kicker {
	color: var(--pn-blue-soft);
	text-transform: uppercase;
	letter-spacing: .25em;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 12px;
}
.hero-wrap { position: relative; overflow: hidden; }
/* the card's sweeping arcs, top right of the hero */
.hero-wrap::after {
	content: "";
	position: absolute;
	right: -220px;
	top: -300px;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	border: 14px solid var(--pn-blue);
	box-shadow: 0 0 0 10px rgba(127, 182, 227, .55);
	pointer-events: none;
	z-index: 2;
}

/* feature cards */
.feature-item span { color: var(--pn-blue); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; }
.feature-item h4 { color: var(--pn-ink); }
.main-contact-detail a { color: var(--pn-ink); }
.main-contact-detail a:hover { color: var(--pn-blue); }

/* therapies: round blue badge + uppercase title + light method line, as on the card */
.service .service-item { position: relative; }
.service-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.service-icon {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--pn-blue);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 24px;
	box-shadow: 0 6px 16px rgba(10, 122, 194, .25);
}
.service-icon i { color: #fff; font-size: 24px; margin: 0; }
.service-head h4 {
	margin: 4px 0 2px;
	text-transform: uppercase;
	letter-spacing: .03em;
	font-size: 1.05rem;
	line-height: 1.35;
}
.service-methods { margin: 0; color: #8793a0; font-size: 14px; line-height: 1.4; }
@media screen and (min-width: 992px) {
	.service .service-item { min-height: 250px; }
}

/* contact block */
.appoinment-content .emergency { background: var(--pn-blue); }
.appoinment-content .emergency a { color: #fff; text-decoration: none; }
.title-color { color: var(--pn-ink); }

/* footer */
.footer .footer-logo { max-width: 200px; }
.footer-address { color: var(--pn-ink); margin-bottom: 14px; line-height: 1.6; }
.footer-btm .copyright { color: var(--pn-text); }
.backtop { background: var(--pn-blue); }

/* cookie card */
.cookie-alert .btn-primary { margin-left: 0; }

@media (max-width: 767.98px) {
	.hero-wrap::after { width: 300px; height: 300px; right: -150px; top: -190px; border-width: 9px; box-shadow: 0 0 0 6px rgba(127, 182, 227, .55); }
	.navbar .brand-logo { height: 40px; }
}

/* menu links land below the fixed menu bar, not under it */
section[id], #contact-info { scroll-margin-top: 110px; }
@media (max-width: 991.98px) { section[id], #contact-info { scroll-margin-top: 72px; } }

/* Scrolling on phones: the hero takes vertical swipes only, and the body is
   not a clipping scroll box (overflow: hidden on body made iOS scrolling
   sticky). clip keeps the sideways overflow hidden without that. */
.home-slider, .home-slider .owl-stage-outer { touch-action: pan-y; }
body { overflow: visible; overflow-x: clip; }
html { overflow-x: clip; }

/* references: clubs, same badge language as the therapies */
.references .section-title p { color: var(--pn-text); }
.reference-item {
	display: flex; align-items: flex-start; gap: 16px;
	background: #fff; border: 1px solid #e3eaf1; border-radius: 8px;
	padding: 22px 24px; margin-bottom: 24px; height: calc(100% - 24px);
}
.reference-icon {
	flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
	background: var(--pn-ink); color: #fff; display: grid; place-items: center; font-size: 22px;
}
.reference-icon i { color: #fff; }
.reference-item h4 { margin: 2px 0 4px; font-size: 1.1rem; }
.reference-meta { margin: 0; color: #8793a0; font-size: 14px; line-height: 1.4; }
.reference-role { margin: 6px 0 0; color: var(--pn-blue); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; line-height: 1.4; }

/* therapy sub pages */
.therapy-hero { background: var(--pn-ink); color: #fff; padding: 64px 0 48px; position: relative; overflow: hidden; }
.therapy-hero::after { content: ""; position: absolute; right: -180px; top: -260px; width: 460px; height: 460px; border-radius: 50%;
	border: 12px solid var(--pn-blue); box-shadow: 0 0 0 9px rgba(127, 182, 227, .55); pointer-events: none; }
.therapy-hero h1 { color: #fff; font-size: 2.4rem; margin: 0 0 12px; position: relative; z-index: 1; }
.therapy-lead { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 46rem; margin: 0; position: relative; z-index: 1; }
.therapy-page { padding-top: 56px; }
.therapy-body h2 { font-size: 1.5rem; margin: 32px 0 12px; text-transform: none; letter-spacing: 0; }
.therapy-body h2:first-child { margin-top: 0; }
.therapy-list { list-style: none; padding: 0 !important; margin: 0 0 16px !important; }
.therapy-list li { display: flex; gap: 12px; align-items: baseline; padding: 4px 0 !important; margin: 0 !important; }
.therapy-list li::before { display: none !important; }
.therapy-list li .therapy-tick { flex: 0 0 auto; color: var(--pn-blue); font-size: 14px; position: static; margin: 0 !important; display: inline-block !important; }
.therapy-aside { position: sticky; top: 120px; }
.therapy-cta, .therapy-others { background: var(--pn-tint); border-radius: 8px; padding: 24px; margin-bottom: 24px; }
.therapy-cta .btn { margin-top: 8px; }
.therapy-others li { padding: 3px 0; }
.service-head h4 a { color: inherit; }
.service-head h4 a:hover { color: var(--pn-blue); text-decoration: none; }
@media (max-width: 991.98px) { .therapy-aside { position: static; margin-top: 24px; } .therapy-hero h1 { font-size: 1.8rem; } .therapy-hero::after { display: none; } }
.owl-carousel.home-slider .slider-item .slider-text .hero-kicker { color: var(--pn-blue-soft); }

/* "what matters to me in treatment": same card language as the references */
.values .section-title p { color: var(--pn-text); }
.value-item {
	display: flex; align-items: flex-start; gap: 16px;
	background: var(--pn-tint); border-radius: 8px;
	padding: 22px 24px; margin-bottom: 24px; height: calc(100% - 24px);
}
.value-no {
	flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
	background: var(--pn-blue); color: #fff; display: grid; place-items: center;
	font-size: 17px; font-weight: 700;
}
.value-item h4 { margin: 4px 0 8px; font-size: 1.1rem; }
.qualifications-note { margin-top: 14px; color: #8793a0; font-size: 13px; line-height: 1.5; }

/* Sport-Stationen footnotes: practice leadership and the bodybuilding names. */
.references .reference-note {
	margin: 0 0 .4rem;
	color: var(--pn-text);
	font-size: .95rem;
	line-height: 1.7;
	text-align: center;
}

.references .reference-note:first-child {
	margin-top: 1.6rem;
}

.references .reference-note strong {
	color: var(--pn-ink);
	font-weight: 600;
}

/* --- Legal pages (Impressum, Datenschutzerklaerung) ---------------------- */

/* A blank in an Impressum has to LOOK blank. A missing line reads as a
   finished page and is the version that costs money. */
.legal-todo {
	background: #fff6d6;
	border-left: 4px solid #e0a800;
	padding: 10px 14px;
	margin: 12px 0;
	color: #5a4200;
	font-size: .95rem;
}

.legal-todo strong { color: #7a5a00; letter-spacing: .04em; }

.legal-note {
	margin-top: 32px;
	padding-top: 16px;
	border-top: 1px solid #e4e9ee;
	font-size: .9rem;
	color: var(--pn-text);
}

/* The Impressum must be reachable from every page, so the links live in the
   footer bar rather than in the menu. */
.legal-links {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	justify-content: center;
}

.legal-links a {
	color: var(--pn-text);
	font-size: .9rem;
	text-decoration: underline;
}

.legal-links a:hover { color: var(--pn-blue); }

.therapy-body .legal-todo + h2 { margin-top: 32px; }
