/* ============================================================
   NEEDJU — Portal-Stylesheet
   Vorbild: klassische deutsche Freemail-Portale (GMX / web.de).
   Weiß, Grau, Blau. Dichte Kopfzeile, klare Utility-Flächen.
   Kein Backend, keine echten Konten — nur eine sehr gute Fassade.
   ============================================================ */

:root {
  --blue: #0b57a4;
  --blue-dark: #073e75;
  --blue-deep: #052e56;
  --blue-hover: #094a8c;
  --blue-soft: #eaf2fb;
  --blue-line: #c9dcf0;
  --red: #c8321f;
  --red-soft: #fbecea;
  --ink: #1c2530;
  --ink-2: #3d4a58;
  --muted: #63717f;
  --muted-2: #8492a0;
  --line: #d9e0e7;
  --line-soft: #e8edf2;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-blue: #f7fafd;
  --green: #187a45;
  --green-soft: #e8f5ee;
  --amber: #a86400;
  --amber-soft: #fdf3e2;
  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(16, 34, 51, .07);
  --shadow-md: 0 2px 4px rgba(16, 34, 51, .06), 0 10px 28px rgba(16, 34, 51, .08);
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "Consolas", "SFMono-Regular", "Courier New", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
img, svg { display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 300;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top .15s ease;
}
.skip:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .14s ease, border-color .14s ease, color .14s ease, box-shadow .14s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.btn--secondary { background: #fff; border-color: var(--blue); color: var(--blue); }
.btn--secondary:hover { background: var(--blue-soft); color: var(--blue-dark); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn--ghost:hover { border-color: var(--muted-2); color: var(--ink); }
.btn--danger { background: #fff; border-color: var(--red); color: var(--red); }
.btn--danger:hover { background: var(--red-soft); }
.btn--lg { min-height: 46px; padding-inline: 24px; font-size: 15px; }
.btn--sm { min-height: 32px; padding-inline: 12px; font-size: 12.5px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.link-more::after { content: "→"; font-weight: 400; }
.link-more:hover { text-decoration: underline; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.topbar-in {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-claim { letter-spacing: .01em; }
.topbar-nav { display: flex; align-items: center; gap: 18px; }
.topbar-nav a {
  color: var(--muted);
  text-decoration: none;
}
.topbar-nav a:hover { color: var(--blue); text-decoration: underline; }
.topbar-lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}
.topbar-lang svg { width: 13px; height: 13px; }

/* ---------- Masthead ---------- */
.masthead {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 40;
}
.masthead-in {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
}
.logo-mark svg { width: 21px; height: 21px; stroke: #fff; }
.logo-word {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.7px;
  color: var(--blue);
  line-height: 1;
}
.logo-word span { color: var(--ink); font-weight: 700; }
.logo-sub {
  display: block;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.mainnav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}
.mainnav a {
  position: relative;
  padding: 27px 0;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mainnav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: transparent;
}
.mainnav a:hover { color: var(--blue); }
.mainnav a:hover::after { background: var(--blue); }

.head-login { flex: none; }
.head-login-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.head-login input {
  width: 148px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}
.head-login input[type="email"] { width: 170px; }
.head-login input::placeholder { color: var(--muted-2); }
.head-login input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue-soft);
}
.head-login .btn { height: 34px; min-height: 34px; }
.head-login-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 5px;
  font-size: 11.5px;
}
.head-login-links a { color: var(--muted); text-decoration: none; }
.head-login-links a:hover { color: var(--blue); text-decoration: underline; }

.mast-actions { display: none; align-items: center; gap: 10px; margin-left: auto; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform .18s ease, opacity .18s ease;
}

/* ---------- Cookie-Hinweis ---------- */
.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(16, 34, 51, .12);
}
.cookie-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.cookie p {
  font-size: 13px;
  color: var(--muted);
  max-width: 760px;
}
.cookie p strong { color: var(--ink); }
.cookie p a { color: var(--blue); }
.cookie-actions { display: flex; gap: 8px; flex: none; }

/* ---------- Hero ---------- */
.hero {
  background: #eef4fa;
  border-bottom: 1px solid var(--line);
  padding: 52px 0 58px;
}
.hero-grid {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: 46px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--blue);
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -.025em;
  font-weight: 700;
  color: var(--ink);
  max-width: 15ch;
}
.hero h1 span { color: var(--blue); }
.hero-sub {
  margin-top: 16px;
  max-width: 46ch;
  font-size: 16px;
  color: var(--ink-2);
}
.hero-sub strong { color: var(--ink); }

.addr-form {
  margin-top: 24px;
  max-width: 520px;
}
.addr-box {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--muted-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.addr-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.addr-box input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
}
.addr-box input::placeholder { color: var(--muted-2); }
.addr-box select {
  height: 48px;
  padding: 0 30px 0 12px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.addr-box .btn {
  border-radius: 0;
  min-height: 48px;
  padding-inline: 20px;
}
.addr-result {
  min-height: 20px;
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--muted);
}
.addr-result strong { color: var(--ink); }
.addr-result .free { color: var(--green); font-weight: 700; }
.addr-result .taken { color: var(--red); font-weight: 700; }
.addr-result a { margin-left: 6px; font-weight: 600; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 22px;
  list-style: none;
  font-size: 13px;
  color: var(--ink-2);
}
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 15px; height: 15px; stroke: var(--green); flex: none; }

/* ---------- Produkt-Screenshot (HTML/CSS) ---------- */
.app-shot {
  background: #fff;
  border: 1px solid #b9c8d8;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(7, 62, 117, .18), 0 3px 8px rgba(7, 62, 117, .1);
  overflow: hidden;
  font-size: 11px;
  transform: translateY(0);
}
.app-shot-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  background: #eef2f6;
  border-bottom: 1px solid var(--line);
}
.app-shot-dot { width: 8px; height: 8px; border-radius: 50%; background: #cfd8e2; }
.app-shot-url {
  flex: 1;
  margin-left: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-shot-body {
  display: grid;
  grid-template-columns: 104px 1fr;
  min-height: 330px;
}
.app-shot-side {
  background: var(--bg-soft);
  border-right: 1px solid var(--line);
  padding: 12px 8px;
}
.app-shot-compose {
  display: block;
  height: 24px;
  margin-bottom: 12px;
  border-radius: 3px;
  background: var(--blue);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
  line-height: 24px;
}
.app-shot-folder {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 6px;
  border-radius: 3px;
  color: var(--ink-2);
  font-size: 9.5px;
}
.app-shot-folder.on { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.app-shot-folder b { font-weight: 700; color: var(--blue); }
.app-shot-main { min-width: 0; display: flex; flex-direction: column; }
.app-shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  color: var(--ink);
  font-size: 11px;
}
.app-shot-head span:last-child { font-weight: 400; color: var(--muted); font-size: 9px; }
.app-shot-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line-soft);
}
.app-shot-row.unread { background: #fbfdff; }
.app-shot-from {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  color: var(--ink);
  font-size: 10px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-shot-from i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}
.app-shot-time { font-size: 9px; color: var(--muted-2); }
.app-shot-subject {
  grid-column: 1 / -1;
  color: var(--ink-2);
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.app-shot-row.unread .app-shot-subject { color: var(--ink); font-weight: 600; }
.app-shot-read {
  margin-top: auto;
  padding: 11px 12px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
}
.app-shot-read h4 { font-size: 10px; color: var(--ink); margin-bottom: 3px; }
.app-shot-read p { font-size: 9px; color: var(--muted); line-height: 1.5; }
.app-shot-tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 6px;
  border-radius: 2px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---------- USP-Leiste ---------- */
.usp { background: #fff; border-bottom: 1px solid var(--line); }
.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.usp-item {
  display: flex;
  gap: 12px;
  padding: 22px 22px 22px 0;
  border-right: 1px solid var(--line-soft);
}
.usp-item:last-child { border-right: 0; }
.usp-item:not(:first-child) { padding-left: 22px; }
.usp-ico {
  width: 34px; height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue);
}
.usp-ico svg { width: 18px; height: 18px; }
.usp-item h3 { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.usp-item p { font-size: 12px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* ---------- Sektionen ---------- */
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); border-block: 1px solid var(--line); }
.section--tight { padding: 48px 0; }
.section-head { max-width: 720px; }
.section-head h2 {
  font-size: clamp(25px, 3vw, 33px);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--ink);
}
.section-head p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--muted);
  max-width: 62ch;
}
.section-head .eyebrow { margin-bottom: 10px; }
.section-head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

