/* ════════════════════════════════════════════════════════════════════════
   MW Hosting Shop — Meinwerbung.de Style
   Schwarz, Rot, Premium, Schlicht
   ════════════════════════════════════════════════════════════════════════ */

:root {
  --black: #0a0a0a;
  --bg-dark: #0a0a0a;
  --bg-dark-2: #141414;
  --bg-white: #ffffff;
  --bg-light: #f5f7fa;
  --red: #e30613;
  --red-hover: #b3030f;
  --red-soft: #fdeaec;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5b;
  --text: #1a1a1a;
  --text-light: #555;
  --text-muted: #8a8a8a;
  --border: #e5e7eb;
  --border-dark: #2a2a2a;
  --footer-bg: #2b3a4d;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red-hover); text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 {
  color: var(--black);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: 22px; }
h4 { font-size: 16px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ─── TOPBAR (Dark) ────────────────────────────────────────────────────── */
.topbar {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
  position: sticky; top: 0; z-index: 100;
}
.topbar-inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 78px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-subtext-inline {
  display: inline-block; padding: 3px 9px;
  background: rgba(227,6,19,.15); color: var(--red);
  border: 1px solid rgba(227,6,19,.3);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  border-radius: 4px;
}
.topnav { display: flex; align-items: center; gap: 32px; }
.topnav > a { color: #fff; font-weight: 500; font-size: 15px; }
.topnav > a:hover { color: var(--red); text-decoration: none; }
.btn-phone, .btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 8px; font-weight: 600; font-size: 14px;
  text-decoration: none;
}
.btn-phone { background: #2a2a2a; color: #fff; }
.btn-phone:hover { background: #3a3a3a; color: #fff; text-decoration: none; }
.btn-whatsapp { background: var(--red); color: #fff; }
.btn-whatsapp:hover { background: var(--red-hover); color: #fff; text-decoration: none; }

/* ─── BUTTONS ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px; border: none;
  font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none;
  transition: all .2s ease; line-height: 1;
}
.btn-primary {
  background: var(--red); color: #fff;
}
.btn-primary:hover {
  background: var(--red-hover); color: #fff;
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(227,6,19,.3);
  text-decoration: none;
}
.btn-secondary {
  background: var(--bg-dark); color: #fff;
}
.btn-secondary:hover { background: #1f1f1f; color: #fff; text-decoration: none; }
.btn-ghost {
  background: transparent; color: var(--text); border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-light); text-decoration: none; }
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ─── HERO (Dark) ─────────────────────────────────────────────────────── */
.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(227,6,19,.15), transparent 60%),
              radial-gradient(ellipse at bottom left, rgba(227,6,19,.08), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(227,6,19,.12); border: 1px solid rgba(227,6,19,.3);
  color: var(--red); padding: 8px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 24px;
}
.hero-tag-dot { width: 8px; height: 8px; background: var(--red); border-radius: 50%; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 .accent { color: var(--red); }
.hero p {
  font-size: 18px; line-height: 1.6; color: #bbb;
  max-width: 720px; margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 30px; border-top: 1px solid var(--border-dark);
}
.hero-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #ccc;
}
.hero-meta-item .ico { color: var(--red); }

/* ─── TRUST BAR (Footer-like blue under hero) ─────────────────────────── */
.trustbar {
  background: var(--footer-bg);
  color: #fff;
  padding: 16px 0;
  border-top: 1px solid #3a4d63;
}
.trustbar-inner {
  display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap;
}
.trustbar-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
}
.trustbar-item .ico { color: #fff; opacity: .9; }

/* ─── SECTIONS ─────────────────────────────────────────────────────────── */
.section { padding: 90px 0; background: var(--bg-light); }
.section-white { background: #fff; }
.section-title { text-align: center; margin-bottom: 60px; max-width: 750px; margin-left: auto; margin-right: auto; }
.section-tag {
  color: var(--red); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 16px; display: block;
}
.section-title h2 { margin-bottom: 18px; }
.section-title p { color: var(--text-light); font-size: 17px; }

/* ─── PAKETE ───────────────────────────────────────────────────────────── */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.package {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; position: relative; display: flex; flex-direction: column;
  transition: all .25s ease;
}
.package:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d4d4d4; }
.package.highlight {
  border: 2px solid var(--red); box-shadow: 0 10px 40px rgba(227,6,19,.12);
}
.package-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff; padding: 6px 18px; border-radius: 20px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
}
.package h3 { font-size: 26px; margin-bottom: 8px; }
.package-tagline {
  color: var(--text-light); font-size: 14px;
  margin-bottom: 28px; min-height: 42px; line-height: 1.5;
}
.package-price { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.price-now {
  font-size: 44px; font-weight: 800; color: var(--black);
  letter-spacing: -0.03em;
}
.price-now sup { font-size: 20px; vertical-align: top; margin-right: 2px; font-weight: 700; }
.price-suffix { color: var(--text-light); font-size: 15px; font-weight: 500; }
.price-after { color: var(--text-muted); font-size: 12px; margin-top: 8px; }
.package-features { margin-bottom: 30px; flex-grow: 1; }
.package-features li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 8px 0; font-size: 14px; color: var(--text);
}
.feature-icon {
  flex-shrink: 0; width: 32px; height: 32px;
  background: var(--red-soft); border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--red);
}

/* ─── FORMS ────────────────────────────────────────────────────────────── */
.card {
  background: #fff; border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow-sm); margin-bottom: 25px;
  border: 1px solid var(--border);
}
.card h2 { font-size: 26px; margin-bottom: 10px; }
.card p.lead { color: var(--text-light); font-size: 15px; margin-bottom: 28px; }

.form-row { margin-bottom: 20px; }
.form-row label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: var(--text); }
.form-row label .req { color: var(--red); }
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=password],
.form-row input[type=tel],
.form-row input[type=url],
.form-row input[type=number],
.form-row select,
.form-row textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
  border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff;
  transition: all .15s; color: var(--text);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,6,19,.1);
}
.form-row .hint { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }
.form-row .error { font-size: 12.5px; color: var(--error); margin-top: 6px; display: block; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .span-2 { grid-column: span 2; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: span 1; } }

