:root {
    --color-primary: #0399a7;
    --color-primary-dark: #017280;
    --color-accent: #56c271;
    --color-bg: #f4f7f9;
    --color-bg-dark: #0a2730;
    --color-text: #1f2933;
    --color-muted: #6b7280;
    --color-card-bg: #ffffff;
    --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.08);
    --radius-xl: 1.5rem;
    --radius-lg: 1rem;
    --radius-pill: 999px;
    --transition-fast: 0.18s ease-out;
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--color-text);
    background: radial-gradient(circle at top left, #e5f6ff 0, #f3faf6 40%, #f4f7f9 100%);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ----------------- HEADER / NAVIGATION ----------------- */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;

    /* Glass look */
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);

    /* floating shadow */
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.08);
    transition: background 0.25s ease, backdrop-filter 0.25s ease;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


/* Die EINZIGE sichtbare Pille */
.logo-pill {
    background: rgba(255, 255, 255, 0.55);      /* leicht transparentes Glas */
    padding: 10px 26px;
    border-radius: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    /* Glas-Effekt */
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);

    /* sanfter Schatten */
    box-shadow: 0 8px 26px rgba(3, 153, 167, 0.28);

    /* Animation */
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    position: relative;
    overflow: hidden;
}

/* Initial logo state */
.logo-pill {
    height: 64px;
    padding: 10px 26px;
    transition: transform 0.25s ease, height 0.25s ease, padding 0.25s ease;
}

/* Shrinked logo (activated by JS) */
.header-small .logo-pill {
    height: 58px;
    padding: 6px 22px;
    transform: scale(0.97);
}


.logo-pill::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    right: 0;
    height: 28%;
    border-radius: inherit;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.65),
        rgba(255, 255, 255, 0.05)
    );
    pointer-events: none;
}

.logo-link:hover .logo-pill {
    transform: translateY(-3px) scale(1.03);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 14px 34px rgba(3, 153, 167, 0.38);
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    padding: 0;
    margin: 0;
    background: none !important;
    border: none !important;
    outline: none !important;
}

.logo-pill img {
    height: 52px;      /* falls es vorher größer war, diesen Wert anpassen */
    width: auto;
    display: block;
    pointer-events: none;
}


/* Entfernt Fokus-Effekte */
.logo-link:focus, 
.logo-link:active,
.logo-link:hover {
    outline: none;
}

.nav-logo-mark:hover {
    transform: translateY(-2px);
}

.nav-logo-mark img {
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.nav-link {
    position: relative;
    color: var(--color-muted);
    font-weight: 500;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4rem;
    width: 0%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    transition: width var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-primary-dark);
    text-decoration: none;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ----------------- BUTTONS ----------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: var(--radius-pill);
    padding: 0.55rem 1.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast),
        background var(--transition-fast), border-color var(--transition-fast),
        color var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-color: rgba(15, 23, 42, 0.08);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(3, 153, 167, 0.43);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(3, 153, 167, 0.55);
}

.btn-ghost {
    background: rgba(3, 153, 167, 0.06);
    border-color: rgba(3, 153, 167, 0.2);
    color: var(--color-primary-dark);
}

.btn-ghost:hover {
    background: rgba(3, 153, 167, 0.1);
}

.btn-outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--color-muted);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
    background: rgba(3, 153, 167, 0.03);
}

/* ----------------- MOBILE: HAMBURGER & OVERLAY ----------------- */

/* Hamburger-Button */

.nav-toggle {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-left: auto;

    display: none;              /* wird im Media-Query aktiv */
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav-toggle span {
    width: 24px;
    height: 3px;
    border-radius: 999px;
    background: #0299a7;        /* EEG-Farbe */
    margin: 3px 0;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

/* Hamburger -> X Animation */
body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

/* Vollbild-Mobile-Menü */

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;

    display: flex;
    flex-direction: column;

    padding: calc(0.6rem + env(safe-area-inset-top))
             1.4rem
             calc(0.9rem + env(safe-area-inset-bottom));

    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.22s ease-out, transform 0.22s ease-out;

    height: 100%;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

/* geöffnet */
body.nav-open .mobile-nav-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    margin-bottom: 0.9rem;
}

.mobile-nav-top .nav-logo-mark {
    width: 150px;
    height: 52px;
    box-shadow: 0 10px 26px rgba(3, 153, 167, 0.28);
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: #0f172a;
}

/* Menü-Einträge */

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    font-size: 1.15rem;
    font-weight: 500;
    margin-top: 0.2rem;
}

