/* ===========================================
   Hobbywerkstatt Reden — Design-System
   Marine-Header + Kornblumen-Körper
   =========================================== */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #fff;
  color: #334155;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* VARIABLEN */
:root {
  --nav-bg:        #1A3C6E;  /* Marine — Header */
  --accent:        #2D5F9E;  /* Kornblume — Akzent */
  --accent-hover:  #1A3C6E;
  --accent-light:  #EAF1FB;  /* Helles Blau — Hintergründe */
  --accent-border: #BFDBFE;  /* Blauer Rand */
  --text-dark:     #1E3A5F;  /* Überschriften */
  --text-mid:      #334155;  /* Fließtext */
  --text-muted:    #64748B;  /* Hinweistext */
  --bg-page:       #F7F9FC;  /* Abschnittshintergrund */
  --bg-card:       #ffffff;
  --border:        #E2E8F0;
}

/* ========== NAVIGATION ========== */
.site-nav {
  background: var(--nav-bg);
  padding: 0 5%;
  height: 62px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo-icon {
  background: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
  padding: 3px;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  list-style: none;
}
.nav-menu a {
  color: #93C5FD;
  font-size: 14px;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu a.active { color: #fff; }

.lang-btn {
  border: 0.5px solid #2D5F9E;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: #93C5FD;
  cursor: pointer;
  background: transparent;
  margin-left: 10px;
  font-family: inherit;
  white-space: nowrap;
}
.lang-btn:hover { background: rgba(45,95,158,0.35); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  display: block;
}

/* ========== SPRACH-CSS ========== */
html[lang="ru"] .lang-de { display: none !important; }
html:not([lang="ru"]) .lang-ru { display: none !important; }

/* ========== HERO ========== */
.hero {
  background: var(--accent-light);
  padding: 64px 5% 56px;
  border-bottom: 3px solid var(--accent);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
}
.hero-text { flex: 1; }

.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-h1 {
  font-size: 40px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.hero-badge {
  background: #fff;
  border: 0.5px solid var(--accent-border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 205px;
}
.hero-badge-icon { font-size: 22px; }
.hero-badge-title { font-size: 13px; font-weight: 500; color: var(--text-dark); }
.hero-badge-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.88; }
.btn-primary  { background: var(--nav-bg); color: #fff; }
.btn-secondary { background: #fff; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline  { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }

/* ========== TRUST-BAR ========== */
.trust-bar {
  background: var(--nav-bg);
  padding: 13px 5%;
}
.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #93C5FD;
  font-size: 13px;
  padding: 3px 28px 3px 0;
}
.trust-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #3B82F6;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========== SECTIONS ========== */
.section { padding: 64px 5%; }
.section-alt { padding: 64px 5%; background: var(--bg-page); }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-title {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.65;
}

/* ========== KARTEN ========== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.card-accent { border-left: 3px solid var(--accent); }
.card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.card-title { font-size: 16px; font-weight: 500; color: var(--text-dark); margin-bottom: 8px; }
.card-text  { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.card-link  { font-size: 13px; color: var(--accent); font-weight: 500; }
.card-link:hover { text-decoration: underline; }

/* ========== LISTEN ========== */
.check-list { list-style: none; }
.check-list li {
  padding: 11px 0;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.5;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 1px;
}

.dot-list { list-style: none; }
.dot-list li {
  padding: 9px 0;
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-mid);
}
.dot-list li:last-child { border-bottom: none; }
.dot-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* ========== PREISTABELLE ========== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid var(--accent-border);
}
.price-table th {
  background: var(--nav-bg);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-weight: 500;
  font-size: 13px;
}
.price-table td {
  padding: 12px 18px;
  border-bottom: 0.5px solid var(--border);
  color: var(--text-mid);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--bg-page); }
.price-bold { font-weight: 500; color: var(--text-dark); }
.price-amount { font-size: 32px; font-weight: 500; color: var(--nav-bg); }
.price-unit { font-size: 14px; color: var(--text-muted); margin-left: 4px; }

.price-card {
  background: #fff;
  border: 0.5px solid var(--accent-border);
  border-radius: 12px;
  padding: 28px 28px 24px;
}
.price-card-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.price-card-title { font-size: 20px; font-weight: 500; color: var(--text-dark); margin-bottom: 4px; }
.price-card-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.price-feature-list { list-style: none; margin-top: 18px; }
.price-feature-list li {
  padding: 9px 0;
  font-size: 14px;
  color: var(--text-mid);
  border-bottom: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-feature-list li:last-child { border-bottom: none; }
.price-feature-list li::before { content: '✓'; color: var(--accent); font-weight: 500; flex-shrink: 0; }

/* ========== FORMULAR ========== */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-mid);
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 95, 158, 0.1);
}
.form-textarea { resize: vertical; min-height: 120px; }