.checkbox-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0;
}
.checkbox-row input[type=checkbox] {
  margin-top: 4px; flex-shrink: 0; width: 18px; height: 18px;
  accent-color: var(--red); cursor: pointer;
}
.checkbox-row label { font-size: 14px; line-height: 1.55; cursor: pointer; }

.radio-grid { display: grid; gap: 12px; }
.radio-card {
  display: flex; gap: 14px; align-items: center; padding: 18px;
  border: 2px solid var(--border); border-radius: 10px; cursor: pointer;
  transition: all .15s; background: #fff;
}
.radio-card:hover { border-color: var(--red); }
.radio-card.selected { border-color: var(--red); background: var(--red-soft); }
.radio-card input { margin-right: 4px; accent-color: var(--red); }
.radio-card .ico-box {
  width: 44px; height: 44px; background: var(--red-soft);
  border-radius: 8px; color: var(--red);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ─── CHECKOUT STEPS ───────────────────────────────────────────────────── */
.checkout-steps { background: #fff; border-bottom: 1px solid var(--border); padding: 24px 0; }
.checkout-steps ol {
  display: flex; gap: 6px; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0;
  counter-reset: step;
}
.checkout-steps li {
  flex: 1; min-width: 110px; padding: 12px 16px; border-radius: 8px;
  background: var(--bg-light); color: var(--text-muted); font-size: 13px; font-weight: 600;
  text-align: center; counter-increment: step;
  list-style: none;
}
.checkout-steps li::before { content: counter(step) ". "; opacity: .7; font-weight: 700; }
.checkout-steps li.done { background: var(--red-soft); color: var(--red); }
.checkout-steps li.active { background: var(--black); color: #fff; }

/* ─── ALERTS ───────────────────────────────────────────────────────────── */
.alert { padding: 16px 20px; border-radius: 8px; margin: 18px 0; font-size: 14px; line-height: 1.6; }
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--success); }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--error); }
.alert-info    { background: #dbeafe; color: #1e3a8a; border-left: 4px solid #3b82f6; }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--warning); }

/* ─── LAYOUTS ──────────────────────────────────────────────────────────── */
.layout-cart { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
@media (max-width: 900px) { .layout-cart { grid-template-columns: 1fr; } }

.cart-summary {
  background: #fff; border-radius: var(--radius); padding: 28px;
  border: 1px solid var(--border); position: sticky; top: 100px;
}
.cart-summary h3 { font-size: 18px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cart-line { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.cart-line.total {
  font-weight: 800; font-size: 17px; padding-top: 16px; margin-top: 12px;
  border-top: 1px solid var(--border); color: var(--black);
}
.cart-meta { font-size: 12px; color: var(--text-muted); margin-top: 14px; line-height: 1.7; }

/* ─── DOMAIN CHECK ─────────────────────────────────────────────────────── */
.domain-search { display: flex; gap: 10px; margin-bottom: 25px; }
.domain-search input {
  flex: 1; padding: 16px 20px; font-size: 16px;
  border: 2px solid var(--border); border-radius: 10px;
}
.domain-search input:focus { outline: none; border-color: var(--red); }
.domain-result {
  padding: 20px; background: #f0fff4; border: 1px solid #bbf7d0;
  border-radius: 10px; margin-top: 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.domain-result.taken { background: #fef2f2; border-color: #fecaca; }
.domain-name { font-size: 17px; font-weight: 700; color: var(--black); }
.domain-status { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.domain-icon { color: var(--success); }
.domain-result.taken .domain-icon { color: var(--error); }

/* ─── FOOTER ───────────────────────────────────────────────────────────── */
.footer { background: var(--bg-dark); color: #999; padding: 60px 0 0; margin-top: 80px; }
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px; padding-bottom: 40px;
}
.footer h4 {
  color: #fff; font-size: 13px; margin-bottom: 16px;
  text-transform: uppercase; letter-spacing: 1.2px;
}
.footer a { color: #999; }
.footer a:hover { color: var(--red); }
.footer ul li { padding: 5px 0; font-size: 14px; }
.footer-bottom {
  background: rgba(0,0,0,.4); padding: 20px 0; font-size: 13px; color: #777;
  border-top: 1px solid var(--border-dark);
}

/* ─── LEGAL PAGES ──────────────────────────────────────────────────────── */
.legal-page { background: #fff; padding: 60px 0; min-height: 60vh; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: 36px; margin-bottom: 32px; }
.legal-page h2 { font-size: 22px; margin: 36px 0 14px; padding-top: 8px; }
.legal-page h3 { font-size: 17px; margin: 22px 0 10px; }
.legal-page p, .legal-page li { margin-bottom: 12px; font-size: 15px; line-height: 1.7; color: var(--text); }
.legal-page ul, .legal-page ol { margin: 12px 0 18px 28px; list-style: disc; }

/* ─── ACCOUNT DASHBOARD ────────────────────────────────────────────────── */
.dashboard-grid { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
@media (max-width: 800px) { .dashboard-grid { grid-template-columns: 1fr; } }
.sidebar {
  background: #fff; border-radius: var(--radius); padding: 20px;
  border: 1px solid var(--border);
}
.sidebar a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 8px; color: var(--text);
  margin-bottom: 4px; font-size: 14px; font-weight: 500;
}
.sidebar a:hover, .sidebar a.active {
  background: var(--red-soft); color: var(--red); text-decoration: none;
}
.sidebar a.active { font-weight: 700; }

table.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td {
  padding: 14px 14px; border-bottom: 1px solid var(--border);
  text-align: left; font-size: 14px;
}
.data-table th {
  background: var(--bg-light); font-weight: 700; font-size: 12px;
  text-transform: uppercase; color: var(--text-light); letter-spacing: .5px;
}

.badge {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-error { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e3a8a; }

/* ─── FEATURE GRID ─────────────────────────────────────────────────────── */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-item {
  background: #fff; padding: 32px 28px; border-radius: var(--radius);
  border: 1px solid var(--border); transition: all .2s;
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4d4d4; }
.feature-item .feature-ico {
  width: 52px; height: 52px; background: var(--red-soft);
  border-radius: 10px; color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-item h4 { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.feature-item p { color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* ─── HOW-IT-WORKS (3 Steps) ──────────────────────────────────────────── */
.steps-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 800px) { .steps-3 { grid-template-columns: 1fr; } }
.step-3 { text-align: center; position: relative; }
.step-3-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 22px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step-3 h4 { font-size: 18px; margin-bottom: 12px; }
.step-3 p { color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* ─── DIVIDER ──────────────────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 28px 0; }

/* ─── UTILITY ──────────────────────────────────────────────────────────── */
.text-muted { color: var(--text-muted); }
.text-small { font-size: 13px; }
.mt-1 { margin-top: 6px; } .mt-2 { margin-top: 12px; } .mt-3 { margin-top: 18px; } .mt-4 { margin-top: 24px; }
.mb-2 { margin-bottom: 12px; } .mb-3 { margin-bottom: 18px; } .mb-4 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-red { color: var(--red); }
.ico-inline { display: inline-flex; align-items: center; gap: 6px; }

/* ─── FLOATING WHATSAPP ────────────────────────────────────────────────── */
.fab-whatsapp {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px; background: var(--whatsapp);
  border-radius: 50%; box-shadow: 0 8px 25px rgba(37,211,102,.4);
  display: flex; align-items: center; justify-content: center;
  color: #fff; z-index: 999; transition: all .2s;
}
.fab-whatsapp:hover { background: var(--whatsapp-hover); transform: scale(1.1); color: #fff; text-decoration: none; }
.fab-whatsapp-label {
  position: absolute; right: 72px; background: #fff; color: var(--text);
  padding: 8px 14px; border-radius: 8px; font-size: 13px; font-weight: 600;
  white-space: nowrap; box-shadow: var(--shadow); opacity: 0;
  pointer-events: none; transition: opacity .2s;
}
.fab-whatsapp:hover .fab-whatsapp-label { opacity: 1; }