.mobile-nav-menu a {
    color: #0f172a;
    text-decoration: none;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);

    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.mobile-nav-menu a:last-child {
    border-bottom: none;
}

.mobile-nav-menu a:hover {
    text-decoration: underline;
}

/* gestaffeltes Einblenden */
body.nav-open .mobile-nav-menu a {
    opacity: 1;
    transform: translateY(0);
}
body.nav-open .mobile-nav-menu a:nth-child(1) { transition-delay: 0.05s; }
body.nav-open .mobile-nav-menu a:nth-child(2) { transition-delay: 0.08s; }
body.nav-open .mobile-nav-menu a:nth-child(3) { transition-delay: 0.11s; }
body.nav-open .mobile-nav-menu a:nth-child(4) { transition-delay: 0.14s; }
body.nav-open .mobile-nav-menu a:nth-child(5) { transition-delay: 0.17s; }

/* Buttons unten im Overlay */

.mobile-nav-buttons {
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.mobile-nav-btn {
    text-align: center;
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.16s ease-out, box-shadow 0.16s ease-out,
                background 0.18s ease-out, color 0.18s ease-out;
}

/* Login (sekundär) */
.mobile-nav-btn.btn-secondary {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: #0f172a;
}

.mobile-nav-btn.btn-secondary:hover {
    background: rgba(2, 153, 167, 0.06);
    border-color: #0299a7;
}

/* Kostenlos registrieren (Haupt-CTA) */
.mobile-nav-btn.btn-primary {
    background: linear-gradient(135deg, #03a9a4, #4ade80);
    border: none;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(3, 153, 167, 0.5);
}

.mobile-nav-btn.btn-primary:hover {
    background: linear-gradient(135deg, #01948f, #22c55e);
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(3, 153, 167, 0.6);
}

/* ----------------- SECTIONS ALLGEMEIN ----------------- */

main {
    flex: 1;
    margin-top: 82px;   /* Höhe des Headers (kannst du bei Bedarf leicht anpassen) */
}

.section {
    padding: 3rem 1.25rem;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-heading {
    margin-bottom: 2.4rem;
    text-align: center;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: clamp(1.6rem, 2.1vw, 2rem);
    margin: 0;
}

.section-subtitle {
    margin-top: 0.5rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.98rem;
    color: var(--color-muted);
}

/* Anker-Offset für fixe Navigation */
section[id] {
    scroll-margin-top: 90px;   /* Höhe des Headers + etwas Luft */
}

/* Scroll Animation Base State */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* When revealed */
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Optional: Stagger-Effekt */
.reveal[data-delay="1"] { transition-delay: 0.15s; }
.reveal[data-delay="2"] { transition-delay: 0.30s; }
.reveal[data-delay="3"] { transition-delay: 0.45s; }
.reveal[data-delay="4"] { transition-delay: 0.60s; }


/* Fehlerzustand */
.form-group.error .form-label {
    color: #b91c1c; /* Rot */
    font-weight: 600;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
    border-color: #b91c1c !important;
    background: rgba(185, 28, 28, 0.06);
}

.form-group.error .form-input:focus,
.form-group.error .form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.25);
}



/* ----------------- HERO ----------------- */

.hero {
    padding-top: 3.5rem;
    padding-bottom: 2.3rem;
}

#features {
    padding-top: 2.2rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(3, 153, 167, 0.08);
    color: var(--color-primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-eyebrow span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(86, 194, 113, 0.25);
}

.hero-title {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    line-height: 1.08;
    margin: 0 0 0.75rem;
}

.hero-title span {
    background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 540px;
    font-size: 1rem;
    color: var(--color-muted);
    margin-bottom: 1.75rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.hero-badge {
    font-size: 0.78rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.03);
    color: var(--color-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-primary);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.7rem;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--color-muted);
}

.hero-right {
    position: relative;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-xl);
    background: radial-gradient(circle at 0 0, rgba(86, 194, 113, 0.18), rgba(3, 153, 167, 0.12));
    box-shadow: var(--shadow-soft);
    padding: 1.6rem 1.7rem 1.5rem;
    overflow: hidden;
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-chip {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-muted);
}

/* Statistik-Kacheln */

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}

