/*
Theme Name: Golab Fenster & Türen Service
Theme URI: https://example.com
Author: Golab Fenster & Türen Service
Description: Individuelles, schnelles Theme für Golab Fenster & Türen Service (Hamburg). Ohne Page-Builder, ohne externe Schriften.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: golab
*/

:root {
	--navy: #0a1f44;
	--navy-2: #0f2c5e;
	--blue: #0b5cad;
	--blue-2: #1473d1;
	--ink: #0f1b2d;
	--muted: #5a6779;
	--line: #dfe6ee;
	--bg: #ffffff;
	--tint: #f2f6fb;
	--wa: #1faa59;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(10, 31, 68, .10);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
	line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.ico { flex: none; vertical-align: middle; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
	text-decoration: none; border: 2px solid transparent; cursor: pointer;
	transition: transform .15s, box-shadow .15s, background .15s; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-2); }
.btn--light { background: #fff; color: var(--navy); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--sm { padding: .6rem 1.1rem; font-size: .95rem; }
.btn--block { width: 100%; padding: 1rem; font-size: 1.05rem; border-radius: 12px; }

/* ---------- Topbar & Header ---------- */
.topbar { background: var(--navy); color: #cfe0f7; font-size: .9rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; margin-left: 1.2rem; }
.topbar .ico { margin-right: .25rem; margin-top: -2px; }
.topbar__item { display: flex; align-items: center; gap: .3rem; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.brand img, .brand .custom-logo { height: 62px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a:not(.btn) { color: var(--navy); text-decoration: none; font-weight: 600; }
.main-nav a:not(.btn):hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); padding: .4rem; cursor: pointer; }
.nav-toggle__close { display: none; }
.nav-toggle.is-open .nav-toggle__open { display: none; }
.nav-toggle.is-open .nav-toggle__close { display: inline; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #134a8f 100%); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 800; color: var(--blue); margin-bottom: .7rem; }
.hero .eyebrow { color: #8fc2ff; }
.hero__lead { font-size: 1.15rem; color: #d6e4f7; max-width: 58ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: #cfe0f7; font-weight: 600; }
.hero__badges .ico { color: #6fd39a; margin-right: .2rem; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 25px 60px rgba(0, 0, 0, .4); border: 6px solid rgba(255, 255, 255, .12); }

/* ---------- Quick ---------- */
.quick { margin-top: -2rem; position: relative; z-index: 2; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.quick__item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem; text-decoration: none; color: var(--muted); display: flex; flex-direction: column; gap: .25rem; border: 1px solid var(--line); transition: transform .15s; }
.quick__item:hover { transform: translateY(-4px); }
.quick__item .ico { color: var(--blue); margin-bottom: .3rem; }
.quick__item strong { color: var(--navy); font-size: 1.05rem; }
.quick__item span { font-size: .92rem; line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #d6e4f7; }
.section__head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section__head p:last-child { color: var(--muted); }
.section__head--light h2 { color: #fff; }
.section--navy .eyebrow { color: #8fc2ff; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 14px rgba(10, 31, 68, .05); }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.05); }
.card__img--icon { display: grid; place-items: center; color: #8fc2ff; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__note { background: #fff6e0; border-left: 4px solid #e0a100; padding: .6rem .8rem; border-radius: 6px; font-size: .92rem; color: #5b4300; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; flex: 1; }
.checklist li { display: flex; gap: .55rem; align-items: flex-start; padding: .28rem 0; }
.checklist .ico { color: var(--blue); margin-top: .22rem; }
.card__link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; }
.card__link:hover { text-decoration: underline; }
.card--dark { background: linear-gradient(160deg, var(--navy), var(--blue)); border: 0; color: #e6f0ff; }
.card--dark h3 { color: #fff; }
.card--dark .checklist .ico { color: #7fe0a8; }
.card--dark .card__body { justify-content: center; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.about__media img { border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.pills { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pills li { background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 700; padding: .45rem 1rem; border-radius: 999px; }

/* ---------- Galerie ---------- */
.gallery { column-count: 3; column-gap: 1rem; }
.gallery__item { display: block; width: 100%; margin: 0 0 1rem; padding: 0; border: 0; background: none; cursor: zoom-in; break-inside: avoid; border-radius: 12px; overflow: hidden; }
.gallery__item img { width: 100%; transition: transform .4s, filter .3s; }
.gallery__item:hover img { transform: scale(1.04); filter: brightness(.92); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 12, 28, .92); display: grid; place-items: center; padding: 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 92vw; width: auto; border-radius: 8px; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; background: none; border: 0; color: #fff; cursor: pointer; padding: .5rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 1.8rem; }
.step h3 { color: #fff; }
.step__no { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-2); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: .9rem; }
.contact__list a, .contact__list li > div { display: flex; align-items: center; gap: 1rem; text-decoration: none; color: var(--ink); background: var(--tint); padding: .9rem 1rem; border-radius: 12px; }
.contact__list a:hover { background: #e6eef8; }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.contact__list strong { color: var(--navy); word-break: break-word; }
.contact__list em { display: block; font-style: normal; color: var(--muted); font-size: .92rem; }
.contact__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; flex: none; }
.contact__ico--wa { background: var(--wa); }

.contact__form { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(1.2rem, 3vw, 2rem); }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; color: var(--navy); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="date"], .form select, .form textarea {
	width: 100%; padding: .8rem .9rem; border: 1.5px solid #cdd8e5; border-radius: 10px; font: inherit; font-weight: 400; color: var(--ink); background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 92, 173, .18); }
.form .check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--muted); }
.form .check input { margin-top: .3rem; width: 18px; height: 18px; flex: none; }
.form__hint { font-size: .85rem; color: var(--muted); margin: 0; }
.notice { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.2rem; }
.notice--ok { background: #e6f7ee; color: #0d5b34; border: 1px solid #a9e0c2; }
.notice--err { background: #fdecec; color: #8a1c1c; border: 1px solid #f2b5b5; }

/* ---------- Footer ---------- */
.site-footer { background: #071530; color: #aebfd6; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding: 3.5rem 0 2.5rem; }
.footer__logo { height: 80px; width: auto; background: #fff; border-radius: 10px; padding: 6px 10px; margin-bottom: 1rem; }
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .25rem 0; }
.site-footer a { color: #aebfd6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: .5rem; align-items: center; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .9rem; }
.footer__bottom-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding: 1.1rem 0; }
.footer__menu { display: flex; gap: 1.5rem; }

/* ---------- Floating Buttons ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .15s; }
.wa-float:hover { transform: scale(1.08); }
.mobile-bar { display: none; }

/* ---------- Standard-Seiten ---------- */
.page-section { padding: 3.5rem 0 5rem; }
.entry { font-size: 1.02rem; }
.entry h2, .entry h3 { margin-top: 1.6em; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.quick__grid { grid-template-columns: repeat(2, 1fr); }
	.hero__grid, .about, .contact { grid-template-columns: 1fr; }
	.hero__media { max-width: 460px; }
	.gallery { column-count: 2; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: .8rem 20px 1.2rem; box-shadow: 0 14px 24px rgba(10, 31, 68, .15); }
	.main-nav.is-open { display: flex; }
	.main-nav a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
	.main-nav .btn { margin-top: .9rem; }
	.topbar__item { display: none; }
	.topbar__in { justify-content: center; }
	.topbar a { margin: 0 .8rem; }
}
@media (max-width: 680px) {
	body { font-size: 16px; padding-bottom: 66px; }
	.cards, .steps, .form__row, .footer__grid { grid-template-columns: 1fr; }
	.quick__grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
	.quick__item { padding: 1rem; }
	.brand img, .brand .custom-logo { height: 50px; }
	.hero__cta .btn { width: 100%; }
	.hero__media { max-width: 100%; }
	.wa-float { display: none; }
	.mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--navy); box-shadow: 0 -4px 16px rgba(0, 0, 0, .25); }
	.mobile-bar a { color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .6rem 0 .5rem; }
	.mobile-bar a.wa { background: var(--wa); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
