/* ============================================================
   Glas Spiess GmbH – Holz-, Glas- & Metallbau
   Weiß-Rot, kräftig & handwerklich
   ============================================================ */

:root {
  --red:        #c8102e;
  --red-dark:   #9e0c24;
  --red-soft:   #fbe9ec;
  --ink:        #1a1a1a;
  --ink-soft:   #4a4a4a;
  --line:       #e7e7e7;
  --bg:         #ffffff;
  --bg-alt:     #f6f6f6;
  --white:      #ffffff;
  --shadow:     0 18px 40px -22px rgba(0,0,0,.45);
  --radius:     4px;
  --maxw:       1180px;
  --head:       'Oswald', 'Arial Narrow', sans-serif;
  --body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-dark); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; line-height: 1.1; letter-spacing: .5px; }

.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  color: var(--red);
  margin-bottom: 14px;
  position: relative;
  padding-left: 42px;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 30px; height: 3px; background: var(--red); transform: translateY(-50%);
}
.eyebrow.center { padding-left: 0; }
.eyebrow.center::before { display: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 34px; width: auto; }
.brand .brand-sub {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 2px;
  font-size: 12px; color: var(--ink-soft); border-left: 2px solid var(--red);
  padding-left: 12px; line-height: 1.2;
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 10px 16px; border-radius: var(--radius); transition: all .2s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--white); background: var(--red); }
.nav-cta {
  background: var(--ink); color: var(--white) !important;
  padding: 12px 22px !important; margin-left: 8px;
}
.nav-cta:hover { background: var(--red); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 10px; width: 24px; height: 2.5px;
  background: var(--ink); transition: all .25s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.open span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--ink); color: var(--white);
  overflow: hidden;
}
/* Großes, freigestelltes Team-Foto im Hintergrund */
.hero-bg {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 96%;
}
/* Farbverlauf zum Einbetten des Fotos */
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(26,26,26,.97) 26%, rgba(26,26,26,.55) 52%, rgba(26,26,26,.18) 78%, rgba(26,26,26,.30) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(26,26,26,0) 26%),
    linear-gradient(180deg, rgba(26,26,26,.55) 0%, rgba(26,26,26,0) 22%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: 660px;
}
.hero-text { padding: 90px 0; max-width: 600px; }
.hero-text .eyebrow { color: #ff8499; }
.hero h1 {
  font-size: clamp(40px, 6vw, 80px); text-transform: uppercase; line-height: .98;
  margin-bottom: 22px;
  text-shadow: 0 2px 28px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.5);
}
.hero h1 .accent { color: var(--red); }
.hero p {
  font-size: 19px; color: #e4e4e4; max-width: 520px; margin-bottom: 34px;
  text-shadow: 0 1px 12px rgba(0,0,0,.7);
}
.hero .hero-badges .num, .hero .hero-badges .lbl { text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.hero-badges { display: flex; gap: 34px; margin-top: 8px; flex-wrap: wrap; }
.hero-badges .num { font-family: var(--head); font-size: 40px; color: var(--white); line-height: 1; }
.hero-badges .lbl { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: #b9b9b9; }
.hero-badges .accent { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px;
  font-weight: 500; font-size: 16px; padding: 16px 30px; border-radius: var(--radius);
  cursor: pointer; border: 2px solid var(--red); transition: all .2s;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-dark:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { max-width: 720px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); text-transform: uppercase; margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }
.bg-alt { background: var(--bg-alt); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-ink .section-head p { color: #c4c4c4; }
.lead { font-size: 21px; line-height: 1.6; color: var(--ink); }

/* ---------- Stat strip ---------- */
.stats {
  background: var(--red); color: var(--white);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stats .stat { padding: 46px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.18); }
.stats .stat:last-child { border-right: 0; }
.stats .num { font-family: var(--head); font-size: 54px; line-height: 1; margin-bottom: 8px; }
.stats .lbl { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: #ffd5dc; }

/* ---------- Disciplines / cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.card .card-img { aspect-ratio: 780 / 336; background-size: cover; background-position: center; }
.card .card-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 23px; text-transform: uppercase; margin-bottom: 12px; }
.card h3 .bar { color: var(--red); }
.card p { color: var(--ink-soft); font-size: 16px; margin-bottom: 18px; flex: 1; }
.card .more {
  font-family: var(--head); text-transform: uppercase; letter-spacing: 1.5px;
  font-size: 14px; color: var(--red); display: inline-flex; align-items: center; gap: 8px;
}
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(5px); }

/* discipline tag card */
.disc {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px;
  display: flex; align-items: flex-end; color: var(--white);
  background-size: cover; background-position: center;
}
.disc::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.78)); }
.disc .disc-body { position: relative; z-index: 2; padding: 28px; }
.disc h3 { font-size: 26px; text-transform: uppercase; }
.disc p { color: #e4e4e4; font-size: 15px; margin-top: 6px; }
.disc .kicker { color: var(--red); font-family: var(--head); letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.disc:hover { transform: translateY(-4px); }
.disc { transition: transform .25s; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split h2 { font-size: clamp(28px, 3.6vw, 42px); text-transform: uppercase; margin-bottom: 18px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; }
.split .signature { margin-top: 24px; font-family: var(--head); font-size: 22px; color: var(--ink); }
.split .signature span { display: block; font-family: var(--body); font-size: 14px; color: var(--ink-soft); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- White-shirt manifesto ---------- */
.manifesto { text-align: center; }
.manifesto .big {
  font-family: var(--head); text-transform: uppercase; font-size: clamp(28px, 4.5vw, 56px);
  line-height: 1.05; max-width: 900px; margin: 0 auto 26px;
}
.manifesto .big .accent { color: var(--red); }
.manifesto .body { max-width: 740px; margin: 0 auto; color: var(--ink-soft); font-size: 18px; }

/* ---------- Service detail rows ---------- */
.service-row { padding: 0; border-bottom: 1px solid var(--line); }
.service-row .split { padding: 70px 0; }

/* checklist */
.checklist { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 8px 0 0; }
.checklist li { position: relative; padding-left: 32px; color: var(--ink); font-size: 16px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; background: var(--red); color: #fff;
  border-radius: 50%; font-size: 13px; display: grid; place-items: center; font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: var(--white); text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4vw, 50px); text-transform: uppercase; margin-bottom: 16px; }
.cta-band p { font-size: 19px; color: #ffe1e6; max-width: 620px; margin: 0 auto 30px; }
.cta-band .btn-primary { background: var(--ink); border-color: var(--ink); }
.cta-band .btn-primary:hover { background: #000; border-color:#000; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.info-block { margin-bottom: 28px; }
.info-block .ic {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  background: var(--red-soft); color: var(--red); border-radius: 50%;
  font-size: 20px; margin-bottom: 12px;
}
.info-block h4 { font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.info-block p, .info-block a { color: var(--ink-soft); font-size: 17px; }

form .field { margin-bottom: 18px; }
form label { display: block; font-family: var(--head); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; margin-bottom: 7px; color: var(--ink); }
form input, form textarea, form select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--body); font-size: 16px; background: var(--white); transition: border .2s;
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--red); }
form textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check-line input { width: auto; margin-top: 5px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.form-success { display:none; background: var(--red-soft); border:1px solid var(--red); color: var(--red-dark); padding: 16px; border-radius: var(--radius); margin-bottom: 18px; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 36px; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: 70px 0; position: relative; }
.page-hero .eyebrow { color: #ff8499; }
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); text-transform: uppercase; }
.page-hero p { color: #cfcfcf; max-width: 640px; margin-top: 14px; font-size: 18px; }
.crumb { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: #9a9a9a; margin-bottom: 18px; font-family: var(--head); }
.crumb a { color: #9a9a9a; }
.crumb a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #111; color: #c9c9c9; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 30px; margin-bottom: 18px; filter: brightness(0) invert(1); }
.site-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.site-footer p { font-size: 15px; line-height: 1.8; }
.site-footer a { color: #c9c9c9; }
.site-footer a:hover { color: var(--red); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid #2a2a2a; margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #8a8a8a;
}
.footer-bottom a { color: #8a8a8a; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-bg { left: 0; right: 0; background-position: bottom center; background-size: contain; }
  .hero-overlay {
    background:
      linear-gradient(180deg, var(--ink) 0%, rgba(26,26,26,.85) 30%, rgba(26,26,26,.35) 55%, rgba(26,26,26,.25) 100%),
      linear-gradient(0deg, var(--ink) 0%, rgba(26,26,26,0) 30%);
  }
  .hero-inner { min-height: 620px; align-items: flex-start; }
  .hero-text { padding: 50px 0 290px; max-width: 100%; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:nth-child(2) { border-right: 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .3s; max-height: calc(100vh - 78px); overflow:auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 16px 8px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 12px 0 0; text-align: center; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .brand .brand-sub { display: none; }
  section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .stats .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .form-row { grid-template-columns: 1fr; }
}