/* ---------- Feature-Karten ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.feature:hover {
  border-color: var(--blue-line);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.feature-ico {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 14px;
}
.feature-ico svg { width: 20px; height: 20px; }
.feature h3 { font-size: 16px; font-weight: 700; color: var(--ink); }
.feature p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.feature .link-more { margin-top: 12px; font-size: 13px; }

/* ---------- Sicherheits-Band ---------- */
.security {
  background: var(--blue-dark);
  color: #fff;
  padding: 56px 0;
}
.security-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.security .eyebrow { color: #9cc6f0; }
.security .eyebrow::before { background: #9cc6f0; }
.security h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.security p.lead {
  margin-top: 12px;
  color: rgba(255, 255, 255, .74);
  max-width: 52ch;
  font-size: 15px;
}
.security-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  list-style: none;
}
.security-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.security-list .check {
  width: 22px; height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #b9dcff;
  margin-top: 1px;
}
.security-list .check svg { width: 12px; height: 12px; }
.security-list strong { display: block; font-size: 14px; }
.security-list span { display: block; font-size: 13px; color: rgba(255, 255, 255, .66); margin-top: 1px; }

.security-panel {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 4px;
  padding: 26px;
}
.security-panel h3 {
  font-size: 15px;
  letter-spacing: .02em;
  margin-bottom: 16px;
  color: #fff;
}
.seal-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.seal-row:first-of-type { border-top: 0; padding-top: 0; }
.seal {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #b9dcff;
}
.seal svg { width: 20px; height: 20px; }
.seal-row strong { display: block; font-size: 13.5px; }
.seal-row span { display: block; font-size: 12px; color: rgba(255, 255, 255, .62); }

/* ---------- Tarife ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  align-items: stretch;
}
.price {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.price--hot {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-md);
  padding-top: 32px;
}
.price-badge {
  position: absolute;
  top: -11px;
  left: 22px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
}
.price h3 { font-size: 18px; font-weight: 700; }
.price .price-for { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.price .amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 18px 0 4px;
}
.price .amount strong { font-size: 38px; line-height: 1; font-weight: 700; letter-spacing: -.03em; }
.price .amount span { font-size: 13px; color: var(--muted); }
.price .price-note { font-size: 11.5px; color: var(--muted-2); }
.price ul {
  list-style: none;
  margin: 20px 0 22px;
  display: grid;
  gap: 9px;
}
.price li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.price li svg { width: 15px; height: 15px; flex: none; stroke: var(--green); margin-top: 1px; }
.price .btn { margin-top: auto; }
.price-foot {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* ---------- App-Bereich ---------- */
.app-band {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
  padding: 58px 0;
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
}
.app-copy h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.app-copy p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 52ch;
}
.app-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-top: 20px;
}
.app-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-2);
}
.app-list svg { width: 15px; height: 15px; stroke: var(--green); flex: none; }
.store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 6px 14px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.store:hover { background: #000; color: #fff; }
.store svg { width: 20px; height: 20px; flex: none; }
.store small { display: block; font-size: 8.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .7); line-height: 1.2; }
.store strong { display: block; font-size: 13px; line-height: 1.2; }

