/* ============================================================
   ROHFELD — rohfeld.com
   © 2026 Rohfeld · Basis-Stylesheet (Wartungsseite + Karriere)
   ============================================================ */

:root {
  --bg: #eceff1;
  --panel: #f7f8f9;
  --card: #ffffff;
  --ink: #1c2126;
  --ink-soft: #4a5560;
  --muted: #7a8590;
  --line: #dde2e6;
  --line-soft: #e8ecef;
  --accent: #23282e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 30, 40, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font-family: inherit; }

.page {
  width: min(1440px, calc(100% - 40px));
  margin: 20px auto;
  background: var(--panel);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Weiche graue Hintergrund-Wellen wie in der Vorlage */
.waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 60%, rgba(190, 198, 206, .35) 0%, transparent 70%),
    radial-gradient(55% 45% at 10% 85%, rgba(190, 198, 206, .30) 0%, transparent 70%),
    radial-gradient(40% 35% at 55% 30%, rgba(210, 216, 222, .28) 0%, transparent 70%);
}

/* ---------------- Header ---------------- */
.site-header {
  position: relative;
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 34px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .35em; font-weight: 600; font-size: 19px; }
.brand svg { width: 34px; height: 30px; }
.nav-main { display: flex; gap: 30px; font-size: 15px; color: var(--ink-soft); }
.nav-main a:hover { color: var(--ink); }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-sep { width: 1px; height: 26px; background: var(--line); margin: 0 10px; }

.menu { position: relative; }
.menu-btn {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
  font-size: 15px; color: var(--ink-soft); padding: 9px 12px; border-radius: 9px;
}
.menu-btn:hover { background: var(--line-soft); color: var(--ink); }
.menu-btn svg { width: 14px; height: 14px; transition: transform .18s; }
.menu.open .menu-btn svg.caret { transform: rotate(180deg); }
.menu-list {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 7px; display: none; z-index: 30;
}
.menu.open .menu-list { display: block; }
.menu-list a, .menu-list button {
  display: flex; width: 100%; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; font-size: 14px;
  color: var(--ink-soft); background: none; border: 0; cursor: pointer; text-align: left;
}
.menu-list a:hover, .menu-list button:hover { background: var(--line-soft); color: var(--ink); }
.menu-list .active { color: var(--ink); font-weight: 600; }

/* ---------------- Hero / Wartung ---------------- */
.hero {
  position: relative; z-index: 2;
  text-align: center;
  padding: 74px 24px 90px;
  flex: 1;
}
.hero-icon { width: 74px; height: 74px; margin: 0 auto 22px; color: var(--accent); }
.eyebrow { letter-spacing: .5em; font-size: 13px; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 26px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); margin: 0 0 8px; font-weight: 700; }
.hero h2 { font-size: clamp(18px, 2.4vw, 26px); margin: 0 0 18px; font-weight: 600; }
.hero .sub { color: var(--muted); font-size: 16px; margin: 0 auto 46px; max-width: 640px; }

.count-card {
  margin: 0 auto; max-width: 640px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 22px;
  backdrop-filter: blur(4px);
}
.count-title { font-weight: 600; margin-bottom: 20px; }
.count-grid { display: flex; justify-content: center; align-items: center; gap: 12px; }
.count-box {
  background: #fff; border: 1px solid var(--line-soft); border-radius: 12px;
  width: 112px; padding: 16px 8px 12px;
}
.count-box b { display: block; font-size: 34px; font-weight: 600; }
.count-box span { font-size: 13px; color: var(--muted); }
.count-colon { font-size: 26px; color: var(--muted); }
.count-date { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 18px; color: var(--ink-soft); font-size: 15px; }
.count-date svg { width: 18px; height: 18px; }

/* ---------------- Footer ---------------- */
.site-footer { position: relative; z-index: 2; background: #fff; border-top: 1px solid var(--line-soft); padding: 44px 44px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr) auto; gap: 28px; padding-bottom: 34px; }
.footer-brand { letter-spacing: .3em; font-weight: 600; margin-bottom: 16px; }
.footer-blurb { color: var(--muted); font-size: 13.5px; line-height: 1.8; max-width: 220px; }
.footer-col h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-social { display: flex; gap: 14px; }
.footer-social a { color: var(--ink-soft); }
.footer-social svg { width: 24px; height: 24px; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 18px 0 22px; font-size: 13px; color: var(--muted); flex-wrap: wrap;
}
.footer-bottom .mid { text-align: center; flex: 1; }

/* ---------------- Buttons & Formulare ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; cursor: pointer; border-radius: 11px; font-size: 15px; font-weight: 500;
  padding: 13px 26px; transition: .18s;
}
.btn-dark { background: var(--accent); color: #fff; }
.btn-dark:hover { background: #3a4048; }
.btn-light { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.btn-light:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.field { margin-bottom: 16px; text-align: left; }
.field label { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; padding: 12px 14px; font-family: inherit; font-size: 14.5px; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #c7ced4; border-color: transparent; }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.field.err input, .field.err select, .field.err textarea { border-color: #c0392b; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1000px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-social { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: 14px; padding: 16px 18px; }
  .nav-main { order: 3; width: 100%; gap: 20px; }
  .count-grid { flex-wrap: wrap; }
  .count-colon { display: none; }
  .site-footer { padding: 34px 22px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .two-cols { grid-template-columns: 1fr; }
  .page { width: calc(100% - 16px); margin: 8px auto; }
}
