/*
Theme Name: Salon Springer
Theme URI: https://example.com/salon-springer
Author: Salon Springer
Description: Modernes One-Page-Theme für den Friseursalon Salon Springer in Herne. Alle Inhalte (Bilder, Texte, Leistungen & Preise, Team, Galerie, Öffnungszeiten, Kontakt, Farben) werden bequem im eigenen Admin-Bereich „Salon Springer" gepflegt.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: salon-springer
*/

/* ---------- Basis ---------- */
:root {
	--accent: #b07d62;
	--accent-dark: #8e5f47;
	--dark: #1f1b18;
	--cream: #f7f2ec;
	--sand: #ece3d8;
	--text: #3a332e;
	--muted: #7b6f66;
	--white: #ffffff;
	--radius: 18px;
	--shadow: 0 20px 50px -25px rgba(31, 27, 24, .35);
	--serif: "Cormorant Garamond", "Playfair Display", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--dark); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; color: var(--dark); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 9999; background: #fff; padding: 10px 16px; clip: auto; width: auto; height: auto; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
	color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 30px; border-radius: 999px;
	font-weight: 600; font-size: .95rem; letter-spacing: .03em;
	border: 1.5px solid var(--accent); background: var(--accent); color: #fff;
	cursor: pointer; transition: all .25s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.btn--dark { background: var(--dark); border-color: var(--dark); }
.btn svg { width: 18px; height: 18px; }

