/* 1.wien Webhosting — storefront ("hell & klar"). No build step. */
:root {
  --bg: #ffffff;
  --surface: #f7f5f0;
  --surface-2: #efece4;
  --ink: #0b1a3a;
  --ink-2: #33415c;
  --muted: #5b6680;
  --line: #e3dfd5;
  --accent: #c8102e;
  --accent-ink: #ffffff;
  --accent-hover: #a50d26;
  --navy: #012169;
  --ok: #16794a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(11 26 58 / 6%), 0 8px 24px rgb(11 26 58 / 6%);
  --shadow-lg: 0 2px 4px rgb(11 26 58 / 6%), 0 20px 48px rgb(11 26 58 / 10%);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgb(255 255 255 / 88%); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 1.05rem; }
.logo-text { font-size: 1.02rem; color: var(--ink-2); white-space: nowrap; }
.logo-text strong { color: var(--ink); font-weight: 750; }
.main-nav { display: none; gap: 28px; margin-left: auto; }
.main-nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.97rem; }
.main-nav a:hover { color: var(--accent); }
.lang { display: flex; gap: 2px; margin-left: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang a { padding: 4px 10px; border-radius: 999px; font-size: 0.82rem; font-weight: 650; text-decoration: none; color: var(--muted); }
.lang a[aria-current="page"] { background: var(--bg); color: var(--ink); box-shadow: var(--shadow); }
@media (min-width: 820px) {
  .main-nav { display: flex; }
  .lang { margin-left: 8px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 650; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--bg); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn-outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-block { width: 100%; }
.btn-disabled { cursor: not-allowed; opacity: .55; }
.btn-disabled:hover { background: inherit; }
.btn-primary.btn-disabled:hover { background: var(--accent); }

/* Hero */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-grid > * { min-width: 0; }
h1 { overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 900px) { .hero { padding: 96px 0 72px; } .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; } }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 650; color: var(--accent); background: rgb(200 16 46 / 8%); padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); margin-top: 18px; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 0.93rem; }
.badges li { display: inline-flex; align-items: center; gap: 8px; }
.badges li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; flex: none; }

.panel { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 460px; margin: 0 auto; }
.panel-bar { display: flex; gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.panel-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-2); }
.panel-body { padding: 10px 18px 18px; }
.panel-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.panel-row:last-child { border-bottom: 0; }
.panel-label { min-width: 0; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-key { color: var(--muted); width: 88px; flex: none; }
.panel-val { font-weight: 650; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 4px rgb(22 121 74 / 15%); }
.chip { margin-left: auto; font-size: 0.75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.chip-ok { color: var(--ok); }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.seg span { padding: 3px 10px; border-radius: 7px; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.seg .on { background: var(--navy); color: #fff; }
.bar { flex: 1; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--ok); border-radius: 999px; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section h2 { text-align: center; }
.section-lead { text-align: center; color: var(--ink-2); max-width: 40em; margin: 14px auto 0; font-size: 1.08rem; }

.feature-grid { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.feature h3 { margin-top: 16px; }
.feature p { margin-top: 8px; color: var(--ink-2); font-size: 0.98rem; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(1 33 105 / 7%); color: var(--navy); }

/* Plans */
.section-plans { background: var(--surface); }
.pricing { margin-top: 40px; }
.cycle { display: flex; justify-content: center; gap: 4px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 4px; width: max-content; max-width: 100%; margin: 0 auto 36px; }
.cycle input { position: absolute; opacity: 0; pointer-events: none; }
.cycle label { padding: 9px 18px; border-radius: 999px; font-weight: 650; font-size: 0.95rem; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.cycle input:checked + label { background: var(--ink); color: #fff; }
.cycle input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 2px; }
.save { font-size: 0.75rem; font-weight: 700; color: var(--ok); background: rgb(22 121 74 / 12%); padding: 2px 8px; border-radius: 999px; }
.cycle input:checked + label .save { color: #fff; background: rgb(255 255 255 / 18%); }

.plan-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .plan-grid { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 30px 26px 26px; box-shadow: var(--shadow); }
.plan-featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 26px; background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.35rem; }
.plan-tagline { color: var(--muted); margin-top: 4px; font-size: 0.96rem; }
.price { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.amount { font-size: 2.4rem; font-weight: 760; letter-spacing: -0.03em; }
.unit { color: var(--muted); font-size: 0.95rem; }
.equals { width: 100%; color: var(--ok); font-size: 0.9rem; font-weight: 600; }
.price-annual { display: none; }
.pricing:has(#cycle-annual:checked) .price-monthly { display: none; }
.pricing:has(#cycle-annual:checked) .price-annual { display: flex; }
.limits { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; color: var(--ink-2); font-size: 0.97rem; flex: 1; }
.limits li { display: flex; gap: 10px; align-items: flex-start; }
.limits li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8102e' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/18px no-repeat; }
.plans-note { text-align: center; margin-top: 36px; color: var(--ink-2); }
.plans-vat { text-align: center; margin-top: 8px; color: var(--muted); font-size: 0.9rem; }

/* FAQ */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 650; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 46em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--muted); font-size: 0.93rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-row a { color: var(--ink-2); text-decoration: none; }
.footer-row a:hover { color: var(--accent); text-decoration: underline; }
