/* ─── PAGE HERO ──────────────────────────────────────────────────────────── */

/* Anker-Navigation */

/* ═══════════════════════════════════════════════════════════════════════════
   angebote.css – Angebote & Pakete
   Mobile First · Breakpoints: 640px / 1024px
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── HERO HINT ──────────────────────────────────────────────────────────── */

/* ─── SEKTIONEN ──────────────────────────────────────────────────────────── */
.ang-section {
  padding: 3rem var(--pad-x);
}
.ang-section--light {
  background: var(--light);
}
@media (min-width: 1024px) {
  .ang-section { padding: 3.5rem var(--pad-x); }
}

.ang-section h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.ang-sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.7;
  max-width: 580px;
}
.ang-divider {
  height: 1px;
  background: rgba(0,0,0,0.07);
  margin: 0 var(--pad-x);
}

/* ─── PAKET-GRID ─────────────────────────────────────────────────────────── */
.paket-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .paket-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .paket-grid { grid-template-columns: repeat(3, 1fr); }
}
.paket-grid--two {
  grid-template-columns: 1fr !important;
}
@media (min-width: 640px) {
  .paket-grid--two { grid-template-columns: 1fr 1fr !important; max-width: 680px; }
}

/* ─── PAKET-CARD ─────────────────────────────────────────────────────────── */
.paket {
  background: var(--white);
  border: 1px solid #dde4ea;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.paket--featured {
  border-color: var(--blue);
  border-width: 2px;
}
.paket--dark {
  background: var(--dark);
  border-color: rgba(255,255,255,0.1);
}

.paket-badge {
  position: absolute;
  top: -11px;
  left: 1.25rem;
  font-size: 0.6875rem;
  padding: 3px 10px;
  border-radius: 10px;
  font-weight: 500;
}
.paket-badge--blue   { background: var(--blue-dark);   color: var(--white); }
.paket-badge--orange { background: #b34d00; color: var(--white); }

.paket-icon {
  margin-bottom: 0.75rem;
  color: var(--blue);
  font-size: 1.5rem;
}
.paket-icon svg { stroke: currentColor; fill: none; stroke-width: 1.75; }
.paket--dark .paket-icon { color: var(--blue); }

.paket-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.375rem;
}
.paket--dark .paket-name { color: var(--white); }

.paket-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.paket--dark .paket-desc { color: rgba(255,255,255,0.55); }

.paket-features {
  list-style: none;
  margin-bottom: 1.125rem;
}
.paket-features li {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.1875rem 0 0.1875rem 1rem;
  position: relative;
  line-height: 1.5;
}
.paket--dark .paket-features li { color: rgba(255,255,255,0.55); }
.paket-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.6875rem;
  top: 0.25rem;
}