.phone {
  width: 268px;
  height: 520px;
  margin-inline: auto;
  border: 8px solid #1c2530;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(16, 34, 51, .18);
  overflow: hidden;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 74px; height: 6px;
  border-radius: 4px;
  background: #1c2530;
  z-index: 2;
}
.phone-screen { padding: 20px 12px 0; height: 100%; background: #fff; }
.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.phone-top strong { font-size: 15px; color: var(--blue); letter-spacing: -.3px; }
.phone-top span { font-size: 10px; color: var(--muted); }
.phone-search {
  margin-top: 9px;
  height: 26px;
  border-radius: 4px;
  background: var(--bg-soft);
  color: var(--muted-2);
  font-size: 9.5px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.phone-row {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 7px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.phone-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.phone-row strong { display: block; font-size: 9.5px; color: var(--ink); line-height: 1.3; }
.phone-row span { display: block; font-size: 8.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.phone-row time { font-size: 8px; color: var(--muted-2); }

/* ---------- Über / Zahlen ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(25px, 3vw, 33px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.about-copy p { margin-top: 12px; color: var(--muted); max-width: 54ch; }
.about-copy p + p { margin-top: 10px; }
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: #fff;
  padding: 24px;
}
.stat strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--blue);
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--blue);
  line-height: 1;
  flex: none;
  transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq-a {
  padding: 0 0 16px;
  max-width: 78ch;
  color: var(--muted);
  font-size: 14px;
}
.faq-a a { color: var(--blue); }

/* ---------- CTA-Band ---------- */
.cta {
  background: var(--blue);
  color: #fff;
  padding: 44px 0;
}
.cta-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.cta h2 {
  font-size: clamp(23px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.cta p { margin-top: 4px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.cta .btn--primary { background: #fff; border-color: #fff; color: var(--blue-dark); }
.cta .btn--primary:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--blue-deep); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  padding: 44px 0 34px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { max-width: 26ch; font-size: 12.5px; line-height: 1.6; }
.footer-col h4 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  padding: 3px 0;
  color: var(--muted);
  text-decoration: none;
}
.footer-col a:hover { color: var(--blue); text-decoration: underline; }
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted-2);
}
.footer-base-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-base a { color: var(--muted); text-decoration: none; }
.footer-base a:hover { color: var(--blue); }
.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 3px 7px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
}
.footer-lang svg { width: 12px; height: 12px; }

/* ============================================================
   AUTH-SEITEN (Login, Registrieren, Passwort vergessen)
   ============================================================ */
.auth-body { background: var(--bg-soft); }
.auth-head {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.auth-head-in {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.auth-head .logo-word { font-size: 22px; }
.auth-head .logo-mark { width: 30px; height: 30px; }
.auth-head .logo-mark svg { width: 18px; height: 18px; }
.auth-head-link { font-size: 13px; color: var(--muted); text-decoration: none; }
.auth-head-link:hover { color: var(--blue); text-decoration: underline; }

.auth-main {
  padding: 34px 0 60px;
}
.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px) 340px;
  gap: 24px;
  justify-content: center;
  align-items: start;
}
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  padding: 28px 30px 30px;
}
.auth-card--narrow { max-width: 430px; margin-inline: auto; }
.auth-title {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 700;
}
.auth-sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
}
.auth-sub a { color: var(--blue); }

.auth-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 4px;
  padding: 12px 14px;
  background: var(--bg-blue);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--muted);
}
.auth-steps b { color: var(--blue-dark); }
.auth-steps .step-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  flex: none;
}
.auth-steps .step-line { flex: 1; height: 1px; background: var(--blue-line); }

