/* ==========================================================================
   FORTE Sicherheitsgesellschaft mbH — corporate identity system
   Dark editorial canvas · teal brand accent (from the FORTE mark)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  /* Surfaces */
  --canvas: #05080d;
  --surface-1: #0a0f16;
  --surface-2: #0e141d;

  /* Ink */
  --ink-100: #eef4f7;   /* headings on dark */
  --ink-200: #c3d0da;   /* body */
  --ink-300: #8a99a6;   /* muted */
  --ink-400: #5c6a76;   /* faint / helper */

  /* Brand — sampled from the FORTE logo */
  --navy: #16324f;
  --teal-deep: #124f5c;
  --teal: #1d7d90;
  --accent: #27b6cc;        /* luminous teal for dark ground */
  --accent-bright: #45d4e6;
  --gradient-brand: linear-gradient(135deg, #45d4e6 0%, #27b6cc 45%, #17879b 100%);
  --gradient-mark: linear-gradient(180deg, #4bb8c9 0%, #1d7d90 55%, #123f4a 100%);
  --gradient-ink: linear-gradient(180deg, #f2f8fa 0%, #b8ccd4 100%);

  /* Partner — ABE Akademie corporate identity (green + gold) */
  --abe-green: #024139;
  --abe-green-deep: #012a25;
  --abe-gold: #b68d1d;
  --abe-gold-bright: #e0b23f;
  --abe-cream: #f0f4f8;

  /* Lines */
  --line: rgba(159, 194, 206, 0.12);
  --line-strong: rgba(159, 194, 206, 0.22);
  --glass: rgba(159, 194, 206, 0.035);
  --glass-hover: rgba(159, 194, 206, 0.07);

  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --max: 1240px;
  --r-card: 18px;
  --r-input: 10px;
  --r-pill: 999px;

  --shadow-card: 0 1px 0 rgba(159,194,206,0.06) inset, 0 30px 60px -30px rgba(0,0,0,0.8);
  --shadow-float: 0 1px 1px rgba(159,194,206,0.14) inset, 0 24px 60px -20px rgba(0,0,0,0.7);
  --hair: 0 0 0 1px var(--line) inset;

  --ease: cubic-bezier(.22,.68,.28,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink-200);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(39,182,204,0.32); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
section { position: relative; scroll-margin-top: 90px; }
.pad { padding: 148px 0; }
.pad-sm { padding: 100px 0; }

/* ambient grid */
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(159,194,206,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159,194,206,0.045) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: radial-gradient(ellipse 92% 52% at 50% 0%, #000 32%, transparent 84%);
}

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 13px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }
.eyebrow.center { justify-content: center; }

.title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink-100); margin: 20px 0 20px;
}
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-300); max-width: 560px; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 26px;
  border-radius: var(--r-pill); border: none; cursor: pointer;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; letter-spacing: 0;
  white-space: nowrap; transition: transform .28s var(--ease), background .28s, filter .28s, box-shadow .28s;
}
.btn svg { width: 16px; height: 16px; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-accent { background: var(--gradient-brand); color: #04181c; box-shadow: 0 12px 30px -8px rgba(39,182,204,0.5); }
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-ghost { background: rgba(159,194,206,0.06); color: var(--ink-100); box-shadow: var(--hair); }
.btn-ghost:hover { background: rgba(159,194,206,0.12); }

/* ---------- brand logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 13px; }
.logo .mark { width: 34px; height: auto; flex: none; }
/* Real FORTE logo (black-on-white source, freed + inverted to white for the dark UI) */
.logo-img { height: 40px; width: auto; display: block; filter: invert(1); }
.site-footer .logo-img { height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: 0.16em; color: var(--ink-100); text-transform: uppercase;
}
.logo-text small {
  font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--ink-400); margin-top: 5px;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(5,8,13,0.78); border-bottom-color: var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.main-nav { display: flex; gap: 34px; }
.main-nav a { position: relative; font-size: 14px; font-weight: 500; color: var(--ink-200); transition: color .2s; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--accent); transition: width .3s var(--ease);
}
.main-nav a:hover { color: var(--ink-100); }
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; gap: 10px; align-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: clip; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #02040a; }
.hero-media video {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  min-width: 118%; min-height: 138%; width: 118%; height: 138%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease;
  filter: saturate(0.62) brightness(0.5) contrast(1.06);
  will-change: opacity, transform;
}
.hero-media video.active { opacity: 1; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 110% 80% at 12% 30%, rgba(5,8,13,0.6) 0%, transparent 55%),
    linear-gradient(180deg, rgba(5,8,13,0.68) 0%, rgba(5,8,13,0.22) 40%, rgba(5,8,13,0.9) 86%, var(--canvas) 100%);
}
.hero-mark {
  position: absolute; z-index: -1; right: -3vw; top: 50%; transform: translateY(-50%);
  width: min(44vw, 520px); opacity: 0.06; pointer-events: none; will-change: transform;
}
.hero-inner { flex: 1; display: flex; align-items: center; padding-top: 100px; }
.hero-copy { max-width: 760px; will-change: transform, opacity; }
.hero-copy .eyebrow { color: var(--accent-bright); }
.hero-copy h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(42px, 7vw, 84px); line-height: 1.03; letter-spacing: -0.025em;
  margin: 24px 0 26px; color: var(--ink-100);
}
.hero-copy h1 .accent {
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy .sub { font-size: 18px; line-height: 1.62; color: var(--ink-200); max-width: 500px; margin: 0 0 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-chips { display: flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-200); padding: 8px 14px; border-radius: var(--r-pill);
  background: rgba(159,194,206,0.05); box-shadow: var(--hair); backdrop-filter: blur(6px);
}
.chip::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* video progress dots */
.hero-dots { position: absolute; right: 32px; bottom: 128px; z-index: 3; display: flex; gap: 9px; }
.hero-dots button {
  width: 26px; height: 3px; border: none; padding: 0; cursor: pointer; border-radius: 2px;
  background: rgba(159,194,206,0.25); overflow: hidden; position: relative;
}
.hero-dots button .fill { position: absolute; inset: 0; width: 0; background: var(--accent); }
.hero-dots button.active .fill { background: var(--accent); }

/* stats */
.hero-stats { border-top: 1px solid var(--line); background: rgba(5,8,13,0.4); backdrop-filter: blur(14px); }
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 30px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat .num { font-family: var(--font-display); font-weight: 500; font-size: 32px; line-height: 1; color: var(--ink-100); }
.stat .num em { font-style: normal; color: var(--accent); }
.stat .label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); margin-top: 9px; }