.paket-monatlich {
  background: rgba(1,145,200,0.08);
  border: 1px solid rgba(1,145,200,0.2);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.6875rem;
  color: var(--blue-light);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.paket-price {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.1875rem;
}
.paket--dark .paket-price { color: var(--white); }
.paket-price em {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted);
  font-style: normal;
}
.paket--dark .paket-price em { color: #9ba4ae; }

.paket-vat {
  font-size: 0.6875rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.paket--dark .paket-vat { color: #8a939c; }

/* Buttons */
.btn-book {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  text-decoration: none;
  min-height: var(--touch);
  font-family: var(--font-sans);
  transition: background 0.15s, color 0.15s;
  margin-top: auto;
}
.btn-book--primary   { background: #b34d00; color: var(--white); }
.btn-book--primary:hover { background: #e06300; color: var(--white); }
.btn-book--secondary {
  background: transparent;
  color: var(--blue-mid);
  border: 1px solid var(--blue-mid);
}
.btn-book--secondary:hover { background: var(--blue); color: var(--white); }
.btn-book--dark {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-book--dark:hover { background: rgba(255,255,255,0.18); color: var(--white); }

/* ─── HOSTING ────────────────────────────────────────────────────────────── */
.ang-domain-mini {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .ang-domain-mini {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}
.ang-domain-mini-text { flex-shrink: 0; }
.ang-domain-mini-text p {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  margin: 0;
}
.ang-domain-mini-form {
  display: flex;
  flex: 1;
  gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  flex-wrap: wrap;
}
@media (max-width: 639px) {
  .ang-domain-mini-form { flex-direction: column; background: none; border: none; gap: 0.5rem; }
}
.ang-domain-mini-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  color: var(--white);
  font-family: var(--font-sans);
  outline: none;
  min-width: 0;
  min-height: var(--touch);
  letter-spacing: 0.01em;
}
@media (max-width: 639px) {
  .ang-domain-mini-form input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
  }
}
.ang-domain-mini-form input::placeholder { color: rgba(255,255,255,0.35); }
/* select entfernt – Nutzer tippt vollständige Domain */
@media (max-width: 639px) {
  /* select entfernt – Nutzer tippt vollständige Domain */
}
.ang-domain-mini-form button {
  background: #b34d00;
  color: var(--white);
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font-sans);
  white-space: nowrap;
  min-height: var(--touch);
}
@media (max-width: 639px) {
  .ang-domain-mini-form button { border-radius: var(--radius); }
}

/* Hosting Tabelle */
.hosting-wrap {
  border-radius: var(--radius-lg);
  border: 1px solid #dde4ea;
  overflow: hidden;
}
.hosting-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.hosting-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  min-width: 480px;
}
.hosting-table thead tr { background: var(--dark); }
.hosting-table thead th {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.875rem 1rem;
  text-align: left;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.hosting-table thead th:last-child { border-right: none; }
.hosting-table tbody tr { border-bottom: 1px solid #edf0f3; }
.hosting-table tbody tr:last-child { border-bottom: none; }
.hosting-table tbody tr:hover { background: var(--light); }
.hosting-table td {
  padding: 0.6875rem 1rem;
  color: var(--muted);
  border-right: 1px solid #edf0f3;
  vertical-align: middle;
}
.hosting-table td:last-child { border-right: none; }
.hosting-table td:first-child { font-weight: 500; color: var(--text); }
.price-cell  { font-weight: 500; color: #b34d00; }
.check-cell  { color: var(--blue); }
.hosting-btn {
  display: inline-flex;
  align-items: center;
  color: var(--blue-mid);
  text-decoration: none;
  border: 1px solid var(--blue);
  padding: 0.3125rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  min-height: 36px;
  transition: background 0.15s, color 0.15s;
}
.hosting-btn:hover { background: var(--blue-dark); color: var(--white); }

/* Toggle */
.hosting-toggle {
  width: 100%;
  background: var(--light);
  border: none;
  border-top: 1px solid #dde4ea;
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.8125rem;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  transition: background 0.15s;
  min-height: var(--touch);
}
.hosting-toggle:hover { background: #e4eaf0; }
.hosting-toggle-arrow {
  font-size: 1rem;
  transition: transform 0.25s;
}
.hosting-toggle[aria-expanded="true"] .hosting-toggle-arrow {
  transform: rotate(180deg);
}

/* Details */
.hosting-details {
  padding: 1.25rem 1rem;
  background: var(--white);
  border-top: 1px solid #edf0f3;
}
.hosting-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .hosting-details-grid { grid-template-columns: repeat(3, 1fr); }
}
.hosting-details-grid h3 {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.75rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid #edf0f3;
}
.hosting-details-grid ul { list-style: none; }
.hosting-details-grid li {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0.1875rem 0 0.1875rem 0.875rem;
  position: relative;
  line-height: 1.5;
}
.hosting-details-grid li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 0.625rem;
  top: 0.25rem;
}
.hosting-details-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #edf0f3;
}

/* ─── BUCHUNGS-PROZESS ───────────────────────────────────────────────────── */
.ang-process {
  background: var(--dark2);
  padding: 2.5rem var(--pad-x);
}
.ang-process h2 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  list-style: none;
  position: relative;
}
@media (min-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  .process-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: rgba(255,255,255,0.1);
    pointer-events: none;
  }
}

.process-step {
  text-align: center;
  padding: 0 0.75rem;
}
.process-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #015f88; /* Fallback für axe */
  background: rgba(1,145,200,0.2);
  border: 1px solid rgba(1,145,200,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 auto 0.75rem;
}
.process-step h3 {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.375rem;
}
.process-step p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

/* ─── CTA ────────────────────────────────────────────────────────────────── */
.ang-cta {
  background: var(--blue-dark);
  padding: 2.5rem var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .ang-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}
.ang-cta h2 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.375rem;
}
.ang-cta > div > p {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--blue-dark);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  min-height: var(--touch);
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s;
}
.btn-white:hover { opacity: 0.9; color: var(--blue); }

/* sr-only */

/* WCAG: Kontrast-Fixes */
.paket--dark em { color: #9ba4ae; }
.paket--dark .paket-vat { color: #8a939c; }
.paket-badge--secondary { background: var(--blue-dark); }
.process-step p { color: #9ba4ae; }
.ang-cta h2 { color: var(--white); }
.ang-cta p { color: rgba(255,255,255,0.95); }
.ang-domain-mini .section-label,
.ang-process .section-label { color: var(--blue-light); }

#hosting-toggle > span { color: var(--blue-mid); }

/* Abstand der Hint-Box im Hero */
.page-hero .hint-box { margin-top: 1.5rem; }

/* ════════════════════════════════════════════════════════════════════════
   WARTUNGS-SEKTION
   ════════════════════════════════════════════════════════════════════════ */

/* Featured row in Wartungstabelle */
.hosting-table tbody tr.row-featured {
  background: rgba(1,145,200,0.04);
}
.hosting-table tbody tr.row-featured td:first-child {
  font-weight: 500;
}

/* Inline-Beliebt-Badge in Tabellenzelle */
.wd-badge--row {
  display: inline-block;
  font-size: 0.625rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 10px;
  padding: 1px 7px;
  margin-left: 0.5rem;
  vertical-align: middle;
  font-weight: 500;
}

/* Wartungs-Info-Boxen unter Tabelle */
.wartung-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}
@media (min-width: 768px) {
  .wartung-info { grid-template-columns: 1fr 1fr; }
}

.wartung-info-block {
  background: var(--white);
  border: 1px solid #dde4ea;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.375rem;
}

.wartung-info-block h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.625rem;
}

.wartung-info-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wartung-info-block li {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  padding: 0.25rem 0 0.25rem 1.25rem;
  position: relative;
}

.wartung-info-block li::before {
  content: '·';
  position: absolute;
  left: 0.25rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 1.125rem;
  top: 0;
  line-height: 1.5;
}

.wartung-info-block li strong {
  color: var(--text);
}

/* INDIVIDUELL-Hinweis */
.wartung-individuell {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--white);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}

.wartung-individuell svg {
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.wartung-individuell p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.wartung-individuell strong {
  color: var(--text);
}