.form-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.form-section:first-of-type { margin-top: 18px; border-top: 0; padding-top: 0; }
.form-section h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}
.form-section h2 span {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 10.5px;
}

.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label,
.field-label {
  display: block;
  margin-bottom: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.field .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.field textarea { height: auto; padding: 10px 11px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}
.field input:disabled { background: var(--bg-soft); color: var(--muted); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-row--3 { grid-template-columns: 120px 1fr 1fr; }
.field-hint { margin-top: 4px; font-size: 11.5px; color: var(--muted-2); }
.field-error { margin-top: 4px; font-size: 12px; color: var(--red); font-weight: 600; }
.field.invalid input,
.field.invalid select { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }

.addr-input { display: flex; }
.addr-input input {
  border-radius: var(--radius) 0 0 var(--radius);
  border-right: 0;
}
.addr-input select {
  width: 148px;
  flex: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 13px;
}
.addr-status { min-height: 18px; margin-top: 5px; font-size: 12px; color: var(--muted); }
.addr-status.free { color: var(--green); font-weight: 600; }
.addr-status.taken { color: var(--red); font-weight: 600; }

.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 42px; }
.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 2px;
}
.pw-toggle:hover { background: var(--bg-soft); color: var(--ink); }
.pw-toggle svg { width: 17px; height: 17px; }

.pw-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 6px;
}
.pw-meter i {
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  transition: background .15s ease;
}
.pw-meter[data-level="1"] i:nth-child(-n+1) { background: var(--red); }
.pw-meter[data-level="2"] i:nth-child(-n+2) { background: #d18a00; }
.pw-meter[data-level="3"] i:nth-child(-n+3) { background: #4c8c2b; }
.pw-meter[data-level="4"] i:nth-child(-n+4) { background: var(--green); }
.pw-label { margin-top: 4px; font-size: 11.5px; color: var(--muted); }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.check-row input {
  width: 16px; height: 16px;
  margin-top: 1px;
  accent-color: var(--blue);
  flex: none;
}
.check-row a { color: var(--blue); }
.check-row.invalid { color: var(--red); }
.check-row.invalid input { outline: 2px solid var(--red); outline-offset: 1px; }

.form-actions { margin-top: 22px; }
.form-actions .btn { width: 100%; }
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.form-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: center;
}
.form-error {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #f0c4bd;
  border-radius: var(--radius);
  background: var(--red-soft);
  color: #8f2416;
  font-size: 12.5px;
}

.auth-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px;
}
.auth-aside h3 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.benefit-list { list-style: none; display: grid; gap: 11px; }
.benefit-list li { display: flex; gap: 9px; font-size: 13px; color: var(--ink-2); }
.benefit-list svg { width: 16px; height: 16px; stroke: var(--green); flex: none; margin-top: 1px; }
.auth-aside .divider { height: 1px; background: var(--line-soft); margin: 18px 0; }
.auth-aside p { font-size: 12.5px; color: var(--muted); }
.auth-aside p + p { margin-top: 6px; }
.auth-aside .link-more { font-size: 13px; margin-top: 10px; }

