/* Netcee site.css – schlankes Vanilla-CSS im Story-Look, ohne Frameworks.
   Systemschriften (keine Webfonts, DSGVO-freundlich), Dark Mode, A11y. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #fff;
  --fg: #1a1a1a;
  --muted: #555;
  --accent: #0e7d8c;
  --accent-hover: #0a626e;
  --line: rgba(0, 0, 0, .16);
  --soft: rgba(0, 0, 0, .045);
  --card: #fff;
  --radius: 1.5em;
  --max: 72rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101418;
    --fg: #e9ebee;
    --muted: #b6bcc4;
    --accent: #5fd6e3;
    --accent-hover: #8fe6ef;
    --line: rgba(255, 255, 255, .18);
    --soft: rgba(255, 255, 255, .05);
    --card: #161b21;
  }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

h1, h2, h3 { font-weight: 300; letter-spacing: -.02em; line-height: 1.25; margin: 0 0 1rem; }
h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.25rem; }
a { color: inherit; text-underline-offset: .15em; }
a:hover { color: var(--accent); }

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

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--fg); color: var(--bg); padding: .6rem 1rem;
  border-radius: 0 0 .5rem .5rem; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; color: var(--bg); }

#wrapper { max-width: 100%; overflow-x: clip; }
.inner { max-width: var(--max); margin: 0 auto; padding: 4rem 1.5rem; }

/* Banner / Hero */
.banner {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100vh; min-height: 100svh; align-items: stretch;
}
.banner .content {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2rem, 6vw, 6rem);
}
.banner .major { font-size: 1.25rem; color: var(--muted); }
.banner .image { min-height: 16rem; }
.banner .image img { width: 100%; height: 100%; object-fit: cover; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.banner .content > * { animation: rise .6s ease both; }
.banner .content > *:nth-child(2) { animation-delay: .08s; }
.banner .content > *:nth-child(3) { animation-delay: .16s; }

/* Spotlight (Bild + Text im Wechsel) */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.spotlight.orient-right .content { order: 1; }
.spotlight.orient-right .image { order: 2; }
.spotlight.orient-left .image { order: 1; }
.spotlight.orient-left .content { order: 2; }
.spotlight .content { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.spotlight .image img { width: 100%; height: 100%; object-fit: cover; }

/* Karten-Raster (Offer / Funktionen) */
.items {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin-bottom: 2rem;
}
.items > section {
  background: var(--card); border: 1px solid var(--line);
  border-radius: .75rem; padding: 1.75rem 1.5rem; text-align: center;
}
.align-center { text-align: center; }
.align-left { text-align: left; }

/* Icon-Kreis mit Inline-SVG statt Icon-Font */
.icon-circle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.9em; height: 2.9em; font-size: 1.4rem;
  border: 1px solid var(--line); border-radius: 50%; margin-bottom: 1rem;
}
.icon-circle svg { width: 1.25em; height: 1.25em; }

/* Buttons */
.actions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.actions.vertical { flex-direction: column; align-items: flex-start; }
.actions.horizontal { flex-direction: row; }
.button {
  display: inline-block; text-decoration: none; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .8em 2em; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  background: transparent; color: inherit; transition: border-color .2s, color .2s;
}
.button:hover { border-color: var(--accent); color: var(--accent); }
.button.big { font-size: .95rem; }
.button.wide { min-width: 14em; text-align: center; }
.button.primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
  font-weight: 600;
}
.button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
@media (prefers-color-scheme: dark) {
  .button.primary { color: #06282d; }
  .button.primary:hover { color: #06282d; }
}

/* Footer */
footer .icons { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; gap: .75rem; justify-content: center; }
footer .icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6em; height: 2.6em; font-size: 1.1rem;
  border: 1px solid var(--line); border-radius: 50%; text-decoration: none;
}
footer .icons a:hover { border-color: var(--accent); color: var(--accent); }
footer .icons svg { width: 1.2em; height: 1.2em; }
.label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .85rem; color: var(--muted); }

/* FAQ (dfc) */
#faq h3 { margin-top: 2rem; font-size: 1.2rem; }
#faq ol, #faq ul.faq-list { padding-left: 1.25rem; }
.bullet { font-weight: 700; }

/* Formulare (key) */
form { max-width: 34rem; }
label { display: block; font-weight: 600; margin: 1rem 0 .3rem; }
input[type="text"], input[type="password"], select, textarea {
  width: 100%; font: inherit; color: var(--fg); background: var(--card);
  border: 1px solid var(--line); border-radius: .5rem; padding: .65rem .8rem;
}
textarea[readonly] { background: var(--soft); }
.hint { color: var(--muted); font-size: .9rem; }

/* Kompakte Rechtstexte */
.legal { max-width: 52rem; margin: 0 auto; padding: 4rem 1.5rem; }
.legal li { margin-bottom: .5rem; }
.release { border-top: 1px solid var(--line); padding-top: 1rem; }
.release h2 { margin-top: 2.5rem; }
.back { margin-top: 3rem; }
.mt1 { margin-top: 1rem; }

/* Scroll-Reveal: ohne JS ist alles sichtbar */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 48rem) {
  .banner, .spotlight { grid-template-columns: 1fr; min-height: 0; }
  .spotlight.orient-right .content, .spotlight.orient-left .content { order: 1; }
  .spotlight.orient-right .image, .spotlight.orient-left .image { order: 2; min-height: 14rem; }
  .banner .image { min-height: 14rem; order: 2; }
  .actions.vertical { align-items: stretch; }
  .button.wide { min-width: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