/* ---------- section head ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 66px; }
.head .lede { margin-bottom: 6px; }
.head.center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.head.center .title { margin-bottom: 14px; }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service {
  position: relative; overflow: hidden;
  background: var(--glass); border-radius: var(--r-card); padding: 32px 30px 30px;
  box-shadow: var(--shadow-card); transition: transform .4s var(--ease), background .4s;
}
.service::before {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: var(--gradient-brand); transition: width .45s var(--ease);
}
.service:hover { transform: translateY(-6px); background: var(--glass-hover); }
.service:hover::before { width: 100%; }
.service .no { position: absolute; top: 28px; right: 28px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-400); }
.svc-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(39,182,204,0.09); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: var(--hair); }
.svc-icon svg { width: 25px; height: 25px; color: var(--accent-bright); }
.service h3 { font-size: 17.5px; font-weight: 600; color: var(--ink-100); margin: 0 0 9px; letter-spacing: -0.01em; }
.service p { font-size: 14px; line-height: 1.62; color: var(--ink-300); margin: 0; }

/* ---------- parallax bands ---------- */
.band { position: relative; min-height: 76vh; display: flex; align-items: center; overflow: clip; }
.band-bg { position: absolute; left: 0; right: 0; top: -16%; height: 132%; background-position: center; background-size: cover; z-index: 0; will-change: transform; }
.band-veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(5,8,13,0.95) 6%, rgba(5,8,13,0.62) 46%, rgba(5,8,13,0.32) 72%, rgba(5,8,13,0.86) 100%); }
.band::before, .band::after { content: ''; position: absolute; left: 0; right: 0; height: 130px; z-index: 2; pointer-events: none; }
.band::before { top: 0; background: linear-gradient(180deg, var(--canvas), transparent); }
.band::after { bottom: 0; background: linear-gradient(0deg, var(--canvas), transparent); }
.band .container { position: relative; z-index: 3; }
.band-inner { max-width: 520px; padding: 130px 0; }
.band-inner .title { font-size: clamp(28px, 3.6vw, 40px); }
.band-inner p { font-size: 16px; color: var(--ink-200); margin: 0 0 32px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.g-item:nth-child(2) { margin-top: 60px; }
.g-item:nth-child(3) { margin-top: 120px; }
.ph { position: relative; overflow: hidden; border-radius: var(--r-card); aspect-ratio: 3/4; box-shadow: var(--shadow-float); background: var(--surface-1); }
.ph img { width: 100%; height: 116%; object-fit: cover; filter: saturate(0.86); transition: filter .5s; will-change: transform; }
.g-item:hover .ph img { filter: saturate(1.05); }
.ph::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 1px 1px rgba(200,230,240,0.16); border-radius: inherit; pointer-events: none; }
.g-meta { display: flex; gap: 14px; padding: 18px 4px 0; }
.g-meta .idx { font-family: var(--font-mono); font-size: 11px; color: var(--accent); }
.g-meta h3 { font-size: 16px; font-weight: 600; color: var(--ink-100); margin: 0; }
.g-meta p { font-size: 13px; color: var(--ink-300); margin: 4px 0 0; }