.auth-success { text-align: center; padding: 18px 0 4px; }
.success-ico {
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  display: grid;
  place-items: center;
}
.success-ico svg { width: 28px; height: 28px; }
.auth-success h2 { font-size: 22px; letter-spacing: -.02em; }
.auth-success p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.success-address {
  display: inline-block;
  margin: 14px 0 18px;
  padding: 8px 14px;
  border: 1px dashed var(--blue-line);
  border-radius: var(--radius);
  background: var(--bg-blue);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
}
.auth-success .btn { width: 100%; }
.auth-success .form-note { margin-top: 12px; }

.auth-foot {
  padding: 18px 0 28px;
  font-size: 11.5px;
  color: var(--muted-2);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.auth-foot a { color: var(--muted); text-decoration: none; }
.auth-foot a:hover { color: var(--blue); }

/* ============================================================
   HILFE / STATUS / RECHTSTEXT
   ============================================================ */
.page-hero {
  background: var(--bg-blue);
  border-bottom: 1px solid var(--line);
  padding: 38px 0 34px;
}
.page-hero h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 700;
}
.page-hero p { margin-top: 8px; color: var(--muted); max-width: 62ch; }
.breadcrumb {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--muted-2);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span::before { content: "/"; margin-right: 6px; color: var(--muted-2); }