.hero-metric {
    border-radius: 1.1rem;
    background: #ffffff;
    padding: 0.9rem 1rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 96px;
}

/* Unser System Kacheln – weiß, ohne ungewollten Farbstich */
.hero-metric {
    background: rgba(255, 255, 255, 0.82); /* fast rein weiß */
    border-radius: 20px;

    /* sehr leichter Glaslook statt starker Transparenz */
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);

    border: 1px solid rgba(255, 255, 255, 0.55);

    /* Schatten modernisiert */
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.06);

    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-metric:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(3,153,167,0.25);
}

.hero-metric-label {
    font-size: 0.78rem;
    color: var(--color-muted);
    margin-bottom: 0.2rem;
}

.hero-metric-value {
    font-weight: 700;
    font-size: 1.05rem;
}

.hero-metric-highlight {
    margin-top: 0.5rem;
    border-radius: 999px;
    background: rgba(86, 194, 113, 0.12);
    padding: 0.35rem 0.75rem 0.4rem;
    font-size: 0.76rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    color: #15803d;
}

.hero-metric-highlight-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-metric-highlight-sub {
    color: #166534;
    font-size: 0.74rem;
}

.hero-metric-highlight .icon {
    font-size: 0.9rem;
}

.hero-metric-highlight .value {
    font-weight: 600;
}

.hero-metric-highlight .trend-word {
    font-weight: 500;
}

/* Stromfluss-Chart */

.hero-chart-preview {
    margin-top: 0.7rem;
    border-radius: 1.3rem;
    padding: 1.1rem 1rem 0.9rem;
    background: linear-gradient(135deg, #9fd0ec, #0f5d88);
    color: #e5f3ff;
    position: relative;
    overflow: hidden;
}

.hero-chart-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to top, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.25;
    pointer-events: none;
}

.hero-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    position: relative;
    z-index: 1;
}

.hero-chart-legend {
    display: flex;
    gap: 0.6rem;
    font-size: 0.7rem;
}

.hero-chart-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.hero-chart-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #fde047;
}

.hero-chart-dot.ev {
    background: #e5e7eb;
}

.hero-chart-dot.total {
    background: #38bdf8;
}

.hero-chart-canvas {
    position: relative;
    z-index: 1;
}

.hero-chart-canvas canvas {
    width: 100%;
    height: 110px;
}

.hero-fade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.2), transparent 60%);
    opacity: 0.55;
    pointer-events: none;
}

/* ----------------- FEATURES / CARDS ----------------- */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}

.card {
    border-radius: var(--radius-lg);
    background: var(--color-card-bg);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem 1.3rem;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at top left, rgba(86, 194, 113, 0.13), transparent 55%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.45rem;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.9rem;
    background: rgba(3, 153, 167, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.card-title {
    font-size: 1rem;
    margin: 0;
}

.card-body {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin: 0.35rem 0 0.65rem;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.86rem;
    color: var(--color-text);
}

.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.3rem;
}

.card-list-bullet {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    margin-top: 0.35rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
}

/* ----------------- TWO-COLUMN ----------------- */

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.4rem;
    align-items: flex-start;
}

.two-column.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.pill-list {
    list-style: none;
    padding-left: 0;
    margin: 0.6rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.pill-list li {
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-pill);
    border: 1px dashed rgba(148, 163, 184, 0.7);
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* ----------------- PRICING ----------------- */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
    align-items: stretch;
}

/* Pricing-Karten im Glassmorphism Stil */
.pricing-card {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    padding: 1.7rem 1.6rem 1.5rem;

    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);

    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.10);

    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(3,153,167,0.28);
}

/* Highlight-Karte (Statistik & Billing) */
.pricing-card.highlight {
    background: rgba(255, 255, 255, 0.32);
    border: 1px solid rgba(3,153,167,0.35);
    box-shadow: 0 18px 46px rgba(3,153,167,0.35);
}


.pricing-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-muted);
    margin-bottom: 0.25rem;
}

.pricing-name {
    font-size: 1.1rem;
    margin: 0;
}

.pricing-price {
    margin: 0.3rem 0 0.2rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.pricing-price span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-muted);
}

.pricing-note {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-bottom: 0.9rem;
}

.pricing-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.1rem;
    font-size: 0.9rem;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.pricing-list-icon {
    width: 16px;
    height: 16px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.8);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-top: 0.1rem;
}