/* ---------- MAP (Einsatzgebiete) ---------- */
.map-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.map-stage { position: relative; }
.map-stage svg { width: 100%; height: auto; overflow: visible; }
.map-stage .st {
  fill: rgba(159,194,206,0.055); stroke: rgba(159,194,206,0.2); stroke-width: 1;
  transition: fill .28s var(--ease), stroke .28s, filter .28s; cursor: pointer;
}
.map-stage .st:hover { fill: rgba(39,182,204,0.28); stroke: var(--accent-bright); }
.map-stage .st.active { fill: url(#stateFill); stroke: var(--accent-bright); filter: drop-shadow(0 0 10px rgba(39,182,204,0.55)); }
.map-dot { fill: var(--accent); opacity: 0.55; pointer-events: none; transition: opacity .28s, r .28s; }
.map-dot.on { opacity: 1; }
.map-hint { position: absolute; left: 0; bottom: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-400); }

.map-panel { background: var(--glass); border-radius: var(--r-card); padding: 34px; box-shadow: var(--shadow-card); min-height: 380px; display: flex; flex-direction: column; }
.map-panel .pk { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.map-panel .pname { font-family: var(--font-display); font-weight: 500; font-size: 30px; color: var(--ink-100); margin: 12px 0 4px; letter-spacing: -0.02em; }
.map-panel .pmeta { font-size: 13.5px; color: var(--ink-300); margin: 0 0 22px; }
.map-panel .plist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.loc { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-100); background: rgba(159,194,206,0.06); box-shadow: var(--hair); padding: 7px 13px; border-radius: var(--r-pill); }
.loc::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.map-panel .pfoot { margin-top: auto; }
.map-legend { display: flex; gap: 22px; margin-top: 20px; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-300); }
.map-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; margin-top: 70px; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent); }
.step { position: relative; padding-top: 74px; }
.step .dot { position: absolute; top: 22px; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--canvas); box-shadow: 0 0 0 1px var(--line-strong), 0 0 22px rgba(39,182,204,0.28); display: flex; align-items: center; justify-content: center; }
.step .dot::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.step .k { font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(159,194,206,0.3); display: block; margin-bottom: 16px; }
.step h3 { font-size: 17px; font-weight: 600; color: var(--ink-100); margin: 0 0 8px; }
.step p { font-size: 14px; color: var(--ink-300); margin: 0; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about .lede { margin-bottom: 26px; }
.points { list-style: none; padding: 0; margin: 0 0 34px; }
.points li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-100); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 2px; }
.points strong { display: block; color: var(--ink-100); font-weight: 600; margin-bottom: 3px; }
.points span { font-size: 13.5px; color: var(--ink-300); }
.collage { position: relative; height: 600px; }
.collage .ph { position: absolute; }
.collage .ph.tall { left: 0; top: 0; width: 68%; aspect-ratio: 3/4.1; }
.collage .ph.small { right: 0; bottom: 24px; width: 48%; aspect-ratio: 4/4.4; outline: 10px solid var(--canvas); }

/* ---------- booking ---------- */
.booking { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: center; }
.booking .lede { margin-bottom: 30px; }
.blist { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-direction: column; gap: 14px; }
.blist li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-100); }
.blist svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.bphone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--ink-100); }
.bphone svg { width: 20px; height: 20px; color: var(--accent); }
.bphone small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-400); }