.help-search {
  display: flex;
  max-width: 560px;
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--muted-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.help-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.help-search svg { width: 18px; height: 18px; margin: 13px 0 0 13px; stroke: var(--muted); flex: none; }
.help-search input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font-size: 14px;
}
.help-search input:focus { outline: none; }
.help-search .btn { border-radius: 0; min-height: 44px; }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}
.topic {
  display: block;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.topic:hover { border-color: var(--blue-line); box-shadow: var(--shadow-sm); color: var(--ink); }
.topic-ico {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: var(--blue-soft);
  color: var(--blue);
  margin-bottom: 12px;
}
.topic-ico svg { width: 18px; height: 18px; }
.topic h2 { font-size: 15px; font-weight: 700; }
.topic p { margin-top: 4px; font-size: 12.5px; color: var(--muted); }

.help-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.help-layout h2 { font-size: 20px; letter-spacing: -.01em; }
.help-layout .faq { margin-top: 16px; }
.help-contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.help-contact h3 { font-size: 15px; margin-bottom: 6px; }
.help-contact p { font-size: 13px; color: var(--muted); }
.help-contact .btn { margin-top: 14px; width: 100%; }
.help-contact dl { margin-top: 16px; font-size: 12.5px; }
.help-contact dt { color: var(--muted-2); margin-top: 10px; }
.help-contact dd { color: var(--ink); font-weight: 600; }

.status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--green-soft);
  border: 1px solid #bfe3cf;
  border-radius: var(--radius);
  margin-top: 24px;
}
.status-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
  box-shadow: 0 0 0 4px rgba(24, 122, 69, .14);
}
.status-banner strong { display: block; font-size: 15px; color: #105c34; }
.status-banner span { display: block; font-size: 12.5px; color: #2c7a51; }
.status-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.status-table th,
.status-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}
.status-table th {
  background: var(--bg-soft);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.status-table tr:last-child td { border-bottom: 0; }
.status-table td:last-child { text-align: right; }
.stat-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 20px;
  background: var(--green-soft);
  color: #105c34;
  font-size: 11.5px;
  font-weight: 700;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.uptime { color: var(--muted); font-variant-numeric: tabular-nums; }
.incident {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.incident time { flex: 0 0 110px; font-size: 12px; color: var(--muted-2); }
.incident strong { display: block; font-size: 13.5px; }
.incident p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.legal-page {
  background: var(--bg-soft);
  padding: 28px 0 56px;
}
.legal-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 34px 38px 40px;
  box-shadow: var(--shadow-sm);
}
.legal-wrap h1 {
  font-size: 30px;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.legal-meta {
  margin-top: 6px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
}
.legal-wrap h2 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.legal-wrap h2 .n {
  display: inline-block;
  min-width: 24px;
  color: var(--blue);
}
.legal-wrap p,
.legal-wrap li {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.7;
}
.legal-wrap p + p { margin-top: 8px; }
.legal-wrap ul { margin: 6px 0 10px 20px; }
.legal-wrap li { margin-bottom: 4px; }
.legal-wrap address { font-style: normal; line-height: 1.75; }
.legal-wrap strong { color: var(--ink); }
.legal-wrap a { color: var(--blue); }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
  font-size: 12.5px;
  text-decoration: none;
  color: var(--muted);
}
.legal-back:hover { color: var(--blue); }

/* ============================================================
   POSTFACH (Demo-Webmail)
   ============================================================ */
.mail-body {
  background: #eef2f6;
  overflow: hidden;
  height: 100vh;
}
.mail-app {
  height: 100vh;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.mail-top {
  height: 54px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  background: var(--blue);
  color: #fff;
}
.mail-top .logo { gap: 7px; }
.mail-top .logo-mark { width: 28px; height: 28px; background: #fff; }
.mail-top .logo-mark svg { width: 17px; height: 17px; stroke: var(--blue); }
.mail-top .logo-word { color: #fff; font-size: 21px; }
.mail-top .logo-word span { color: #fff; }
.mail-menu {
  display: none;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.mail-menu svg { width: 18px; height: 18px; margin-inline: auto; }
.mail-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 460px;
  height: 34px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 3px;
  overflow: hidden;
}
.mail-search:focus-within { background: #fff; border-color: #fff; }
.mail-search svg { width: 16px; height: 16px; margin: 0 8px; stroke: rgba(255, 255, 255, .8); flex: none; }
.mail-search:focus-within svg { stroke: var(--muted); }
.mail-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
}
.mail-search input::placeholder { color: rgba(255, 255, 255, .65); }
.mail-search input:focus { outline: none; color: var(--ink); }
.mail-top-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mail-top-link {
  color: rgba(255, 255, 255, .88);
  font-size: 12.5px;
  text-decoration: none;
  background: none;
  border: 0;
}
.mail-top-link:hover { color: #fff; text-decoration: underline; }
.mail-user {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}
.mail-user .avatar { background: rgba(255, 255, 255, .2); color: #fff; }
.mail-user-mail {
  max-width: 190px;
  font-size: 12px;
  color: rgba(255, 255, 255, .9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mail-logout {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 3px;
  color: rgba(255, 255, 255, .8);
}
.mail-logout:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.mail-logout svg { width: 16px; height: 16px; }

.mail-main {
  flex: 1;
  display: grid;
  grid-template-columns: 214px 360px minmax(0, 1fr);
  min-height: 0;
}

/* Sidebar */
.mail-side {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
}
.compose-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 38px;
  margin-bottom: 14px;
  border: 1px solid var(--blue);
  border-radius: 3px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.compose-btn:hover { background: var(--blue-hover); }
.compose-btn svg { width: 15px; height: 15px; }
.folders { display: grid; gap: 2px; }
.folder {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 7px 9px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  text-align: left;
}
.folder:hover { background: var(--bg-soft); }
.folder.active { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
.folder svg { width: 16px; height: 16px; flex: none; color: var(--muted); }
.folder.active svg { color: var(--blue); }
.folder .count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
}
.folder.active .count { color: var(--blue-dark); }
.folder-sep { height: 1px; background: var(--line-soft); margin: 8px 6px; }
.storage {
  margin-top: auto;
  padding: 14px 8px 4px;
  border-top: 1px solid var(--line-soft);
}
.storage-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--line-soft);
  overflow: hidden;
}
.storage-bar span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--blue);
  border-radius: 3px;
}
.storage p { margin-top: 6px; font-size: 11px; color: var(--muted); }
.storage a { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 600; text-decoration: none; }
.storage a:hover { text-decoration: underline; }

/* Mailliste */
.mail-list {
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.list-toolbar {
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.list-toolbar .iconbtn {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
}
.list-toolbar .iconbtn:hover { background: var(--bg-soft); color: var(--ink); }
.list-toolbar .iconbtn svg { width: 16px; height: 16px; }
.list-count {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}
.mail-rows { flex: 1; overflow-y: auto; }
.mail-row {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 0 8px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  position: relative;
}
.mail-row:hover { background: #fafcfe; }
.mail-row.selected { background: var(--blue-soft); }
.mail-row.selected::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--blue);
}
.mail-row .cb { margin-top: 2px; }
.mail-row-main { min-width: 0; }
.mail-row-top {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.mail-row-from {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mail-row.unread .mail-row-from { color: var(--ink); font-weight: 700; }
.mail-row-time {
  margin-left: auto;
  flex: none;
  font-size: 10.5px;
  color: var(--muted-2);
}
.mail-row-subject {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mail-row.unread .mail-row-subject { color: var(--ink); font-weight: 600; }
.mail-row-preview {
  margin-top: 1px;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mail-row-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 1px;
}
.unread-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}
.star {
  border: 0;
  background: transparent;
  padding: 1px;
  color: #c4ced8;
  line-height: 0;
}
.star svg { width: 14px; height: 14px; }
.star.on { color: #e0a400; }
.star.on svg { fill: #e0a400; stroke: #e0a400; }
.mail-row-attach { color: var(--muted-2); }
.mail-row-attach svg { width: 13px; height: 13px; }
.list-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.list-empty svg { width: 38px; height: 38px; margin: 0 auto 10px; stroke: var(--muted-2); }
.list-empty strong { display: block; color: var(--ink-2); font-size: 14px; margin-bottom: 3px; }

/* Lesefenster */
.mail-read {
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
}
.read-toolbar {
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.read-toolbar .toolbtn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--ink-2);
  font-size: 12px;
}
.read-toolbar .toolbtn:hover { background: var(--bg-soft); color: var(--ink); }
.read-toolbar .toolbtn svg { width: 15px; height: 15px; }
.read-toolbar .spacer { flex: 1; }
.read-toolbar .toolbtn.danger:hover { background: var(--red-soft); color: var(--red); }
.read-back { display: none; }
.read-scroll { flex: 1; overflow-y: auto; }
.read-inner { max-width: 760px; padding: 24px 30px 40px; }
.read-subject {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.01em;
  font-weight: 700;
  color: var(--ink);
}
.read-meta {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 700;
  flex: none;
}
.read-from { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.read-from span { font-weight: 400; color: var(--muted); }
.read-to { margin-top: 1px; font-size: 11.5px; color: var(--muted-2); }
.read-date {
  margin-left: auto;
  flex: none;
  font-size: 11.5px;
  color: var(--muted-2);
  padding-top: 2px;
}
.read-body {
  padding-top: 20px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
}
.read-body p { margin-bottom: 12px; }
.read-body p:last-child { margin-bottom: 0; }
.read-body h3 {
  margin: 20px 0 8px;
  font-size: 15px;
  color: var(--ink);
}
.read-body ul { margin: 6px 0 14px 20px; }
.read-body li { margin-bottom: 5px; }
.read-body a { color: var(--blue); }
.read-body .mail-cta {
  display: inline-block;
  margin: 6px 0 14px;
  padding: 9px 16px;
  border-radius: 3px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.read-body .mail-box {
  margin: 14px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--blue);
  background: var(--bg-blue);
  border-radius: 0 3px 3px 0;
  font-size: 13px;
}
.read-body .mail-box strong { color: var(--ink); }
.read-signature { margin-top: 22px; color: var(--muted); font-size: 13px; }
.attachment {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--bg-soft);
  font-size: 12.5px;
  color: var(--ink-2);
}
.attachment svg { width: 17px; height: 17px; color: var(--red); flex: none; }
.attachment small { display: block; color: var(--muted-2); font-size: 10.5px; }
.read-empty {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 30px;
}
.read-empty svg { width: 44px; height: 44px; margin: 0 auto 10px; stroke: var(--muted-2); }
.read-empty strong { display: block; color: var(--ink-2); font-size: 15px; margin-bottom: 3px; }

/* Compose */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 18px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 24, 40, .5);
}
.compose {
  position: relative;
  width: min(660px, 100%);
  max-height: calc(100vh - 36px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 24px 70px rgba(5, 24, 44, .35);
  overflow: hidden;
}
.compose-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--blue-dark);
  color: #fff;
}
.compose-head h2 { font-size: 14px; font-weight: 700; }
.compose-close {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: rgba(255, 255, 255, .85);
}
.compose-close:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.compose-close svg { width: 16px; height: 16px; }
.compose-fields { padding: 0 16px; overflow-y: auto; }
.compose-field {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.compose-field label {
  flex: 0 0 54px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}
.compose-field input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 13.5px;
  color: var(--ink);
}
.compose-field input:focus { outline: none; }
.compose-body {
  width: 100%;
  min-height: 260px;
  padding: 14px 0;
  border: 0;
  resize: vertical;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
}
.compose-body:focus { outline: none; }
.compose-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.compose-foot .btn { min-height: 34px; }
.compose-error {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--red);
  font-weight: 600;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(10px);
  z-index: 200;
  padding: 10px 18px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(16, 34, 51, .28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Hilfsklassen ---------- */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .masthead-in { gap: 18px; }
  .mainnav { gap: 16px; }
  .mainnav a { font-size: 13px; }
  .head-login input { width: 120px; }
  .head-login input[type="email"] { width: 140px; }
  .hero-grid { gap: 30px; }
  .app-shot-body { grid-template-columns: 90px 1fr; }
}

@media (max-width: 980px) {
  .mainnav { display: none; }
  .head-login { display: none; }
  .mast-actions { display: flex; }
  .masthead-in { min-height: 64px; }
  .mast-actions .btn { min-height: 36px; }

  .mainnav.open {
    display: flex;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 14px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(16, 34, 51, .08);
  }
  .mainnav.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .mainnav.open a::after { display: none; }

  .hero { padding: 38px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }

  .usp-grid { grid-template-columns: 1fr 1fr; }
  .usp-item { border-right: 0; padding: 16px 16px 16px 0; }
  .usp-item:not(:first-child) { padding-left: 0; }
  .usp-item:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line-soft); }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .security-grid { grid-template-columns: 1fr; gap: 30px; }
  .price-grid { grid-template-columns: 1fr; max-width: 520px; }
  .price--hot { margin-top: 8px; }
  .app-grid { grid-template-columns: 1fr; gap: 34px; }
  .phone { margin-inline: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 48ch; }

  .auth-grid { grid-template-columns: minmax(0, 560px); }
  .auth-aside { order: 2; }
  .help-layout { grid-template-columns: 1fr; gap: 24px; }
  .topic-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .mail-main { grid-template-columns: 1fr; }
  .mail-side {
    position: fixed;
    left: 0; top: 54px; bottom: 0;
    z-index: 90;
    width: 240px;
    transform: translateX(-100%);
    transition: transform .2s ease;
    box-shadow: 8px 0 24px rgba(16, 34, 51, .16);
  }
  body.side-open .mail-side { transform: translateX(0); }
  .mail-menu { display: grid; place-items: center; }
  .mail-search { max-width: none; }
  .mail-user-mail { display: none; }
  .mail-top-right { gap: 10px; }
  .mail-list { border-right: 0; }
  .mail-read {
    position: fixed;
    inset: 54px 0 0;
    z-index: 80;
    display: none;
  }
  body.reading-open .mail-read { display: flex; }
  .read-back { display: inline-flex; }
  .read-inner { padding: 18px 18px 30px; }
  .read-subject { font-size: 18px; }
}

@media (max-width: 720px) {
  .wrap { padding-inline: 16px; }
  .topbar-claim { display: none; }
  .topbar-in { justify-content: flex-end; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 15px; }
  .addr-box { flex-wrap: wrap; }
  .addr-box input { flex: 1 1 100%; border-bottom: 1px solid var(--line); }
  .addr-box select { flex: 1; border-left: 0; }
  .addr-box .btn { flex: 1; }
  .hero-cta .btn { flex: 1; }
  .section { padding: 46px 0; }
  .section-head--row { display: block; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-in { display: block; }
  .cta .btn { margin-top: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-base { display: block; }
  .footer-base-links { margin-top: 8px; }
  .cookie-in { display: block; }
  .cookie-actions { margin-top: 12px; }
  .cookie-actions .btn { flex: 1; }
  .auth-card { padding: 22px 18px 24px; }
  .auth-title { font-size: 21px; }
  .field-row, .field-row--3 { grid-template-columns: 1fr; }
  .legal-wrap { padding: 24px 18px 28px; }
  .legal-wrap h1 { font-size: 25px; }
  .topic-grid { grid-template-columns: 1fr; }
  .status-table th:nth-child(2), .status-table td:nth-child(2) { display: none; }
  .incident time { flex-basis: 86px; }
  .mail-top .logo-word { display: none; }
  .mail-top-link { display: none; }
  .compose-body { min-height: 200px; }
}

@media (max-width: 480px) {
  .mast-actions .btn--primary { display: none; }
  .masthead-in { min-height: 60px; }
  .logo-word { font-size: 22px; }
  .logo-sub { display: none; }
  .usp-grid { grid-template-columns: 1fr; }
  .usp-item { border-left: 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--line-soft); }
  .usp-item:last-child { border-bottom: 0; }
  .trust { display: grid; gap: 6px; }
  .app-shot-body { grid-template-columns: 1fr; }
  .app-shot-side { display: none; }
  .app-shot-read { display: none; }
  .read-toolbar .toolbtn span { display: none; }
  .read-toolbar .toolbtn { padding: 0 7px; }
  .mail-top { gap: 8px; padding-inline: 8px; }
  .mail-user { padding-left: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
}