.pricing-footer {
    font-size: 0.82rem;
    color: var(--color-muted);
}

.pricing-note-block {
    margin-top: 2rem;
    background: rgba(3, 153, 167, 0.06);
    border-left: 4px solid var(--color-primary);
    padding: 1.2rem 1.4rem;
    border-radius: 0.9rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--color-text);
}

.pricing-note-block strong {
    font-weight: 600;
}

.form-success {
    font-size: 1rem;
    font-weight: 600;
    color: #15803d;
    margin-bottom: 1rem;
}

.form-error {
    font-size: 1rem;
    font-weight: 600;
    color: #b91c1c;
    margin-bottom: 1rem;
}


.dashboard-sample-card {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 22px;
    overflow: hidden;

    backdrop-filter: blur(18px) saturate(130%);
    -webkit-backdrop-filter: blur(18px) saturate(130%);

    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);

    padding: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dashboard-sample-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 46px rgba(3, 153, 167, 0.35);
}


.dashboard-sample-card img {
    display: block;
    width: 100%;
    height: auto;
}

/* ----------------- FORM / LOGIN / REG ----------------- */

.login-card {
    border-radius: var(--radius-xl);
    background: var(--color-card-bg);
    box-shadow: var(--shadow-soft);
    padding: 1.8rem 1.6rem 1.6rem;
    max-width: 420px;
}

.login-title {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}

.login-subtitle {
    margin: 0 0 1.2rem;
    font-size: 0.88rem;
    color: var(--color-muted);
}

.form-group {
    margin-bottom: 0.9rem;
}

.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.8);
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
    background: #ffffff;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(3, 153, 167, 0.25);
}

.form-textarea {
    min-height: 90px;
    resize: vertical;
}

.form-helper {
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-top: 0.15rem;
}

.login-footer-note {
    margin-top: 0.9rem;
    font-size: 0.78rem;
    color: var(--color-muted);
}

/* Registrierung */

.reg-container {
    max-width: 900px;
    margin: 0 auto;
}

.heading {
    margin-bottom: 2.2rem;
}

.heading-kicker {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.heading-title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.8rem, 2.3vw, 2.1rem);
}

.heading-sub {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
    max-width: 640px;
}

.form-card {
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    padding: 1.8rem 1.6rem 1.7rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.4rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
}

.checkbox-row input {
    margin-top: 0.15rem;
}

.form-footer {
    margin-top: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.form-note {
    font-size: 0.8rem;
    color: var(--color-muted);
}

/* ----------------- KONTAKT / IMPRESSUM ----------------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: 2.2rem;
}

.contact-card {
    border-radius: var(--radius-xl);
    padding: 1.6rem 1.5rem;
    background: var(--color-card-bg);
    box-shadow: var(--shadow-soft);
}

.contact-label {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-muted);
    margin-bottom: 0.25rem;
}

.contact-email {
    font-size: 1.05rem;
    font-weight: 600;
}

.contact-email a {
    color: var(--color-primary-dark);
}

.impressum {
    font-size: 0.82rem;
    color: var(--color-muted);
}

.impressum h3 {
    font-size: 0.96rem;
    margin-top: 0;
    margin-bottom: 0.4rem;
}

.impressum p {
    margin: 0.12rem 0;
}

/* ----------------- FOOTER ----------------- */

footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background: var(--color-bg-dark);
    color: #cbd5f5;
    padding: 1.2rem 1.25rem 1.3rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #e5e7eb;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ----------------- RESPONSIVE ----------------- */

@media (max-width: 960px) {
    .hero-grid,
    .features-grid,
    .pricing-grid,
    .two-column,
    .two-column.reverse,
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-right {
        order: -1;
    }
}

@media (max-width: 768px) {
    /* header bleibt fixed, daher hier KEINE position-Angabe mehr */

    .nav-inner {
        padding-top: 0.6rem;
        padding-bottom: 0.7rem;
        flex-wrap: nowrap;
        align-items: center;
    }

    .nav-toggle {
        display: inline-flex;
    }

    nav,
    .nav-actions {
        display: none;
    }

    .hero {
        padding-top: 2.1rem;
    }
}


@media (max-width: 700px) {
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .section {
        padding-top: 2.7rem;
        padding-bottom: 2.7rem;
    }

    .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pricing-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-card {
        padding: 1.4rem 1.35rem 1.3rem;
    }

    .hero-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