.form-card { background: rgba(5,8,13,0.92); border-radius: var(--r-card); padding: 38px; box-shadow: var(--shadow-float); }
.form-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--ink-100); margin: 0 0 6px; }
.form-card .fsub { font-size: 13.5px; color: var(--ink-300); margin: 0 0 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-200); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(159,194,206,0.05); border: none; box-shadow: var(--hair);
  border-radius: var(--r-input); padding: 12px 15px; color: #fff; font-family: var(--font-sans); font-size: 14px;
  transition: box-shadow .2s, background .2s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238a99a6' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.field input::placeholder, .field textarea::placeholder { color: rgba(138,153,166,0.6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: rgba(159,194,206,0.08); box-shadow: 0 0 0 1px var(--accent) inset, 0 0 0 4px rgba(39,182,204,0.12); }
.field textarea { resize: vertical; min-height: 88px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card button[type=submit] { width: 100%; margin-top: 10px; }
.fnote { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-400); margin-top: 16px; text-align: center; }
.form-ok { display: none; text-align: center; padding: 44px 0; }
.form-ok.show { display: block; }
.form-ok .svc-icon { margin: 0 auto 20px; width: 64px; height: 64px; border-radius: 50%; }
.form-ok .svc-icon svg { width: 28px; height: 28px; }
.form-ok h3 { margin-bottom: 10px; }
.form-ok p { color: var(--ink-300); font-size: 14px; max-width: 320px; margin: 0 auto; }

/* ---------- footer ---------- */
.site-footer { position: relative; border-top: 1px solid var(--line); padding: 92px 0 36px; overflow: clip; }
.fword { font-family: var(--font-display); font-weight: 600; font-size: clamp(46px, 9.5vw, 128px); line-height: 0.9; letter-spacing: 0.02em; text-transform: uppercase; background: linear-gradient(180deg, rgba(159,194,206,0.34), rgba(39,182,204,0.05)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 70px; white-space: nowrap; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-400); margin: 0 0 18px; }
.footer-col a, .footer-col p { display: block; font-size: 14px; color: var(--ink-200); margin: 0 0 11px; transition: color .2s; }
.footer-col a:hover { color: var(--accent-bright); }
.footer-brand p { color: var(--ink-300); max-width: 300px; font-size: 13.5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-400); flex-wrap: wrap; gap: 12px; }
.footer-bottom a { margin-left: 18px; }
.footer-bottom a:hover { color: var(--ink-200); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-media video { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .booking { grid-template-columns: 1fr; gap: 56px; }
  .map-wrap { grid-template-columns: 1fr; gap: 40px; }
  .map-stage { max-width: 460px; margin: 0 auto; }
  .collage { height: 480px; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .main-nav { display: none; }
  .pad { padding: 100px 0; }
  .hero-copy .sub { font-size: 16px; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 20px 22px; }
  .stat:nth-child(odd) { border-left: none; padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero-dots { bottom: 150px; }
  .head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 44px; }
  .gallery { grid-template-columns: 1fr; gap: 40px; max-width: 440px; margin: 0 auto; }
  .g-item:nth-child(2), .g-item:nth-child(3) { margin-top: 0; }
  .steps { grid-template-columns: 1fr; gap: 40px; margin-top: 48px; }
  .steps::before { display: none; }
  .step { padding-top: 0; padding-left: 52px; }
  .step .dot { top: 4px; }
  .step .k { font-size: 40px; margin-bottom: 10px; }
  .band { min-height: 62vh; }
  .form-card { padding: 28px 22px; }
  .frow { grid-template-columns: 1fr; gap: 0; }
  .fword { white-space: normal; }
}
@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .header-actions .btn-ghost { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-text small { display: none; }
}

/* ==========================================================================
   Brand intro — a quiet, premium "focus-in" of the FORTE logo (once/session):
   logo settles from a soft blur, a teal hairline draws beneath it, then the
   whole curtain lifts to reveal the site. No gimmicks.
   ========================================================================== */
.brand-intro {
  position: fixed; inset: 0; z-index: 2000; display: none; place-items: center;
  background: radial-gradient(130% 120% at 50% 40%, #0d1826 0%, #070c12 52%, #05080d 100%);
}
.brand-intro.play { display: grid; }
.brand-intro.done { animation: biCurtain .85s var(--ease) forwards; }
.bi-stage { display: grid; justify-items: center; gap: 24px; padding: 0 8vw; }
.bi-logo-img {
  width: min(66vw, 440px); height: auto;
  opacity: 0; transform: scale(.94); filter: invert(1) blur(9px);
}
.brand-intro.play .bi-logo-img { animation: biFocus 1.1s var(--ease) .2s forwards; }
.bi-line {
  width: min(58vw, 360px); height: 1px; transform: scaleX(0); opacity: 0; transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--accent) 22%, var(--accent-bright) 50%, var(--accent) 78%, transparent);
  box-shadow: 0 0 18px rgba(39,182,204,.55);
}
.brand-intro.play .bi-line { animation: biLine .7s var(--ease) .95s forwards; }
@keyframes biFocus {
  0%   { opacity: 0; transform: scale(.94); filter: invert(1) blur(9px); }
  100% { opacity: 1; transform: scale(1);   filter: invert(1) blur(0); }
}
@keyframes biLine { 0% { transform: scaleX(0); opacity: 0; } 100% { transform: scaleX(1); opacity: 1; } }
@keyframes biCurtain { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-3.5%); visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .brand-intro { display: none !important; } }

/* ==========================================================================
   Partner section — ABE Akademie (green + gold corporate identity)
   ========================================================================== */
.abe-panel {
  position: relative; overflow: hidden;
  border-radius: 28px;
  padding: clamp(38px, 6vw, 76px);
  background:
    radial-gradient(120% 150% at 86% 8%, rgba(224,178,63,.20), transparent 52%),
    linear-gradient(135deg, #061420 0%, #023b34 46%, var(--abe-green) 100%);
  border: 1px solid rgba(224,178,63,.16);
  box-shadow: var(--shadow-card);
  font-family: 'DM Sans', var(--font-sans);
}
.abe-panel::before {
  content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 1 L54 16 L54 48 L28 63 L2 48 L2 16 Z' fill='none' stroke='%23e0b23f' stroke-width='1.4'/%3E%3C/svg%3E");
  background-size: 58px;
}
.abe-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.abe-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--abe-gold-bright); }
.abe-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--abe-gold); }
.abe-panel h2 { font-family: 'DM Sans', var(--font-sans); color: #fff; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; margin: 18px 0 0; font-weight: 700; letter-spacing: -0.01em; }
.abe-panel h2 .g { color: var(--abe-gold-bright); }
.abe-lede { color: rgba(240,244,248,.82); font-size: 17px; line-height: 1.6; max-width: 54ch; margin: 18px 0 0; }
.abe-lede strong { color: #fff; font-weight: 700; }
.abe-stats { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 30px 0 0; }
.abe-stat b { display: block; font-family: 'DM Sans', var(--font-sans); font-weight: 700; font-size: 26px; color: #fff; line-height: 1.1; }
.abe-stat span { font-size: 13px; color: rgba(240,244,248,.6); }
.abe-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn-gold { background: var(--abe-gold); color: #08140f; font-weight: 600; }
.btn-gold:hover { background: var(--abe-gold-bright); transform: translateY(-1px); }
.btn-ghost-gold { border: 1px solid rgba(224,178,63,.5); color: var(--abe-gold-bright); background: transparent; }
.btn-ghost-gold:hover { background: rgba(224,178,63,.12); border-color: var(--abe-gold-bright); }
/* ABE logo freed to transparency (assets/logo-abe-free.png) — it floats
   directly on the panel, backed by a soft gold glow, so nothing to blend. */
.abe-logo-card { position: relative; background: transparent; border: none; box-shadow: none; padding: 12px; display: grid; place-items: center; min-height: 200px; }
.abe-logo-card::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(224,178,63,.16), transparent 68%); pointer-events: none; }
.abe-logo-card img { position: relative; max-width: 70%; height: auto; display: block; filter: drop-shadow(0 18px 34px rgba(0,0,0,.4)); }
.abe-logo-fallback { text-align: center; font-family: 'DM Sans', var(--font-sans); }
.abe-logo-fallback .w { font-size: 46px; font-weight: 700; letter-spacing: .05em; color: #fff; line-height: 1; }
.abe-logo-fallback .s { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--abe-gold-bright); margin-top: 8px; }
@media (max-width: 860px) {
  .abe-grid { grid-template-columns: 1fr; }
  .abe-logo-card { order: -1; }
}

/* ==========================================================================
   Karriere — interactive job board + application modal
   ========================================================================== */
.careers-head { max-width: 680px; }
.careers-head .lede { margin-top: 16px; }
.perks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.perks li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-200); }
.perks svg { width: 19px; height: 19px; color: var(--accent); flex: none; }