.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--dark); color: #d8cfc7; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head p { color: var(--muted); }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	padding: 22px 0; transition: all .3s ease;
}
.site-header.is-scrolled, body:not(.home) .site-header {
	background: rgba(247, 242, 236, .92); backdrop-filter: blur(12px);
	padding: 12px 0; box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { max-height: 54px; width: auto; }
.brand-text { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.brand-text small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-top: 6px; }
.is-scrolled .brand, body:not(.home) .brand { color: var(--dark); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.main-nav a { color: #fff; font-size: .9rem; font-weight: 500; letter-spacing: .04em; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px; background: var(--accent); transition: width .25s; }
.main-nav a:hover::after { width: 100%; }
.is-scrolled .main-nav a, body:not(.home) .main-nav a { color: var(--dark); }
.header-cta { padding: 11px 22px; font-size: .85rem; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	position: absolute; left: 10px; width: 24px; height: 2px; background: #fff; content: ""; transition: all .3s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }
.is-scrolled .nav-toggle span, .is-scrolled .nav-toggle span::before, .is-scrolled .nav-toggle span::after,
body:not(.home) .nav-toggle span, body:not(.home) .nav-toggle span::before, body:not(.home) .nav-toggle span::after { background: var(--dark); }
.nav-open .nav-toggle span { background: transparent !important; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); background: var(--dark); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); background: var(--dark); }

@media (max-width: 960px) {
	.nav-toggle { display: block; z-index: 2; }
	.header-cta { display: none; }
	.main-nav {
		position: fixed; inset: 0; background: var(--cream);
		display: flex; align-items: center; justify-content: center;
		opacity: 0; visibility: hidden; transition: all .3s;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.main-nav ul { flex-direction: column; text-align: center; gap: 22px; }
	.main-nav a { color: var(--dark) !important; font-family: var(--serif); font-size: 2rem; }
}

/* ---------- Hero ---------- */
.hero {
	min-height: 100vh; min-height: 100svh;
	display: flex; align-items: center; position: relative;
	color: #fff; overflow: hidden; background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img, .hero-bg .ph { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(20,16,13,.82) 0%, rgba(20,16,13,.45) 55%, rgba(20,16,13,.25) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: 80px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: #e7c3ad; }
.hero-sub { font-size: 1.2rem; max-width: 540px; opacity: .9; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-eyebrow { color: #e7c3ad; }
.scroll-hint {
	position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
	width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px;
}
.scroll-hint::after { content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: scrollDot 2s infinite; }
@media (max-width: 760px) { .scroll-hint { display: none; } }
@keyframes scrollDot { 0% { opacity: 0; top: 6px; } 40% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* ---------- Info-Leiste ---------- */
.infobar { position: relative; z-index: 5; margin-top: -60px; }
.infobar-inner {
	display: grid; grid-template-columns: repeat(3, 1fr);
	background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.infobar-item { padding: 30px 34px; display: flex; gap: 18px; align-items: center; border-right: 1px solid var(--sand); }
.infobar-item:last-child { border-right: 0; }
.infobar-icon { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--cream); color: var(--accent); display: grid; place-items: center; }
.infobar-icon svg { width: 22px; height: 22px; }
.infobar-item small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.infobar-item strong, .infobar-item a { color: var(--dark); font-weight: 600; }
.status-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: #bbb; }
.status-dot.open { background: #3aa66a; box-shadow: 0 0 0 4px rgba(58,166,106,.18); }
.status-dot.closed { background: #c4574b; }
@media (max-width: 860px) {
	.infobar-inner { grid-template-columns: 1fr; }
	.infobar-item { border-right: 0; border-bottom: 1px solid var(--sand); padding: 22px 26px; }
}

/* ---------- Über uns ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-media .img-wrap { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.about-media .img-wrap img, .about-media .img-wrap .ph { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
	position: absolute; right: -24px; bottom: 40px;
	background: var(--accent); color: #fff; border-radius: 50%;
	width: 150px; height: 150px; display: grid; place-items: center; text-align: center;
	font-family: var(--serif); font-size: 1.1rem; line-height: 1.2; padding: 20px; box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 2.6rem; font-weight: 500; }
.about-text .lead { font-size: 1.15rem; color: var(--dark); }
.about-sign { margin-top: 30px; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--accent-dark); }
.about-sign small { display: block; font-family: var(--sans); font-style: normal; font-size: .8rem; color: var(--muted); letter-spacing: .1em; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.features li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--dark); }
.features li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
@media (max-width: 860px) {
	.about-grid { grid-template-columns: 1fr; }
	.about-badge { right: 10px; width: 120px; height: 120px; }
	.about-badge strong { font-size: 2rem; }
}

/* ---------- Leistungen ---------- */
.service-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.service-tab {
	border: 1.5px solid var(--sand); background: transparent; color: var(--dark);
	padding: 10px 24px; border-radius: 999px; font: inherit; font-weight: 500; font-size: .92rem; cursor: pointer; transition: all .2s;
}
.service-tab:hover { border-color: var(--accent); }
.service-tab.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.service-panel { display: none; }
.service-panel.is-active { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 60px; animation: fadeUp .4s ease; }
.no-js .service-panel { display: grid; margin-bottom: 40px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.price-item { padding: 20px 0; border-bottom: 1px solid var(--sand); }
.price-row { display: flex; align-items: baseline; gap: 12px; }
.price-row h3 { font-size: 1.35rem; margin: 0; }
.price-row .dots { flex: 1; border-bottom: 1.5px dotted #cdbfb2; transform: translateY(-5px); }
.price-row .price { font-family: var(--serif); font-size: 1.4rem; color: var(--accent-dark); white-space: nowrap; }
.price-item p { margin: 4px 0 0; font-size: .92rem; color: var(--muted); }
.services-note { text-align: center; margin-top: 44px; color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .service-panel.is-active, .no-js .service-panel { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 14px; }
.gallery-grid a { position: relative; overflow: hidden; border-radius: 12px; display: block; }
.gallery-grid a:nth-child(6n+1) { grid-row: span 2; }
.gallery-grid a:nth-child(6n+4) { grid-column: span 2; }
.gallery-grid img, .gallery-grid .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-grid a::after {
	content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
	font-size: 2.6rem; font-weight: 200; color: #fff; background: rgba(31,27,24,.4); opacity: 0; transition: opacity .3s;
}
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-grid a:hover::after { opacity: 1; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 520px) { .gallery-grid a:nth-child(6n+4) { grid-column: span 1; } }

.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(15,12,10,.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; padding: 14px; line-height: 1; opacity: .8; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 16px; right: 20px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; justify-content: center; }
.team-card { text-align: center; }
.team-card .img-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; margin-bottom: 20px; box-shadow: var(--shadow); }
.team-card img, .team-card .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.team-card:hover img { transform: scale(1.05); }
.team-card h3 { margin-bottom: 2px; }
.team-card span { color: var(--accent); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; }

/* ---------- Stimmen ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.review { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 36px; }
.review blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; color: #fff; font-style: italic; }
.review blockquote::before { content: "\201E"; display: block; font-size: 4rem; line-height: .5; color: var(--accent); margin-bottom: 10px; }
.review cite { font-style: normal; font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }

/* ---------- Kontakt & Öffnungszeiten ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.card { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.hours-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.hours-table td { padding: 13px 0; border-bottom: 1px solid var(--sand); }
.hours-table td:last-child { text-align: right; font-weight: 500; color: var(--dark); }
.hours-table tr.is-today td { color: var(--accent-dark); font-weight: 700; }
.hours-table tr.is-closed td:last-child { color: var(--muted); font-weight: 400; }
.hours-note { font-size: .9rem; color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 5px; }
.socials { display: flex; gap: 10px; margin-top: 26px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--sand); display: grid; place-items: center; color: var(--dark); transition: all .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 18px; height: 18px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; color: var(--dark); }
.field input, .field textarea, .field select {
	width: 100%; padding: 14px 16px; border: 1.5px solid var(--sand); border-radius: 12px;
	font: inherit; font-size: .98rem; background: var(--cream); color: var(--text); transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.consent { display: flex; gap: 10px; font-size: .85rem; color: var(--muted); align-items: flex-start; }
.consent input { margin-top: 5px; accent-color: var(--accent); }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.notice--ok { background: #e4f3ea; color: #23653f; }
.notice--err { background: #f8e3e0; color: #8a2e24; }

.map-box { margin-top: 50px; border-radius: var(--radius); overflow: hidden; position: relative; min-height: 380px; background: var(--sand); }
.map-box iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-consent { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px;
	background: linear-gradient(135deg, var(--sand), #ddd0c2); }
.map-consent p { max-width: 460px; font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .contact-grid, .form-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.cta p { max-width: 560px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer { background: #171310; color: #a99d93; padding: 70px 0 30px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .78rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.site-footer a { color: #d8cfc7; }
.site-footer a:hover { color: var(--accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { font-family: var(--serif); font-size: 2rem; color: #fff; margin-bottom: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: .82rem; }
.footer-bottom ul { display: flex; gap: 22px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile Anruf-Button */
.call-fab {
	position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
	background: var(--accent); color: #fff; display: none; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.call-fab svg { width: 24px; height: 24px; }
@media (max-width: 760px) { .call-fab { display: grid; } }

/* ---------- Platzhalter (wenn noch kein Bild gesetzt) ---------- */
.ph {
	width: 100%; height: 100%; min-height: 200px;
	background:
		radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 50%),
		linear-gradient(135deg, #d9c4b3 0%, #b9927a 55%, #8e6a56 100%);
	display: grid; place-items: center; color: rgba(255,255,255,.85); text-align: center;
	font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: 20px;
}
.ph svg { width: 40px; height: 40px; opacity: .7; margin: 0 auto 8px; display: block; }
.hero-bg .ph svg, .hero-bg .ph span { display: none; }
.hero-bg .ph { background: radial-gradient(circle at 75% 30%, #6b4c3c 0%, #2a211c 60%); }

/* ---------- Unterseiten ---------- */
.page-hero { padding: 170px 0 70px; background: var(--sand); text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0; }
.entry-content { max-width: 800px; margin: 0 auto; }
.entry-content h2 { font-size: 2rem; margin-top: 1.6em; }
.entry-content img { border-radius: 12px; }
.post-list { display: grid; gap: 30px; max-width: 800px; margin: 0 auto; }
.post-list article { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }

/* ---------- Einblende-Animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.reveal { opacity: 1; transform: none; }
	html { scroll-behavior: auto; }
}

/* WordPress Kern-Klassen */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }
