   :root {
    --water: #3b82c4;
    --water-light: #dbeeff;
    --water-deep: #1a3a5c;
    --sage: #6b8f71;
    --sage-light: #e8f0e9;
    --gold: #c9a84c;
    --sand: #f5f0e8;
    --warm-white: #fdfaf5;
    --text: #1e2a35;
    --text-muted: #5a6a78;
    --danger: #b94a4a;
    --danger-light: #fdf0f0;
    --success: #3d7a4f;
    --success-light: #eef6f1;
    --border: #d8e4ec;
    --shadow: 0 4px 24px rgba(30,42,53,0.08);
  }

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

  html { scroll-behavior: smooth; font-size: 16px; }
  
a {
    color:#3b82c4;
  }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--warm-white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
  }
  
   .highlight-quote {
    border-left: 3px solid #a8d4f5;
    padding-left: 18px;
    margin: 20px 0;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: #3b82c4;
    line-height: 1.65;
  }

  /* ── HERO ── */
  .hero {
    background: linear-gradient(160deg, var(--water-deep) 0%, #2a5f8f 55%, #3b82c4 100%);
    color: white;
    padding: 80px 24px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
  }
  .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    padding: 6px 20px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
  }
  .hero h1 span { color: #a8d4f5; font-style: italic; }
  .hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 300;
  }
  .hero-modules {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 700px;
    margin: 0 auto;
  }
  .hero-chip {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: 0.82rem;
    font-weight: 500;
  }
  .wave {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    overflow: hidden;
  }
  .wave svg { display: block; width: 100%; height: 100%; }

  /* ── NAV ── */
  .nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(253,250,245,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
  }
  .nav-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 12px 0;
  }
  .nav-inner::-webkit-scrollbar { display: none; }
  .nav-item {
    flex-shrink: 0;
    background: none;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-muted);
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .nav-item:hover, .nav-item.active {
    background: var(--water-light);
    border-color: var(--water);
    color: var(--water-deep);
  }

  /* ── LAYOUT ── */
  .container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
  }

  /* ── SECTIONS ── */
  .section {
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
  }
  .section:last-child { border-bottom: none; }

  .section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
  }
  .section-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--water-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
  }
  .section-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--water);
    margin-bottom: 2px;
  }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--water-deep);
  }

  h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--water-deep);
    margin: 36px 0 16px;
  }
  h3:first-child { margin-top: 0; }

  p { margin-bottom: 16px; color: var(--text); }
  p:last-child { margin-bottom: 0; }

  /* ── PHASES ── */
  .phases { display: flex; flex-direction: column; gap: 16px; }
  .phase-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s;
  }
  .phase-card:hover { box-shadow: var(--shadow); }
  .phase-header {
    background: linear-gradient(90deg, var(--water-deep), var(--water));
    color: white;
    padding: 14px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .phase-num {
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
  }
  .phase-body { padding: 18px 20px; background: white; }

  /* ── BENEFITS LIST ── */
  .benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
  }
  .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--water-light);
    border-radius: 12px;
    padding: 14px 16px;
  }
  .benefit-icon { font-size: 1.2rem; margin-top: 1px; flex-shrink: 0; }
  .benefit-text { font-size: 0.9rem; font-weight: 500; line-height: 1.4; }

  /* ── FIT/NOT FIT TABLE ── */
  .suitability {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .suit-col {
    border-radius: 16px;
    padding: 20px;
  }
  .suit-col.yes { background: var(--success-light); border: 1px solid #b8dcc4; }
  .suit-col.no { background: var(--danger-light); border: 1px solid #e8b8b8; }
  .suit-col h4 {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }
  .suit-col.yes h4 { color: var(--success); }
  .suit-col.no h4 { color: var(--danger); }
  .suit-list { list-style: none; }
  .suit-list li {
    padding: 6px 0;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .suit-list li:last-child { border-bottom: none; }

  /* ── INFO BOX ── */
  .info-box {
    background: var(--water-light);
    border-left: 4px solid var(--water);
    border-radius: 0 12px 12px 0;
    padding: 18px 20px;
    margin: 20px 0;
  }
  .info-box.warning {
    background: #fff8e6;
    border-color: var(--gold);
  }
  .info-box.danger {
    background: var(--danger-light);
    border-color: var(--danger);
  }
  .info-box.success {
    background: var(--success-light);
    border-color: var(--success);
  }
  .info-box-title {
    font-weight: 700;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    color: var(--water-deep);
  }
  .info-box.warning .info-box-title { color: #7a5c00; }
  .info-box.danger .info-box-title { color: var(--danger); }
  .info-box.success .info-box-title { color: var(--success); }

  /* ── WATER TABLE ── */
  .water-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
  .water-table th {
    background: var(--water-deep);
    color: white;
    padding: 11px 14px;
    font-size: 0.8rem;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .water-table th:first-child { border-radius: 10px 0 0 0; }
  .water-table th:last-child { border-radius: 0 10px 0 0; }
  .water-table td {
    padding: 11px 14px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
  }
  .water-table tr:nth-child(even) td { background: var(--sand); }
  .water-table tr:last-child td { border-bottom: none; }
  .water-table tr:hover td { background: var(--water-light); transition: background 0.15s; }

  /* ── GENERIC TABLE ── */
  .data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.87rem; }
  .data-table th {
    background: var(--water-deep);
    color: white;
    padding: 10px 14px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
  }
  .data-table th:first-child { border-radius: 10px 0 0 0; }
  .data-table th:last-child { border-radius: 0 10px 0 0; }
  .data-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.5;
  }
  .data-table tr:nth-child(even) td { background: var(--sand); }
  .data-table tr:last-child td { border-bottom: none; }

  /* ── DAY SCHEDULE ── */
  .day-schedule { display: flex; flex-direction: column; gap: 0; }
  .day-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
  }
  .day-item:last-child { border-bottom: none; }
  .day-time {
    min-width: 70px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--water);
    padding-top: 2px;
    font-variant-numeric: tabular-nums;
  }
  .day-desc { font-size: 0.9rem; }

  /* ── SYMPTOM TABLE ── */
  .symptom-grid { display: flex; flex-direction: column; gap: 12px; }
  .symptom-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    font-size: 0.87rem;
  }
  .sym-cell { padding: 12px 14px; }
  .sym-cell:not(:last-child) { border-right: 1px solid var(--border); }
  .sym-cell .sym-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
  }
  .sym-cell.emergency { background: var(--danger-light); }
  .sym-cell.emergency .sym-label { color: var(--danger); }

  /* ── CHECKLIST ── */
  .checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    transition: background 0.2s;
    cursor: pointer;
  }
  .checklist li:hover { background: var(--sage-light); }
  .checklist-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 5px;
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 0.75rem;
  }
  .checklist li.checked .checklist-box {
    background: var(--sage);
    border-color: var(--sage);
    color: white;
  }
  .checklist li.checked span { text-decoration: line-through; color: var(--text-muted); }

  /* ── PLAN CARDS ── */
  .plan-cards { display: flex; flex-direction: column; gap: 16px; }
  .plan-card {
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
  }
  .plan-header {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .plan-header.beginner { background: var(--sage-light); color: var(--sage); }
  .plan-header.intermediate { background: var(--water-light); color: var(--water-deep); }
  .plan-header.advanced { background: #f0eaff; color: #4a2d7a; }
  .plan-body {
    padding: 16px 20px;
    background: white;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
  }
  .plan-item {
    background: var(--sand);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.84rem;
  }
  .plan-item strong { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 2px; }

  /* ── PROTOCOL TABLE ── */
  .protocol-table { width: 100%; border-collapse: collapse; }
  .protocol-table th {
    background: var(--water-deep);
    color: white;
    padding: 10px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: left;
  }
  .protocol-table th:first-child { border-radius: 10px 0 0 0; }
  .protocol-table th:last-child { border-radius: 0 10px 0 0; }
  .protocol-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    font-size: 0.9rem;
  }
  .protocol-table tr:last-child td { border-bottom: none; }
  .protocol-table tr:nth-child(even) td { background: var(--sand); }
  .protocol-input {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    width: 100%;
    background: white;
    color: var(--text);
  }
  .protocol-input:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 3px var(--water-light); }

  /* ── REFLECTION ── */
  .reflection-grid { display: flex; flex-direction: column; gap: 12px; }
  .reflection-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
  }
  .reflection-q {
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 8px;
    color: var(--water-deep);
  }
  textarea.reflection-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.87rem;
    resize: vertical;
    min-height: 70px;
    color: var(--text);
    background: var(--sand);
  }
  textarea.reflection-input:focus { outline: none; border-color: var(--water); background: white; box-shadow: 0 0 0 3px var(--water-light); }

  /* ── DISCLAIMER ── */
  .disclaimer {
    background: #fff8e6;
    border: 1px solid #e8d48a;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 40px;
  }
  .disclaimer-title {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7a5c00;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* ── FOOTER ── */
  .footer {
    background: var(--water-deep);
    color: rgba(255,255,255,0.75);
    text-align: center;
    padding: 48px 24px;
    font-size: 0.85rem;
    line-height: 1.8;
  }
  .footer strong { color: white; }
  .footer a { color: #a8d4f5; text-decoration: none; }

  /* ── TOC ── */
  .toc {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    margin: 40px 0;
    box-shadow: var(--shadow);
  }
  .toc-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--water-deep);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .toc-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
  .toc-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.15s;
  }
  .toc-list li a:hover {
    background: var(--water-light);
    color: var(--water-deep);
    padding-left: 18px;
  }
  .toc-num {
    min-width: 28px;
    height: 28px;
    background: var(--water-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--water-deep);
    flex-shrink: 0;
  }

  /* ── CLOSING ── */
  .closing {
    background: linear-gradient(135deg, var(--water-deep), var(--water));
    color: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 32px;
    text-align: center;
  }
  .closing h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: white;
    margin: 0 0 16px;
  }
  .closing p { color: rgba(255,255,255,0.85); font-size: 1rem; max-width: 520px; margin: 0 auto; }

  /* ── RESPONSIVE ── */
  @media (max-width: 640px) {
    .suitability { grid-template-columns: 1fr; }
    .symptom-card { grid-template-columns: 1fr; }
    .sym-cell:not(:last-child) { border-right: none; border-bottom: 1px solid var(--border); }
    .plan-body { grid-template-columns: 1fr 1fr; }
    .water-table, .data-table { font-size: 0.8rem; }
    .water-table th, .water-table td,
    .data-table th, .data-table td { padding: 8px 10px; }
    .benefit-grid { grid-template-columns: 1fr; }
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .section { animation: fadeUp 0.4s ease both; }
  
  
  
  
  
  /* ---------------------- LOGIN STYLE ---------------------- */

/* Hintergrund */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a3a5c, #3b82c4);
  font-family: 'DM Sans', sans-serif;
}

/* Box */
.login-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  text-align: center;
}

/* Titel */
.login-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #1a3a5c;
  margin-bottom: 8px;
}

.login-sub {
  font-size: 0.95rem;
  color: #5a6a78;
  margin-bottom: 30px;
}

/* Inputs */
.login-input {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid #d8e4ec;
  font-size: 0.95rem;
  transition: 0.2s;
}

.login-input:focus {
  outline: none;
  border-color: #3b82c4;
  box-shadow: 0 0 0 3px #dbeeff;
}

/* Button */
.login-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(90deg, #3b82c4, #2a5f8f);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Fehler */
.login-error {
  background: #fdf0f0;
  color: #b94a4a;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* Meldungen */
.msg-success {
  background: #eef6f1;
  color: #3d7a4f;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.msg-error {
  background: #fdf0f0;
  color: #b94a4a;
  padding: 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* Link back/pass */
.logpwd-link {
margin-top:12px; font-size:0.85rem;
}

.logpwd-link a {
  margin-top: 14px;
  display: block;
  font-size: 0.85rem;
  color: #3b82c4;
  text-decoration: none;
}