/* filter chips */
.jobfilter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 46px 0 22px; }
.chip {
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 500; color: var(--ink-200);
  background: var(--glass); box-shadow: var(--hair); border: none; border-radius: var(--r-pill);
  padding: 9px 17px; cursor: pointer; transition: background .25s, color .25s, box-shadow .25s;
}
.chip:hover { background: var(--glass-hover); color: var(--ink-100); }
.chip.active { color: #052027; background: var(--accent); box-shadow: 0 6px 20px -8px rgba(39,182,204,.7); }
.jobcount { margin-left: auto; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--ink-400); }

/* job list */
.jobs { display: flex; flex-direction: column; gap: 12px; }
.job {
  background: var(--glass); border-radius: var(--r-card); box-shadow: var(--shadow-card);
  overflow: hidden; transition: background .3s, box-shadow .3s, opacity .35s, transform .35s;
}
.job:hover { background: var(--glass-hover); }
.job.hide { display: none; }
.job-head {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; align-items: center; gap: 20px; padding: 22px 26px; color: inherit;
}
.job-title { flex: 1; min-width: 0; }
.job-title h3 { font-size: 17px; font-weight: 600; color: var(--ink-100); margin: 0 0 10px; letter-spacing: -0.01em; }
.job-title .mwd { color: var(--ink-400); font-weight: 400; }
.job-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.jb { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-300); background: rgba(159,194,206,0.06); box-shadow: var(--hair); padding: 5px 10px; border-radius: var(--r-pill); }
.jb-key { color: var(--accent-bright); background: rgba(39,182,204,0.1); }
.job-chevron { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--hair); color: var(--ink-200); transition: transform .35s var(--ease), background .25s, color .25s; }
.job-chevron svg { width: 18px; height: 18px; }
.job:hover .job-chevron { background: rgba(39,182,204,0.1); color: var(--accent-bright); }
.job.open .job-chevron { transform: rotate(180deg); background: var(--accent); color: #052027; }
/* collapsible body via grid-rows animation */
.job-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.job.open .job-body { grid-template-rows: 1fr; }
.job-body-inner { overflow: hidden; min-height: 0; }
.job-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 44px; padding: 4px 26px 0; }
.job-cols h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; font-weight: 600; }
.job-cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.job-cols li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.55; color: var(--ink-200); }
.job-cols li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); opacity: .8; }
.job-cols a { color: var(--accent-bright); text-decoration: underline; text-underline-offset: 2px; }
.job-apply { margin: 22px 26px 26px; }

.jobs-foot { margin-top: 26px; font-size: 14px; color: var(--ink-300); }
.linklike { background: none; border: none; padding: 0; font: inherit; color: var(--accent-bright); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* application modal */
.apply-modal { position: fixed; inset: 0; z-index: 1500; display: none; align-items: center; justify-content: center; padding: 24px; }
.apply-modal.open { display: flex; }
.apply-backdrop { position: absolute; inset: 0; background: rgba(3,5,9,0.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: applyFade .3s var(--ease); }
.apply-card {
  position: relative; width: min(560px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--surface-1); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-float);
  border: 1px solid var(--line); animation: applyIn .38s var(--ease);
}
.apply-card .eyebrow { display: block; }
.apply-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--ink-100); margin: 12px 0 6px; }
.apply-x { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--glass); box-shadow: var(--hair); border: none; color: var(--ink-200); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.apply-x:hover { background: var(--glass-hover); color: var(--ink-100); }
.apply-x svg { width: 18px; height: 18px; }
#apply-position { color: var(--accent-bright); font-weight: 600; cursor: default; }
.apply-card .form-ok { padding: 24px 0 8px; }
@keyframes applyFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes applyIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .job-head { padding: 18px 18px; gap: 14px; }
  .job-cols { grid-template-columns: 1fr; padding: 4px 18px 0; }
  .job-apply { margin: 20px 18px 22px; }
  .apply-card { padding: 30px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .job-body { transition: none; }
  .apply-backdrop, .apply-card { animation: none; }
}
