/*
Theme Name: BAUQON
Theme URI: https://www.bauqon.at
Author: FIVSEN
Description: Schlankes Theme für die BAUQON GmbH. Startseite mit Leistungen, Anspruch, Team, Ablauf und Kontakt; Unterseiten (Impressum, Datenschutz, AGB) werden im WordPress-Editor gepflegt.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.1
License: Proprietary
Text Domain: bauqon
*/

/* ---------- Tokens ---------- */
:root {
	--bg: #211f20;
	--night: #171719;
	--navy: #17334a;
	--panel: #292728;
	--paper: #f5f7f9;
	--ink: #211f20;
	--muted: #66717a;
	--blue: #2388c9;
	--blue-light: #58b6ed;
	--line: rgba(255, 255, 255, .14);
	--line-dark: rgba(17, 21, 19, .12);
	--sans: "Inter", "Helvetica Neue", Arial, sans-serif;
	--serif: Georgia, "Times New Roman", serif;
	--shell: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); background: var(--bg); color: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }
.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.1; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; color: var(--blue); font-weight: 700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 22px; border-radius: 8px; font-weight: 700; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 30; padding-bottom: 20px; background: linear-gradient(180deg, rgba(23,23,25,.96) 0%, rgba(23,35,45,.86) 62%, rgba(23,51,74,.38) 86%, rgba(23,51,74,0) 100%); }
.admin-bar .site-header { top: 32px; }
.nav { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 64px; width: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: .92rem; }
.nav-links a { opacity: .75; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta { opacity: 1; border: 1px solid rgba(255,255,255,.3); padding: 11px 17px; border-radius: 8px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; padding: 8px; cursor: pointer; }

/* ---------- Front page backdrop ---------- */
.front { position: relative; overflow: hidden; background:
	radial-gradient(circle at 82% 12%, rgba(35,136,201,.24), transparent 24%),
	radial-gradient(circle at 12% 42%, rgba(35,136,201,.12), transparent 25%),
	radial-gradient(circle at 86% 72%, rgba(35,136,201,.16), transparent 28%),
	linear-gradient(160deg, var(--night) 0%, var(--navy) 38%, #1b2a36 62%, var(--bg) 100%); }
.front::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 72px 72px; }
.front section { position: relative; z-index: 1; padding: 105px 0; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.front .hero { padding: 0; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { width: 100%; height: 100%; object-fit: cover; opacity: .82; filter: saturate(.92) contrast(1.08) brightness(1.12); }
.hero-overlay { background: linear-gradient(90deg, rgba(17,20,23,.68) 0%, rgba(20,33,44,.46) 48%, rgba(20,42,59,.28) 100%), linear-gradient(180deg, rgba(15,18,21,.08) 0%, rgba(23,51,74,.10) 65%, rgba(23,51,74,.62) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 180px 0 80px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; }
.hero h1 { font-size: clamp(3.4rem, 8vw, 7.8rem); line-height: 1.02; margin: 16px 0 28px; }
.hero h1 span { display: block; color: var(--blue); }
.hero p { max-width: 600px; color: rgba(255,255,255,.72); font-size: 1.08rem; margin: 0; }
.hero .btn { margin-top: 32px; }
.hero-note { border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; color: rgba(255,255,255,.68); }
.hero-note strong { display: block; color: #fff; margin-bottom: 8px; }
/* Standbild nur, wenn das Video nicht läuft, sonst scheint es durch das halbtransparente Video */
.hero-still { display: none; }
@media (prefers-reduced-motion: reduce) {
	.hero-media[data-video] { display: none; }
	.hero-still { display: block; }
}

/* ---------- Section heads ---------- */
.head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 40px; }
.head h2, .intro h2 { font-size: clamp(2.6rem, 5vw, 5rem); margin: 14px 0 0; }
.head p { max-width: 480px; color: rgba(255,255,255,.62); margin: 0; }

/* ---------- Leistungen ---------- */
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 38px; }
.service { position: relative; isolation: isolate; min-height: 350px; padding: 38px 36px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.service::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(23,51,74,.02) 0%, rgba(23,51,74,.08) 42%, rgba(23,51,74,.72) 76%, rgba(23,51,74,.98) 100%), var(--img) center / cover;
	-webkit-mask-image: radial-gradient(ellipse 68% 76% at 50% 48%, #000 50%, rgba(0,0,0,.9) 62%, rgba(0,0,0,.5) 76%, transparent 100%);
	mask-image: radial-gradient(ellipse 68% 76% at 50% 48%, #000 50%, rgba(0,0,0,.9) 62%, rgba(0,0,0,.5) 76%, transparent 100%); }
.service::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 72% 80% at 50% 48%, transparent 42%, rgba(23,51,74,.18) 58%, rgba(23,51,74,.62) 76%, rgba(23,51,74,.96) 100%); }
.service h3 { font-size: 2rem; margin: 12px 0; }
.service p { color: rgba(255,255,255,.8); margin: 0; max-width: 560px; }

/* ---------- Anspruch ---------- */
.intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.lead { font-size: 1.18rem; color: rgba(255,255,255,.7); margin: 25px 0 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 44px; }
.stat { padding: 24px 0; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: 2rem; }
.stat span { color: rgba(255,255,255,.65); font-size: .9rem; }

/* ---------- Team ---------- */
.team-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 4vw, 56px); max-width: 1000px; margin: 30px auto 48px; }
.team-feature img { width: 100%; height: auto; }
.team-feature p { max-width: 430px; margin: 0; padding-left: clamp(0px, 2vw, 24px); border-left: 1px solid var(--line); color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.8; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.member { display: flex; flex-direction: column; min-width: 0; }
/* Alle Porträts sind auf 570×786 zugeschnitten: identische Rahmen, nur seitlich beschnitten */
.member img { width: 100%; aspect-ratio: 570 / 786; height: auto; object-fit: cover; object-position: center bottom; }
.member-copy { padding: 24px 0 0; display: flex; flex-direction: column; flex: 1; }
.member h3 { font-size: clamp(1.1rem, 1.5vw, 1.4rem); margin: 0 0 5px; letter-spacing: -.01em; }
.member-role { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 14px; }
.member p { color: rgba(255,255,255,.72); margin: 0; }
.member-mail { align-self: flex-start; margin-top: auto; padding: 22px 0 10px; border-bottom: 1px solid rgba(88,182,237,.72); font-size: .82rem; letter-spacing: .03em; display: inline-flex; gap: 10px; transition: color .2s, border-color .2s; }
.member-mail span { color: var(--blue-light); transition: transform .2s; }
.member-mail:hover { color: var(--blue-light); border-color: #fff; }
.member-mail:hover span { transform: translate(2px, -2px); }

/* ---------- Ablauf ---------- */
.process { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.process h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); margin: 14px 0 0; }
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step b { color: var(--blue); }
.step h3 { margin: 0 0 7px; }
.step p { margin: 0; color: rgba(255,255,255,.68); }

/* ---------- Kontakt ---------- */
.front .contact { padding-bottom: 125px; }
.contact-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: end; }
.contact h2 { font-size: clamp(2.8rem, 6vw, 6rem); line-height: 1; margin: 15px 0 25px; }
.contact-grid > div > p { color: rgba(255,255,255,.62); margin: 0; }
.contact-card { background: rgba(41,39,40,.72); border-radius: 10px; padding: 30px; box-shadow: 0 18px 50px rgba(0,0,0,.16); display: grid; gap: 22px; }
.contact-card dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.contact-card dd { margin: 0; font-size: 1.15rem; }
.contact-card a:hover { color: var(--blue-light); }
.contact-card .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--bg) 0%, #1e282f 38%, #1b303f 62%, var(--night) 100%); color: rgba(255,255,255,.55); padding: 80px 0 32px; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer img { height: 56px; width: auto; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a:hover { color: #fff; }

/* ---------- Unterseiten (Impressum, Datenschutz, AGB …) ---------- */
.page-hero { background: linear-gradient(135deg, var(--night), var(--navy) 68%, var(--blue)); padding: 150px 0 90px; }
.page-hero .eyebrow { color: #78c9f6; }
.page-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: -.03em; margin: 14px 0; max-width: 820px; }
.page-hero p { color: rgba(255,255,255,.75); max-width: 680px; margin: 0; font-size: 1.05rem; }
.page-body { background: var(--paper); color: var(--ink); padding-bottom: 72px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; align-items: start; position: relative; top: -40px; margin-bottom: -40px; }
.page-layout.no-side { grid-template-columns: minmax(0, 860px); }
.page-content, .page-side { background: #fff; border: 1px solid var(--line-dark); border-radius: 18px; box-shadow: 0 16px 50px #13202b12; }
.page-content { padding: clamp(24px, 5vw, 48px); line-height: 1.7; min-width: 0; }
.page-content h2 { font-size: 1.15rem; letter-spacing: -.01em; margin: 26px 0 10px; padding-top: 24px; border-top: 1px solid var(--line-dark); scroll-margin-top: 110px; }
.page-content > h2:first-child, .page-content .label + h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.page-content .label { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin: 26px 0 9px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.page-content > .label:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.page-content .num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: #e8f4fb; color: #1876ac; font-size: .78rem; font-weight: 800; margin-right: 10px; vertical-align: middle; }
.page-content p, .page-content li { color: #48515a; }
.page-content a, .page-side a { color: var(--blue); }
.page-content a:hover, .page-side a:hover { text-decoration: underline; }
.page-side { padding: 24px; position: sticky; top: 110px; font-size: .9rem; }
.admin-bar .page-side { top: 142px; }
.page-side h2 { font-size: 1rem; margin: 0 0 12px; }
.page-side .toc { display: grid; gap: 9px; }
.page-side .toc a { color: #47515a; }
.page-side hr { border: 0; border-top: 1px solid var(--line-dark); margin: 20px 0; }
.page-side p { margin: 0 0 12px; }

/* ---------- Übergangsseite (GmbH in Gründung) ---------- */
.cs { position: relative; min-height: 100svh; overflow: hidden; background: var(--night); }
.cs-bg, .cs-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.cs-bg { object-fit: cover; opacity: .6; filter: saturate(.9) contrast(1.05); }
.cs-overlay { background: linear-gradient(90deg, rgba(17,20,23,.86) 0%, rgba(20,33,44,.62) 55%, rgba(20,42,59,.4) 100%), linear-gradient(180deg, rgba(15,18,21,.2) 0%, rgba(23,51,74,.85) 100%); }
.cs-inner { position: relative; z-index: 1; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; gap: 48px; padding: 40px 0 36px; }
.cs-logo { height: 72px; width: auto; }
.cs-main { align-self: center; max-width: 720px; }
.cs-main h1 { font-size: clamp(3rem, 7vw, 6.2rem); line-height: 1.04; margin: 16px 0 24px; }
.cs-main h1 span { display: block; color: var(--blue); }
.cs-main p { color: rgba(255,255,255,.75); font-size: 1.12rem; margin: 0 0 28px; max-width: 520px; }
.cs-contact { display: flex; flex-wrap: wrap; gap: 14px; }
.cs-contact a { padding: 14px 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; font-weight: 700; transition: background .2s, border-color .2s; }
.cs-contact a:first-child { background: var(--blue); border-color: var(--blue); }
.cs-contact a:hover { border-color: #fff; }
.cs-legal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.55); font-size: .8rem; line-height: 1.6; }
.cs-legal h2 { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: rgba(255,255,255,.75); margin: 0 0 8px; }
.cs-legal p { margin: 0; }
@media (max-width: 760px) {
	.cs-legal { grid-template-columns: 1fr; gap: 20px; }
	.cs-logo { height: 54px; }
	.cs-contact a { flex: 1 1 100%; text-align: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.nav-links { display: none; position: absolute; top: 84px; left: 20px; right: 20px; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; background: var(--panel); border-radius: 16px; }
	.nav-links.is-open { display: flex; }
	.hero-inner, .intro, .process, .contact-grid, .team-feature { grid-template-columns: 1fr; gap: 32px; }
	.head { display: block; }
	.head p { margin-top: 20px; }
	.services-grid, .stats { grid-template-columns: 1fr; }
	.team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.page-layout { grid-template-columns: 1fr; }
	.page-side { position: static; }
	.team-feature p { border-left: 0; padding-left: 0; max-width: none; }
	.front section { padding: 80px 0; }
	.brand img { height: 54px; }
}
@media (max-width: 560px) {
	.shell { width: calc(100% - 32px); }
	.nav { height: 78px; }
	.brand img { height: 46px; }
	.hero-inner { padding: 135px 0 50px; }
	.hero .btn { width: 100%; }
	.team-grid { grid-template-columns: 1fr; }
	.service { min-height: 300px; padding: 28px 24px; }
	.footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
