/* =========================================================
   AQUA-PLANER.DE - ZENTRALE CSS-DATEI
   =========================================================

   INHALTSÜBERSICHT
   01. Basis / Allgemein
   02. Container / Karten / Formulare / Buttons / Meldungen
   03. Header / Navigation / Branding
   04. Dashboard
   05. Aquarium-Seiten
   06. Landingpage / Startseite / Hero / Module
   07. SEO-Seiten
   08. Lightbox
   09. Responsive Anpassungen

   Hinweis:
   - Diese Datei ist so sortiert, dass globale Regeln zuerst kommen.
   - Danach folgen Seitenbereiche und Spezialmodule.
   - Doppelte Regeln wurden zusammengeführt.
   ========================================================= */


/* =========================================================
   01. BASIS / ALLGEMEIN
   ========================================================= */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
}


/* =========================================================
   02. CONTAINER / KARTEN / FORMULARE / BUTTONS / MELDUNGEN
   ========================================================= */

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

label {
    display: block;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    margin-top: 6px;
    margin-bottom: 16px;
    border: 1px solid #c9d1d9;
    border-radius: 6px;
    font-size: 15px;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

button {
    min-width: 160px;
    box-sizing: border-box;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: #1f4e5f;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

button:hover {
    background: #173946;
    transform: translateY(-1px);
}

.small {
    font-size: 13px;
    color: #666;
}

.grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}


/* ---------- Alerts / Status ---------- */

.alert {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 8px;
}

.alert.success {
    background: #d1fae5;
    color: #065f46;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.status-box {
    margin: 12px 0;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: bold;
}

.status-ok {
    background: #d1fae5;
    color: #065f46;
}

.status-soon {
    background: #fef3c7;
    color: #92400e;
}

.status-overdue {
    background: #fee2e2;
    color: #991b1b;
}


/* ---------- Allgemeine Button-Links ---------- */

.button-link {
    background: #1f4e5f;
    color: #fff;
}

.button-link:hover {
    background: #173946;
}

.button-secondary {
    background: #6b7280;
    color: #fff;
}

.button-secondary:hover {
    background: #4b5563;
}

.button-danger {
    background: #b91c1c;
    color: #fff;
}

.button-danger:hover {
    background: #991b1b;
}


/* ---------- Form Actions ---------- */

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.form-actions form {
    margin: 0;
}

.form-actions button,
.form-actions a.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    box-sizing: border-box;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.form-actions button:hover,
.form-actions a.button-link:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

/* kompaktere Links in manchen Bereichen */
.form-actions .button-link {
    padding: 8px 12px;
}


/* =========================================================
   03. HEADER / NAVIGATION / BRANDING
   ========================================================= */

.site-header {
    margin-bottom: 30px;
    padding: 12px 0;
    background: #1f4e5f;
    color: #fff;
}

.site-header h1 {
    margin: 0;
    font-size: 24px;
}

.site-header a {
    margin-left: 14px;
    color: #fff;
    text-decoration: none;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header .header-inner,
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    line-height: 1;
}

.brand:hover {
    opacity: 0.95;
    text-decoration: none;
}

.brand-logo {
    display: block;
    flex-shrink: 0;
    width: auto;
    height: 72px;
    max-width: none;
    margin-top: -4px;
    object-fit: contain;
}

.brand-text {
    font-size: 0;
    color: #fff;
    white-space: nowrap;
}


/* =========================================================
   04. DASHBOARD
   ========================================================= */

.dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dashboard-card {
    margin-bottom: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}


/* ---------- Dashboard Hero ---------- */

.dashboard-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: stretch;
}

.dashboard-hero-left h1,
.dashboard-hero-left h2,
.dashboard-hero-right h3,
.dashboard-section-head h2,
.dashboard-section-head h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.dashboard-hero-text {
    margin-top: 10px;
    color: #475569;
    line-height: 1.6;
}

