/* Portachtzig – statische Übergangswebsite */
/* Zwei bewusst einfache Farbschemata: reinweiß / vollschwarz. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-hover: #f5f5f5;
  --fg: #000000;
  --muted: #454545;
  --border: #d6d6d6;
  --accent: #f6dc29;
  --accent-text: #625000; /* besserer Kontrast für kleine Schrift auf Weiß */
  --legal-text: #292929;
  --focus: #000000;
  --max: 1320px;
}

/* Automatisch nach Systemeinstellung, wenn kein manueller Wert gesetzt ist. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #000000;
    --surface: #000000;
    --surface-hover: #171717;
    --fg: #ffffff;
    --muted: #c2c2c2;
    --border: rgba(255,255,255,.22);
    --accent-text: #f6dc29;
    --legal-text: #dedede;
    --focus: #f6dc29;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #000000;
  --surface: #000000;
  --surface-hover: #171717;
  --fg: #ffffff;
  --muted: #c2c2c2;
  --border: rgba(255,255,255,.22);
  --accent-text: #f6dc29;
  --legal-text: #dedede;
  --focus: #f6dc29;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg); margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #000; }
a { color: inherit; }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: absolute; left:12px; top:-90px; z-index:100; background:var(--accent); color:#000; padding:12px 16px; }
.skip-link:focus { top:12px; }
.shell { width: min(var(--max), calc(100% - 104px)); margin-inline:auto; }
.site-header { position: relative; z-index:3; background:var(--bg); }
.header-inner { min-height:110px; display:flex; align-items:center; justify-content:space-between; gap:30px; border-bottom:1px solid var(--border); }
.brand { display:inline-flex; align-items:center; gap:14px; flex-shrink:0; text-decoration:none; color:var(--fg); line-height:1; }
.brand-mark { width:190px; height:auto; flex:none; }
/* Original-Wortmarke aus logo_yellow.svg: heller Modus gelbe Fläche / dunkler Modus gelbe Schrift. */
.brand-logo-dark { display:none; }
:root[data-theme="dark"] .brand-logo-light { display:none; }
:root[data-theme="dark"] .brand-logo-dark { display:block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .brand-logo-light { display:none; }
  :root:not([data-theme]) .brand-logo-dark { display:block; }
}
.brand:hover { color:var(--fg); }
.nav { display:flex; align-items:center; gap:24px; font-size:13px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
.nav a { text-decoration:none; padding-block:10px; }
.nav .nav-contact { padding:14px 17px; border:1px solid var(--fg); color:var(--fg); }
.nav .nav-contact:hover { color:#000; background:var(--accent); border-color:var(--accent); }
.theme-toggle {
  display:inline-flex; align-items:center; justify-content:center; flex:none;
  width:43px; height:43px; padding:0; cursor:pointer;
  border:1px solid var(--border); border-radius:0; background:var(--bg); color:var(--fg);
  font:inherit; line-height:1;
}
.theme-toggle:hover { background:var(--accent); color:#000; border-color:var(--accent); }
.theme-toggle svg { width:21px; height:21px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.theme-icon-sun { display:none; }
:root[data-theme="dark"] .theme-icon-moon { display:none; }
:root[data-theme="dark"] .theme-icon-sun { display:block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-icon-moon { display:none; }
  :root:not([data-theme]) .theme-icon-sun { display:block; }
}

.eyebrow { margin:0; color:var(--accent-text); text-transform:uppercase; font-weight:800; font-size:12px; letter-spacing:.2em; }
.hero { padding:clamp(92px,12vw,175px) 0 80px; position:relative; overflow:hidden; }
.hero-heading { margin:33px 0 0; max-width:1050px; font-weight:800; letter-spacing:-.075em; font-size:clamp(63px,8.8vw,143px); line-height:.99; }
/* Gelb erscheint als Markierung, im Hellmodus bleibt die Schrift schwarz lesbar. */
.hero-heading span { color:var(--fg); text-decoration:underline; text-decoration-color:var(--accent); text-decoration-thickness:.085em; text-underline-offset:.08em; }
.hero-bottom { display:grid; grid-template-columns:.8fr 1.2fr; gap:40px; align-items:start; margin-top:clamp(64px,9vw,130px); padding-top:33px; border-top:1px solid var(--border); }
.hero-bottom .micro { color:var(--muted); font-size:13px; letter-spacing:.13em; text-transform:uppercase; font-weight:bold; }
.intro { font-size:clamp(20px,2.35vw,31px); line-height:1.38; letter-spacing:-.025em; margin:0; max-width:840px; }
.intro + .intro { margin-top:20px; color:var(--muted); font-size:clamp(16px,1.5vw,19px); line-height:1.64; letter-spacing:0; }
.marquee-static { border-block:1px solid var(--border); overflow:hidden; color:var(--fg); padding-block:20px; }
.marquee-static .shell { display:flex; justify-content:space-between; align-items:center; gap:24px; font-size:12px; font-weight:bold; letter-spacing:.13em; text-transform:uppercase; white-space:nowrap; }
.marquee-static .separator { color:var(--accent-text); font-size:20px; font-weight:600; line-height:1; }
.section { padding-block:clamp(88px,10vw,150px); }
.section-heading { display:grid; grid-template-columns:.8fr 1.2fr; gap:40px; padding-bottom:57px; align-items:start; }
.section-title { font-size:clamp(44px,6.6vw,94px); line-height:1; letter-spacing:-.07em; font-weight:800; margin:0; }
.section-kicker { padding-top:18px; color:var(--muted); line-height:1.6; max-width:620px; font-size:17px; }
.section-kicker strong { color:var(--fg); }
.tech-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--border); border:1px solid var(--border); }
.tech-card { background:var(--surface); min-height:307px; padding:38px; display:flex; flex-direction:column; transition:background .2s; }
.tech-card:hover { background:var(--surface-hover); }
.tech-top { display:flex; justify-content:space-between; align-items:start; gap:20px; }
.tech-num { font-size:13px; color:var(--accent-text); letter-spacing:.08em; font-weight:bold; }
.arrow-icon { width:20px; height:20px; color:var(--accent-text); transition:transform .2s; }
.tech-card:hover .arrow-icon { transform:translate(3px,-3px); }
.tech-card h3 { margin:58px 0 10px; font-size:clamp(30px,3vw,44px); font-weight:800; letter-spacing:-.05em; }
.tech-card p { color:var(--muted); max-width:450px; line-height:1.65; font-size:16px; margin:0; }
.tech-card .tech-link { color:var(--fg); text-decoration-color:var(--accent-text); text-decoration-thickness:2px; text-underline-offset:4px; font-size:13px; margin-top:22px; width:fit-content; }
.small-note { margin-top:30px; color:var(--muted); font-size:14px; }
.small-note a { color:var(--fg); text-underline-offset:4px; }
.contact { background:var(--bg); color:var(--fg); border-top:1px solid var(--border); padding:clamp(76px,9vw,140px) 0; }
.contact .eyebrow { color:var(--accent-text); }
.contact h2 { font-size:clamp(53px,9vw,136px); line-height:.99; letter-spacing:-.075em; margin:30px 0 50px; max-width:1110px; }
.contact a.email { display:inline-flex; gap:18px; align-items:center; text-decoration:none; border-bottom:3px solid var(--accent); padding-bottom:13px; font-weight:800; font-size:clamp(21px,3vw,39px); letter-spacing:-.05em; }
.contact a.email:hover { color:var(--accent-text); }
.contact .contact-note { max-width:500px; line-height:1.6; margin-top:52px; color:var(--muted); font-size:15px; }
.site-footer { padding:35px 0; }
.footer-inner { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; align-items:center; }
.site-footer small { color:var(--muted); font-size:12px; letter-spacing:.08em; }
.footer-links { display:flex; flex-wrap:wrap; gap:26px; font-size:13px; }
.footer-links a { text-underline-offset:4px; }
.legal-hero { padding-block:clamp(75px,10vw,140px) 65px; border-bottom:1px solid var(--border); }
.legal-hero h1 { font-size:clamp(58px,8vw,112px); line-height:1; letter-spacing:-.07em; margin:20px 0 0; }
.legal-wrap { display:grid; grid-template-columns:.7fr 1.3fr; gap:70px; padding-top:64px; padding-bottom:140px; }
.legal-aside { font-size:13px; text-transform:uppercase; letter-spacing:.09em; color:var(--accent-text); font-weight:bold; }
.legal-content { max-width:780px; }
.legal-content h2 { font-size:29px; letter-spacing:-.04em; margin:44px 0 18px; }
.legal-content h2:first-child { margin-top:0; }
.legal-content p, .legal-content li, .legal-content address { color:var(--legal-text); font-size:17px; line-height:1.72; font-style:normal; }
.legal-content p { margin:0 0 23px; }
.legal-content ul { margin:0 0 27px; padding-left:24px; }
.legal-content a { text-underline-offset:4px; }
.legal-content .legal-company { color:var(--fg); font-weight:bold; font-size:22px; }
.legal-content .legal-note { border-left:2px solid var(--accent); padding:0 0 0 22px; }
@media (max-width:800px) {
  .shell { width:min(100% - 40px,var(--max)); }
  .header-inner { min-height:85px; gap:15px; }
  .brand-mark { width:170px; }
  .nav { gap:12px; font-size:12px; }
  .nav .nav-contact { padding:12px; }
  .theme-toggle { width:39px; height:39px; }
  .hero { padding-top:85px; padding-bottom:70px; }
  .hero-heading { font-size:clamp(60px,10vw,100px); }
  .hero-bottom,.section-heading,.legal-wrap { grid-template-columns:1fr; gap:24px; }
  .section-heading { padding-bottom:38px; }
  .section-kicker { padding-top:0; }
  .legal-aside { margin-bottom:6px; }
}
@media (max-width:540px) {
  .nav a:not(.nav-contact) { display:none; }
  .brand { gap:9px; }
  .brand-mark { width:145px; }
  .nav { gap:9px; }
  .nav .nav-contact { padding:10px; font-size:11px; }
  .theme-toggle { width:37px; height:37px; }
  .hero-heading { font-size:clamp(52px,12.6vw,78px); }
  .hero-bottom { margin-top:75px; }
  .marquee-static .shell { gap:15px; font-size:10px; }
  .marquee-static .shell span:nth-of-type(n+6) { display:none; }
  .tech-grid { grid-template-columns:1fr; }
  .tech-card { min-height:260px; padding:27px; }
  .tech-card h3 { margin-top:37px; }
  .contact a.email { font-size:clamp(20px,5.5vw,29px); }
  .footer-inner { align-items:flex-start; flex-direction:column; gap:25px; }
  .legal-wrap { padding-bottom:90px; }
}
@media (max-width:390px) { .nav .nav-contact { display:none; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; } }
@media print {
  :root, :root[data-theme="dark"], :root[data-theme="light"] {
    color-scheme:light; --bg:#fff; --surface:#fff; --fg:#000; --muted:#333; --legal-text:#111; --border:#ccc; --accent-text:#000;
  }
  .site-header,.contact,.marquee-static,.site-footer { display:none; }
  body { color:#000; background:white; }
  .shell { width:100%; }
}