/* ========== INFO-BOX ========== */
.info-box {
  background: var(--accent-light);
  border: 0.5px solid var(--accent-border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}
.info-box strong { color: var(--text-dark); }

.warning-box {
  background: #FFFBEB;
  border: 0.5px solid #FDE68A;
  border-left: 3px solid #D97706;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14px;
  color: #78350F;
  line-height: 1.65;
}

/* ========== SEITENHEADER (Unterseiten) ========== */
.page-header {
  background: var(--accent-light);
  border-bottom: 3px solid var(--accent);
  padding: 52px 5% 44px;
}
.page-header-inner { max-width: 1100px; margin: 0 auto; }
.page-header-breadcrumb {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-header-breadcrumb a { color: var(--accent); }
.page-header-breadcrumb a:hover { text-decoration: underline; }
.page-header-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.page-header h1 {
  font-size: 34px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.page-header-sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.65;
}

/* ========== CTA-STREIFEN ========== */
.cta-strip {
  background: var(--nav-bg);
  padding: 48px 5%;
  text-align: center;
}
.cta-strip-inner { max-width: 600px; margin: 0 auto; }
.cta-strip h2 { font-size: 26px; font-weight: 500; color: #fff; margin-bottom: 10px; }
.cta-strip p { font-size: 15px; color: #93C5FD; margin-bottom: 24px; line-height: 1.6; }
.cta-strip .btn { margin: 0 6px; }
.btn-white { background: #fff; color: var(--nav-bg); }

/* ========== SPRACHBALKEN ========== */
.lang-bar {
  background: #F7F9FC;
  border-top: 0.5px solid var(--accent-border);
  padding: 12px 5%;
}
.lang-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lang-bar-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.lang-badge {
  background: var(--accent-light);
  border: 0.5px solid var(--accent-border);
  border-radius: 6px;
  padding: 4px 13px;
  font-size: 12px;
  color: var(--text-dark);
  font-weight: 500;
}

/* ========== FOOTER ========== */
.site-footer { background: var(--nav-bg); padding: 48px 5% 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
.footer-logo {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-logo-icon {
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: contain;
  padding: 3px;
}
.footer-desc { color: #93C5FD; font-size: 13px; line-height: 1.65; margin-bottom: 12px; }
.footer-addr { color: #64A0D4; font-size: 12px; line-height: 1.6; }
.footer-col-title { color: #fff; font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 9px; }
.footer-col-links a { color: #93C5FD; font-size: 13px; }
.footer-col-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 0.5px solid #2D5F9E;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy { color: #93C5FD; font-size: 12px; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: #93C5FD; font-size: 12px; }
.footer-legal a:hover { color: #fff; }

/* ========== ÖFFNUNGSZEITEN ========== */
.hours-table { width: 100%; font-size: 14px; }
.hours-table tr { border-bottom: 0.5px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 10px 0; color: var(--text-mid); }
.hours-table td:first-child { color: var(--text-dark); font-weight: 500; width: 140px; }
.hours-closed { color: var(--text-muted) !important; font-style: italic; }

/* ========== ZWEISPALTEN-LAYOUT ========== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.two-col-aside {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

/* ========== SCHRITTE ========== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; }
.step-num {
  width: 44px;
  height: 44px;
  background: var(--nav-bg);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  margin: 0 auto 14px;
}
.step-title { font-size: 15px; font-weight: 500; color: var(--text-dark); margin-bottom: 6px; }
.step-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ========== RECHTLICHE SEITEN ========== */
.legal-content h2 { font-size: 20px; font-weight: 500; color: var(--text-dark); margin: 32px 0 10px; }
.legal-content h3 { font-size: 16px; font-weight: 500; color: var(--text-dark); margin: 22px 0 8px; }
.legal-content p { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 12px; }
.legal-content ul { margin: 10px 0 14px 20px; font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-badges { flex-direction: row; flex-wrap: wrap; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .two-col, .two-col-aside { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; text-align: left; }
  .step-num { margin: 0 0 10px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-nav { padding: 0 4%; }
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    padding: 8px 4% 16px;
    border-top: 0.5px solid #2D5F9E;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 11px 0; border-bottom: 0.5px solid #2D5F9E; font-size: 15px; }
  .nav-menu a:last-child { border-bottom: none; }
  .lang-btn { margin-left: 0; margin-top: 8px; width: fit-content; }
  .nav-hamburger { display: flex; }
  .hero { padding: 40px 4% 36px; }
  .hero-h1 { font-size: 28px; }
  .hero-sub { font-size: 14px; }
  .section, .section-alt { padding: 44px 4%; }
  .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .trust-item { font-size: 12px; padding-right: 16px; }
  .page-header { padding: 36px 4%; }
  .page-header h1 { font-size: 26px; }
}

/* ---- Blazor-Integration (aus Template übernommen) ---- */
#blazor-error-ui {
    color-scheme: light only;
    background: #ffe8e8;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}
.status-bar-safe-area { display: none; }
@supports (-webkit-touch-callout: none) {
    .status-bar-safe-area { display: flex; position: sticky; top: 0; height: env(safe-area-inset-top); background-color: #1A3C6E; width: 100%; z-index: 1; }
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  background: #fff;
  padding: 0 20px;
  transition: box-shadow .2s ease;
}
.faq-item[open] {
  box-shadow: 0 4px 16px rgba(30, 58, 95, .08);
  border-color: #93C5FD;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: #1E3A5F;
  padding: 18px 0;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #2D5F9E;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.6;
}