.dashboard-hero-right {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.dashboard-image-wrap {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e2e8f0;
}

.dashboard-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-image-content {
    padding: 16px;
}

.dashboard-image-title {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 1.1rem;
}

.dashboard-image-user {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
}

.dashboard-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 20px;
    color: #64748b;
    text-align: center;
    line-height: 1.6;
}


/* ---------- Dashboard Struktur ---------- */

.dashboard-alert-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.dashboard-task-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-task-item {
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.dashboard-task-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.dashboard-task-title {
    margin-bottom: 2px;
    color: #111827;
    font-weight: 700;
}

.dashboard-task-sub {
    color: #6b7280;
    font-size: 0.92rem;
}


/* ---------- Dashboard Actions ---------- */

.dashboard-task-actions,
.dashboard-card-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.dashboard-task-actions form,
.dashboard-card-actions form {
    margin: 0;
}

.dashboard-task-actions a,
.dashboard-task-actions button,
.dashboard-card-actions a,
.dashboard-card-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: unset;
    box-sizing: border-box;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.dashboard-task-actions a,
.dashboard-task-actions button,
.dashboard-card-actions a,
.dashboard-card-actions button {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.dashboard-task-actions a:hover,
.dashboard-task-actions button:hover,
.dashboard-card-actions a:hover,
.dashboard-card-actions button:hover {
    text-decoration: none;
    transform: translateY(-1px);
}


/* ---------- Aquarium Übersicht im Dashboard ---------- */

.dashboard-aquarium-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-aquarium-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.dashboard-aquarium-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.dashboard-aquarium-title {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.3;
}

.dashboard-aquarium-title a {
    text-decoration: none;
}

.dashboard-aquarium-subtitle {
    margin-top: 4px;
    color: #6b7280;
    font-size: 0.94rem;
}

.dashboard-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.dashboard-meta-box {
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.dashboard-meta-label {
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 0.8rem;
}

.dashboard-meta-value {
    color: #111827;
    font-weight: 700;
    line-height: 1.3;
}


/* ---------- Dashboard Module ---------- */

.dashboard-module-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-module-box {
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.dashboard-module-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.dashboard-module-title {
    margin: 0;
    color: #111827;
    font-weight: 700;
}

.dashboard-info-list {
    display: grid;
    gap: 8px;
}

.dashboard-info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-info-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.dashboard-info-key {
    color: #6b7280;
    font-size: 0.92rem;
}

.dashboard-info-value {
    color: #111827;
    text-align: right;
    font-weight: 600;
}

.dashboard-water-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.dashboard-water-box {
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.dashboard-water-box .small {
    display: block;
    margin-bottom: 4px;
}

.dashboard-empty {
    color: #6b7280;
    font-size: 0.95rem;
}


/* =========================================================
   05. AQUARIUM-SEITEN
   ========================================================= */

.aqua-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.aqua-card {
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.aqua-card + .aqua-card {
    margin-top: 0;
}


/* ---------- Aquarium Header / Titel ---------- */

.aqua-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.aqua-title-wrap h1,
.aqua-title-wrap h2,
.aqua-section-head h2,
.aqua-section-head h3 {
    margin: 0;
}

.aqua-subtitle {
    margin-top: 6px;
    color: #6b7280;
    font-size: 0.95rem;
}

.aqua-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.aqua-status-spacing {
    margin-bottom: 14px;
}


/* ---------- Aquarium Meta ---------- */

.aqua-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.aqua-meta-box {
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.aqua-meta-label {
    margin-bottom: 4px;
    color: #6b7280;
    font-size: 0.82rem;
}

.aqua-meta-value {
    color: #111827;
    font-weight: 600;
    line-height: 1.35;
}


/* ---------- Aquarium Layout / Panels ---------- */

.aqua-split-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr);
    gap: 18px;
}

.aqua-panel {
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.aqua-panel-title {
    margin: 0 0 12px 0;
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
}

.aqua-info-list {
    display: grid;
    gap: 10px;
}

.aqua-info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

.aqua-info-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.aqua-info-key {
    color: #6b7280;
    font-size: 0.92rem;
}

.aqua-info-value {
    color: #111827;
    text-align: right;
    font-weight: 600;
}


/* ---------- Aquarium Historie ---------- */

.aqua-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aqua-history-item {
    padding: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.aqua-history-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.aqua-history-date {
    color: #111827;
    font-weight: 700;
}

.aqua-history-sub {
    margin-top: 2px;
    color: #6b7280;
    font-size: 0.92rem;
}

.aqua-history-note {
    margin-top: 8px;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.45;
}

.aqua-note-box {
    margin-top: 14px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.aqua-note-box strong {
    display: block;
    margin-bottom: 6px;
}


/* ---------- Aquarium Wasserwerte ---------- */

.aqua-water-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
}

.aqua-water-box {
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.aqua-water-box .small {
    display: block;
    margin-bottom: 5px;
}


/* ---------- Aquarium Filter ---------- */

.aqua-filter-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.aqua-filter-card {
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
}

.aqua-filter-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.aqua-filter-name {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.aqua-empty {
    color: #6b7280;
    font-size: 0.95rem;
}

.aqua-form-actions-top {
    margin-top: 14px;
}

.aqua-history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}


/* ---------- Aquarium Sortierung / Inline Steuerung ---------- */

.aqua-title-with-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aqua-sort-inline {
    display: flex;
    gap: 6px;
}

.aqua-sort-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #111827;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    background: #e5e7eb;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.aqua-sort-button:hover {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
}


/* ---------- Aquarium Modulstatus ---------- */

.aqua-module-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 14px;
}

.aqua-module-head--ok {
    background: #dcfce7;
    border: 1px solid #86efac;
}

.aqua-module-head--soon {
    background: #fef3c7;
    border: 1px solid #fcd34d;
}

.aqua-module-head--overdue {
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.aqua-module-head--empty {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
}


/* =========================================================
   06. LANDINGPAGE / STARTSEITE / HERO / MODULE
   ========================================================= */

.landing-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}


/* ---------- Startseiten-Hero ---------- */

.hero-card {
    padding: 32px 28px;
    background: linear-gradient(135deg, #0f766e 0%, #155e75 100%);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-card h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 2rem;
    line-height: 1.2;
}

.hero-card p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.hero-badges li {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 0.95rem;
    line-height: 1.2;
    backdrop-filter: blur(4px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-button,
.hero-button-secondary,
.button-link-alt {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.hero-button {
    background: #fff;
    color: #0f766e;
}

.hero-button:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.hero-button-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-button-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}


/* ---------- Bild des Tages im Hero ---------- */

.hero-image-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    backdrop-filter: blur(4px);
}

.hero-image-wrap {
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.hero-image-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: zoom-in;
}

.hero-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.hero-image-button:hover img {
    transform: scale(1.02);
}

.hero-image-content {
    padding: 16px;
}

.hero-image-label {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-image-user {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.96rem;
}

.hero-image-hint {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
}

.hero-image-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 20px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    line-height: 1.6;
}


/* ---------- Allgemeine Landing-Sections ---------- */

.section-card,
.quick-access-card {
    padding: 26px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.section-card h2,
.quick-access-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #0f172a;
    font-size: 1.45rem;
}

.section-intro,
.quick-access-card p {
    margin: 0 0 18px;
    color: #475569;
    line-height: 1.7;
}


/* ---------- Feature / Steps / Benefits ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.feature-item {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.feature-item h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.05rem;
}

.feature-item p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.step-item {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 12px;
    background: #0f766e;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
}

.step-item h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 1.05rem;
}

.step-item p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.benefit-list li {
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #334155;
}


/* ---------- Modul-Karten ---------- */

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.module-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.module-item h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.05rem;
}

.module-item p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.module-highlight {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 10px;
    background: #ecfeff;
    color: #0f766e;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
}

.module-link {
    align-self: flex-end;
    margin-top: 14px;
    color: #0f766e;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.module-link:hover {
    text-decoration: underline;
    transform: translateX(2px);
}

.module-note {
    margin-top: 8px;
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
}

.module-warning {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    background: #fef9c3;
    color: #92400e;
    border: 1px solid #fde68a;
    border-radius: 10px;
    font-size: 0.9rem;
}

.warning-icon {
    font-size: 1rem;
    line-height: 1.2;
}


/* ---------- CTA / Support / Schnellzugriff ---------- */

.cta-card {
    background: linear-gradient(135deg, #ecfeff 0%, #f0fdf4 100%);
    border: 1px solid #bae6fd;
}

.cta-card p {
    color: #334155;
    line-height: 1.7;
}

.cta-actions,
.quick-access-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta-actions {
    margin-top: 18px;
}

.button-link-main,
.button-link-alt,
.quick-access-actions .button-link {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.button-link-main,
.quick-access-actions .button-link {
    background: #0f766e;
    color: #fff;
}

.button-link-main:hover,
.quick-access-actions .button-link:hover {
    opacity: 0.94;
}

.button-link-alt,
.quick-access-actions .button-secondary {
    background: #fff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.button-link-alt:hover,
.quick-access-actions .button-secondary:hover {
    background: #f8fafc;
}

.support-card {
    background: #fffdf7;
    border: 1px solid #f5e6b3;
}

.support-card p {
    color: #4b5563;
    line-height: 1.7;
}


/* =========================================================
   07. SEO-SEITEN
   ========================================================= */

.seo-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.seo-hero {
    padding: 32px 28px;
    background: linear-gradient(135deg, #0f766e 0%, #155e75 100%);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.seo-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 2rem;
    line-height: 1.2;
}

.seo-hero p {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.7;
}

.seo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.seo-button,
.seo-button-alt {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.seo-button {
    background: #fff;
    color: #0f766e;
}

.seo-button-alt {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.seo-card {
    padding: 26px 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.seo-card h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.45rem;
}

.seo-card p {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.75;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.seo-grid-item {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.seo-grid-item h3 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 1.05rem;
}

.seo-note {
    padding: 18px;
    background: #ecfeff;
    border: 1px solid #bae6fd;
    border-radius: 14px;
}


/* =========================================================
   08. LIGHTBOX
   ========================================================= */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 6, 23, 0.88);
}

.lightbox-overlay.is-open {
    display: flex;
}

.lightbox-dialog {
    position: relative;
    width: auto;
    max-width: min(1100px, 96vw);
    max-height: 92vh;
}

.lightbox-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 82vh;
    background: #0f172a;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
    margin-top: 12px;
    color: #fff;
    text-align: center;
    line-height: 1.5;
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 42px;
    height: 42px;
    background: #fff;
    color: #0f172a;
    border: none;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
}

.lightbox-close:hover {
    opacity: 0.92;
}


/* =========================================================
   09. RESPONSIVE ANPASSUNGEN
   ========================================================= */

@media (max-width: 1100px) {
    .dashboard-aquarium-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .dashboard-hero-layout,
    .dashboard-alert-grid,
    .aqua-split-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .site-header .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-header nav {
        gap: 12px;
    }

    .brand-logo {
        height: 56px;
    }

    .brand-text {
        font-size: 0;
    }
}

@media (max-width: 700px) {
    .hero-card {
        padding: 24px 20px;
    }

    .hero-card h1 {
        font-size: 1.65rem;
    }

    .section-card,
    .quick-access-card,
    .seo-card {
        padding: 22px 18px;
    }

    .seo-hero {
        padding: 24px 20px;
    }

    .seo-hero h1 {
        font-size: 1.65rem;
    }

    .lightbox-close {
        top: -10px;
        right: -6px;
    }
}