/*
Theme Name: CENTER GYM – Coming Soon
Theme URI: https://example.com/
Author: Studio
Description: Eine schnelle, responsive Coming-soon-Landingpage für Fitnessstudios mit Vorverkaufs- und Eröffnungsmonat sowie eigener Impressumsseite.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: center-gym-coming-soon
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --ink: #f4f6fb;
  --paper: #090b10;
  --surface: #11151e;
  --acid: #1f61ea;
  --line: rgba(244,246,251,.16);
  --page-pad: clamp(22px, 5vw, 76px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; text-rendering: optimizeLegibility; }
body.home { min-height: 100svh; display: flex; flex-direction: column; }
body.home .hero { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--acid); outline-offset: 5px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; clip: auto; top: 12px; left: 12px; background: var(--acid); color: var(--ink); padding: 12px 16px; z-index: 9999; font-weight: 800; }

.site-shell { min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.site-header { height: 92px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-pad); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; }
.brand-home, .brand .custom-logo-link { display: block; }
.brand-logo { display: block; width: clamp(145px, 13vw, 205px); height: auto; }
.brand .custom-logo { display: block; width: auto; max-height: 46px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid var(--ink); padding: 7px 0; }

.hero { flex: 1; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(400px, .96fr); min-height: calc(100svh - 150px); }
.hero-copy { padding: clamp(54px, 7vw, 104px) clamp(22px, 5vw, 78px) 52px var(--page-pad); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 18% 48%, rgba(31,97,234,.15), transparent 38%); }
.center-watermark { position: absolute; width: min(76%, 760px); height: auto; left: 8%; top: 50%; transform: translateY(-50%); opacity: .075; z-index: -1; pointer-events: none; user-select: none; }
.eyebrow { margin: 0 0 30px; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 37px; height: 4px; background: var(--acid); }
.hero-title { margin: 0; max-width: 850px; font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif; font-size: clamp(70px, 8.5vw, 144px); line-height: .82; letter-spacing: -.025em; font-weight: 900; text-transform: uppercase; }
.hero-title span { display: block; color: transparent; -webkit-text-stroke: clamp(1.5px, .15vw, 3px) var(--ink); }
.hero-intro { max-width: 580px; margin: 38px 0 44px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.48; font-weight: 650; }
.dates { display: grid; grid-template-columns: repeat(2, minmax(0, 250px)); gap: 1px; background: rgba(244,246,251,.28); border: 1px solid rgba(244,246,251,.28); max-width: 501px; }
.date-card { background: var(--surface); padding: 18px; display: flex; align-items: center; gap: 17px; }
.date-card:first-child { background: var(--acid); color: #fff; }
.date-number { font-size: 11px; font-weight: 900; opacity: .52; }
.date-copy { display: flex; flex-direction: column; gap: 3px; }
.date-copy small { font-size: 10px; letter-spacing: .16em; font-weight: 800; }
.date-copy strong { font-size: clamp(19px, 1.8vw, 26px); letter-spacing: -.035em; }

.hero-visual { position: relative; min-height: 580px; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; filter: saturate(.83) contrast(1.08); z-index: -2; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,15,.32), transparent 48%), linear-gradient(0deg, rgba(16,16,15,.82), transparent 45%); z-index: -1; }
.visual-label { position: absolute; top: 36px; left: 34px; color: #fff; font-size: 12px; line-height: 1.1; font-weight: 900; letter-spacing: .16em; }
.visual-accent { width: 13px; height: 13px; display: inline-block; background: var(--acid); margin: 0 8px 1px 0; }
.hero-visual p { position: absolute; left: 34px; bottom: 36px; margin: 0; color: #fff; font-family: Impact, Haettenschweiler, sans-serif; font-size: clamp(44px, 5vw, 82px); line-height: .84; letter-spacing: -.02em; text-transform: uppercase; }
.hero-visual p span { color: #55a0ff; }

.location-strip { position: relative; display: grid; grid-template-columns: minmax(120px, .35fr) minmax(280px, 1fr) auto; align-items: center; gap: 28px; padding: clamp(28px, 4vw, 52px) var(--page-pad); background: var(--acid); color: #fff; overflow: hidden; }
.location-strip::after { content: 'ABENSBERG'; position: absolute; right: 10%; top: 50%; transform: translateY(-50%); font-family: Impact, Haettenschweiler, sans-serif; font-size: clamp(70px, 12vw, 190px); letter-spacing: -.03em; opacity: .08; pointer-events: none; }
.location-label { position: relative; z-index: 1; margin: 0; font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.location-strip address { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 5px; font-style: normal; }
.location-strip address span { font-size: clamp(20px, 2.2vw, 31px); font-weight: 700; letter-spacing: -.02em; }
.location-strip address strong { font-size: clamp(28px, 3.7vw, 55px); line-height: .95; letter-spacing: -.035em; }
.location-badge { position: relative; z-index: 1; display: grid; place-items: center; width: clamp(76px, 8vw, 112px); aspect-ratio: 1; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; font-family: Impact, Haettenschweiler, sans-serif; font-size: clamp(24px, 3vw, 40px); transform: rotate(-7deg); }

.site-footer { min-height: 58px; flex: 0 0 auto; padding: 0 var(--page-pad); display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

.legal-shell { min-height: 100svh; }
.legal-main { max-width: 900px; padding: clamp(58px, 8vw, 110px) var(--page-pad) 120px; margin: 0 auto; }
.legal-kicker { margin: 0 0 18px; font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: #62625d; }
.legal-title { margin: 0 0 54px; font-family: Impact, Haettenschweiler, sans-serif; font-size: clamp(70px, 11vw, 130px); line-height: .85; letter-spacing: -.02em; text-transform: uppercase; }
.legal-grid { display: grid; grid-template-columns: 180px 1fr; gap: 42px 54px; }
.legal-grid h2 { margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding-top: 5px; }
.legal-grid section { border-top: 1px solid var(--line); padding-top: 24px; }
.legal-grid section:first-of-type, .legal-grid h2:first-child { border-top: none; padding-top: 0; }
.legal-grid p { margin: 0 0 12px; font-size: 17px; line-height: 1.65; }
.legal-grid a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.placeholder { display: inline-block; background: #ffd85c; color: #10100f; padding: 1px 6px; font-weight: 700; }
.legal-note { margin-top: 64px; padding: 20px 22px; background: var(--acid); color: #fff; font-size: 13px; line-height: 1.55; font-weight: 700; }

.content-main { max-width: 900px; margin: 0 auto; padding: 80px var(--page-pad) 120px; }
.content-main h1 { font-family: Impact, sans-serif; font-size: clamp(56px, 8vw, 100px); text-transform: uppercase; }
.content-main p { font-size: 18px; line-height: 1.65; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: calc(100svh - 92px); }
  .hero-visual { min-height: 470px; }
}
@media (max-width: 600px) {
  .site-header { height: 76px; }
  .brand { font-size: 11px; letter-spacing: .08em; }
  .brand-logo { width: 138px; }
  .hero-copy { min-height: auto; padding-top: 64px; padding-bottom: 58px; }
  .hero-title { font-size: clamp(57px, 18vw, 84px); }
  .hero-intro { margin: 30px 0 34px; }
  .dates { grid-template-columns: 1fr; max-width: none; }
  .hero-visual { min-height: 380px; }
  .location-strip { grid-template-columns: 1fr auto; gap: 20px; }
  .location-label { grid-column: 1 / -1; }
  .location-strip address span { font-size: 18px; }
  .location-strip address strong { font-size: 28px; }
  .site-footer { padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
  .legal-grid { grid-template-columns: 1fr; gap: 12px; }
  .legal-grid h2 { margin-top: 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: reveal .7s ease-out both; }
  .hero-visual { animation: reveal .7s .1s ease-out both; }
  @keyframes reveal { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
