:root {
  --navy: #071725;
  --navy-soft: #0c2233;
  --cream: #f1eadc;
  --gold: #c3a36a;
  --line: rgba(241, 234, 220, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--cream); background: var(--navy); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; }

.site-header {
  position: absolute; z-index: 10; top: 0; left: 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 30px clamp(24px, 5vw, 80px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 15px; text-decoration: none; text-transform: uppercase; letter-spacing: .12em; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--gold); color: var(--gold); font-family: Georgia, serif; font-size: 17px; }
.brand strong { display: block; font-size: 13px; font-weight: 600; }
.brand small { display: block; margin-top: 5px; color: #9bacb6; font-size: 9px; }
nav { display: flex; gap: 34px; }
nav a { color: #d3dbe0; text-decoration: none; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; }
nav a:hover { color: var(--gold); }

.hero {
  min-height: 760px; display: flex; align-items: flex-end; position: relative; overflow: hidden;
  padding: 170px clamp(24px, 7vw, 110px) 90px;
  background: linear-gradient(90deg, rgba(3,14,23,.78) 0%, rgba(3,14,23,.42) 52%, rgba(3,14,23,.08) 100%), url("hauptbild-lebenswelten.png") center/cover;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--navy), transparent 28%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 1040px; }
.eyebrow, .card-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 600; }
h1 { margin: 20px 0 26px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(58px, 8.5vw, 132px); font-weight: 600; line-height: .89; letter-spacing: -.045em; }
h1 span { color: transparent; -webkit-text-stroke: 1px var(--gold); font-style: italic; }
.intro { max-width: 560px; color: #c7d0d6; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.55; }
.discover { display: inline-flex; gap: 20px; align-items: center; margin-top: 28px; color: var(--cream); text-decoration: none; text-transform: uppercase; letter-spacing: .17em; font-size: 11px; border-bottom: 1px solid var(--gold); padding-bottom: 10px; }
.discover span { color: var(--gold); font-size: 18px; }

.portals { padding: 105px clamp(18px, 5vw, 75px) 125px; }
.section-heading { margin: 0 auto 44px; max-width: 1450px; }
.section-heading h2 { margin: 10px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 4vw, 58px); font-weight: 600; }
.portal-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1450px; margin: auto; }
.portal-card {
  min-height: 650px; position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  padding: clamp(28px, 3.4vw, 52px); border: 1px solid var(--line); text-decoration: none;
  background-size: cover; background-position: center; transition: transform .35s ease, border-color .35s ease;
}
.portal-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(3,13,22,.98) 7%, rgba(3,13,22,.63) 60%, rgba(3,13,22,.25)); transition: background .35s ease; }
.portal-card:hover { z-index: 2; transform: translateY(-10px); border-color: var(--gold); }
.portal-card:hover::before { background: linear-gradient(0deg, rgba(3,13,22,.98) 5%, rgba(3,13,22,.52) 65%, rgba(3,13,22,.16)); }
.personal { background-image: url("bodensee-nebelsteg.png"); background-position: center 43%; }
.studio { background-image: url("medienstudio-camera-mischpult.png"); background-position: center 30%; }
.ehs { background-image: url("industriehalle.png"); }
.card-number { position: absolute; top: 32px; right: 34px; color: rgba(255,255,255,.62); font-size: 11px; letter-spacing: .16em; }
.card-content { max-width: 390px; }
.card-kicker { margin-bottom: 20px; }
.card-content h3 { margin: 0 0 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 4vw, 62px); line-height: .98; font-weight: 600; }
.studio .card-content h3 { font-size: clamp(36px, 3.25vw, 52px); letter-spacing: -.025em; overflow-wrap: anywhere; }
.card-content > p:not(.card-kicker) { min-height: 76px; color: #c1cbd1; line-height: 1.55; font-size: 15px; }
.card-link { display: inline-flex; gap: 16px; margin-top: 22px; border-bottom: 1px solid var(--gold); padding-bottom: 9px; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 600; }
.card-link b { color: var(--gold); font-size: 15px; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 40px clamp(24px, 5vw, 80px); border-top: 1px solid var(--line); color: #9bacb6; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand p { line-height: 1.7; }
.footer-brand strong { color: var(--cream); text-transform: uppercase; letter-spacing: .1em; }
footer > p:nth-child(2) { text-align: center; }
footer > p:last-child { text-align: right; }
footer a { text-decoration: none; }
footer a:hover { color: var(--gold); }
.footer-links { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }

.legal-page { min-height: 100vh; }
.legal-header { position: static; background: #081a29; }
.legal-header .brand { flex: 1; }
.legal-main { max-width: 900px; margin: 0 auto; padding: 90px 28px 120px; color: #d3dbe0; }
.legal-main .eyebrow { margin-bottom: 14px; }
.legal-main h1 { margin: 0 0 50px; color: var(--cream); font-size: clamp(48px, 7vw, 82px); line-height: 1; }
.legal-main h2 { margin: 44px 0 14px; color: var(--cream); font-family: Georgia, "Times New Roman", serif; font-size: 28px; }
.legal-main h3 { margin: 28px 0 10px; color: var(--cream); font-size: 18px; }
.legal-main p, .legal-main li { line-height: 1.75; }
.legal-main a { color: var(--gold); }
.legal-note { margin-top: 50px; padding: 22px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.04); }

@media (max-width: 960px) {
  .hero { min-height: 680px; }
  .portal-grid { grid-template-columns: 1fr; gap: 18px; }
  .portal-card { min-height: 540px; }
  .card-content > p:not(.card-kicker) { min-height: auto; }
}
@media (max-width: 620px) {
  .site-header { padding: 20px; }
  .brand small { display: none; }
  nav { gap: 17px; }
  nav a { font-size: 9px; }
  .hero { min-height: 650px; padding-bottom: 70px; }
  h1 { font-size: clamp(50px, 16vw, 76px); }
  .portals { padding-top: 75px; padding-bottom: 80px; }
  .portal-card { min-height: 500px; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer > p:nth-child(2), footer > p:last-child { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portal-card { transition: none; }
}
