:root {
    --blue: #0C2340;
    --orange: #FF7A00;
    --lightgray: #F2F2F2;
    --dark: #1A1A1A;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--lightgray);
    color: var(--dark);
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(12, 35, 64, 0.95);
    backdrop-filter: blur(6px);
    color: var(--white);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* linke Seite: Burger + Logo */
.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* zwei Nav-Bereiche */
.nav-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 15px;
}

a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    opacity: 0.8;
}


.logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.logo-text {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.nav a {
    color: var(--white);
    margin-left: 15px;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--orange);
    transition: width 0.2s ease-out;
}

.nav a:hover::after {
    width: 100%;
}

/* Erstes Zeichen im Menü farbig */
.nav-firstletter {
    color: var(--orange);
}

/* Damit der Hover-Effekt weiterhin funktioniert und die Farbe nicht überschreibt */
.nav-highlight:hover .nav-firstletter {
    color: var(--orange); /* bleibt orange */
}

/* Hero */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 30px;
    padding: 80px 20px 60px;
    background: radial-gradient(circle at top left, #123566, var(--blue));
    color: var(--white);
}

.hero-inner {
    max-width: 600px;
    animation: fadeInUp 0.7s ease-out;
}

.hero-title {
    margin: 0;
    font-size: 2.8rem;
}

.hero-subtitle {
    margin: 10px 0 20px;
    color: var(--orange);
    font-size: 1.6rem;
}

.hero-text {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 20px;
}

.hero-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    max-width: 260px;
    animation: float 6s ease-in-out infinite;
}

.hero-card-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1rem;
}

.hero-card ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.9rem;
}

.hero-ball {
    position: absolute;
    right: 10%;
    bottom: 10%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 25px rgba(255, 122, 0, 0.6);
    animation: bounce 2.5s ease-in-out infinite;
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    filter: brightness(1.05);
}

/* Standard-Secondary-Button (für helle Hintergründe, z.B. Cards, Dashboard) */
.btn-secondary {
    background: transparent;
    color: var(--blue);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* Variante im Hero-Bereich (dunkler Hintergrund) */
.hero .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* Sektionen */

.section {
    padding: 60px 20px;
}

.section-alt {
    background: #e7eaef;
}

.section-highlight {
    background: var(--orange);
    color: var(--white);
}

.section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.section h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.section-title-small {
    text-align: left;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.section-intro-left {
    text-align: left;
    max-width: 720px;
    margin: 0 0 24px;
}

@media (max-width: 600px) {
    .section-title-small {
        font-size: 1.25rem;
    }
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Karten */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}


.section-alt .card {
    background: #f7f7f7;
}

.card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transform: translateY(10px);
    opacity: 0;
    animation: fadeInUp 0.6s forwards;

    /* Inhalt vertikal strecken */
    display: flex;
    flex-direction: column;

    /* für Premium-Label oben rechts */
    position: relative;
}


.card-actions {
    margin-top: auto;      /* schiebt den Button nach unten */
    padding-top: 12px;     /* etwas Abstand zum Text */
}

.card-actions .btn {
    width: 100%;
    text-align: center;
}


.card-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.card h4 {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

.card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-tag {
    display: inline-block;
    background: rgba(12, 35, 64, 0.08);
    color: var(--blue);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.card-list {
    margin: 10px 0 0;
    padding-left: 18px;
    font-size: 0.9rem;
}

.card-tag.premium {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 122, 0, 0.15); /* dezentes Orange */
    color: var(--orange);
    border: 1px solid rgba(255, 122, 0, 0.3);
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    pointer-events: none; /* verhindert Hover-Effekte */
}





/* Steps */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step {
    background: var(--white);
    border-radius: 12px;
    padding: 18px 18px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

/* FAQ */

.faq {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    padding: 15px 15px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
}

.faq-item h4 {
    margin: 0 0 8px;
    font-size: 1rem;
}

/* Footer */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 15px 20px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.85rem;
}

.footer-links a {
    color: var(--white);
    margin-left: 15px;
    text-decoration: none;
    font-size: 0.85rem;
}

/* Animationen */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fadeInUp 0.6s forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.15s;
}

.fade-in.delay-2 {
    animation-delay: 0.3s;
}

.fade-in.delay-3 {
    animation-delay: 0.45s;
}


/* Responsive */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 70px;
    }

    .hero-visual {
        margin-top: 20px;
    }

    .header {
        justify-content: space-between;
        align-items: center;
    }

    .burger {
        display: flex; /* jetzt sichtbar auf Handy */
    }

    /* Hauptmenü: standardmäßig versteckt, per Burger einblendbar */
    .nav-main {
        position: absolute;
        top: 56px; /* ungefähr Headerhöhe */
        left: 0;
        right: 0;
        background: rgba(12, 35, 64, 0.98);
        padding: 10px 20px 12px;
        flex-direction: column;
        gap: 8px;
        display: none; /* wird per Klasse geöffnet */
    }

    .nav-main.nav-open {
        display: flex;
    }

    .nav-main a {
        margin-left: 0;
        font-size: 0.95rem;
    }

    /* Login/Logout bleibt rechts sichtbar */
    .nav-auth {
        gap: 8px;
    }

    .nav-auth a {
        margin-left: 0;
        font-size: 0.85rem;
    }
}



/* Formular-Spalte sauber setzen */
.preform {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.preform input[type="text"],
.preform input[type="email"],
.preform input[type="password"],
.preform input[type="number"],
.preform select {
    padding: 10px 12px;
    border-radius: 6px;
    border: none;
    font-size: 0.95rem;
    width: 100%;
    max-width: 380px;
}

.preform-note {
    margin-top: 10px;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Multi-Select höher */
.ziele-select {
    min-height: 110px;
}

.ziele-hinweis {
    font-size: 0.8rem;
    opacity: 0.9;
    max-width: 380px;
    text-align: left;
}

/* AGB-Zeile */
.agb-row {
    flex-basis: 100%;
    max-width: 380px;
    font-size: 0.85rem;
    text-align: left;
}

.agb-row a {
    color: inherit;
    text-decoration: underline;
}

/* Button über gesamte Breite der Eingaben */
.btn-full {
    width: 100%;
    max-width: 380px;
}

/* Wichtig: Button im orangenen Bereich sichtbar machen */
.section-highlight .btn-primary {
    background: #ffffff;
    color: var(--orange);
}

.section-highlight .btn-primary:hover {
    filter: brightness(0.95);
}

.burger {
    display: none; /* Desktop: verstecken */
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 6px;
    cursor: pointer;
}

.burger span {
    display: block;
    height: 2px;
    width: 70%;
    margin: 0 auto;
    background: var(--white);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* animierte X-Form, wenn offen */
.burger.is-open span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
    opacity: 0;
}

.burger.is-open span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
}

.info-box {
    margin-top: 2rem;
    padding: 18px 18px 16px;
    border-radius: 12px;
    background: var(--white);
    border-left: 4px solid var(--orange);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
}

.info-box h4 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    color: var(--blue);
}

.info-box p {
    margin: 0 0 0.6rem;
}

.info-box ul {
    margin: 0.4rem 0 0.6rem 1.2rem;
    padding: 0;
}

.info-box ul ul {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.info-box .btn {
    margin-top: 0.5rem;
}

/* ============================
   Dashboard Widgets (dashboard1.php)
   ============================ */

body.dashboard-widgets {
    background: #0b0d14;          /* dunkler Hintergrund wie iOS-Widget-Ansicht */
    color: var(--white);
}

.dashboard-widgets .section {
    padding-top: 40px;            /* näher am Header */
    padding-bottom: 30px;
}

.dashboard-widgets .section-inner {
    max-width: 1100px;
}

.widget-header {
    margin-bottom: 16px;
    color: var(--white);
}

.widget-title {
    margin: 0 0 4px;
    font-size: 1.4rem;
    font-weight: 600;
}

.widget-subtitle {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Grid für die Kacheln */
.widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

/* Basis-Kachel */
.widget-card {
    border-radius: 18px;
    color: var(--white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
    padding: 10px 12px;
    cursor: pointer;
    transition: transform 0.08s ease-out, box-shadow 0.08s ease-out;
}

.widget-card:active {
    transform: scale(0.97);
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

/* Farbvarianten der Widgets */
.widget--profile          { background: linear-gradient(135deg, #1f2a44, #32547d); }
.widget--path             { background: linear-gradient(135deg, #243b53, #136f63); }
.widget--friends          { background: linear-gradient(135deg, #19324d, #0f4c81); }
.widget--video        { background: linear-gradient(135deg, #402218, #e07a5f); }
.widget--events       { background: linear-gradient(135deg, #3f2a56, #c96dd8); }
.widget--players      { background: linear-gradient(135deg, #123524, #00a676); }
.widget--market       { background: linear-gradient(135deg, #402f1f, #f2a65a); }
.widget--games        { background: linear-gradient(135deg, #101935, #5e60ce); }
.widget--friends-overview { background: linear-gradient(135deg, #1d3557, #457b9d); }


/* Inhalt der Widgets */
.widget-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
}

.widget-label {
    text-transform: uppercase;
    letter-spacing: 0.09em;
    font-size: 0.7rem;
    opacity: 0.75;
}

.widget-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.widget-title-small {
    margin: 4px 0 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.widget-meta {
    font-size: 0.78rem;
    opacity: 0.85;
    margin-top: 4px;
}

.widget-list {
    margin: 4px 0 0;
    padding-left: 16px;
    font-size: 0.78rem;
    opacity: 0.9;
}

.widget-list li {
    margin-bottom: 2px;
}

.widget-badge {
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.25);
}

/* „Große“ Widgets (zweireihig) auf Desktop */
.widget--tall {
    grid-row: span 2;
}

@media (max-width: 800px) {
    .widget--tall {
        grid-row: span 1;  /* auf kleineren Screens alle gleich hoch */
    }
}

@media (max-width: 600px) {
    .widget-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   Freundes-Einladung Seite (Dark, passend zum Dashboard)
   ============================ */

body.page-invite {
    background: #020617;           /* etwas dunkler, wirkt edler */
    color: var(--white);
}

.page-invite .section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-invite .invite-inner {
    max-width: 900px;
}

/* Titel & Untertitel */

.page-title {
    margin: 0 0 6px;
    font-size: 1.6rem;
    font-weight: 600;
}

.page-subtitle {
    margin: 0 0 22px;
    font-size: 0.95rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* Card-Grundstil auf dunklem Hintergrund */

.page-invite .card.invite-card {
    background: radial-gradient(circle at top left, #111827, #020617);
    color: var(--white);
    border-radius: 18px;
    padding: 20px 18px 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.invite-card h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
}

.invite-card h3 {
    margin-top: 18px;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

/* Info-Text im Formular */

.invite-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 14px;
}

/* Fehlerbox */

.invite-alert {
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.invite-alert-error {
    background: rgba(127, 29, 29, 0.8);
    color: #fee2e2;
    border: 1px solid rgba(248, 113, 113, 0.8);
}

/* Inputs & Textareas auf Dark-Theme anpassen */

.page-invite .preform {
    align-items: stretch;
    gap: 12px;
}

.page-invite .preform input[type="text"],
.page-invite .preform input[type="email"],
.page-invite .preform textarea {
    max-width: 100%;
    width: 100%;
    background: rgba(15, 23, 42, 0.85);
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 9px 11px;
    font-size: 0.95rem;
    color: #e5e7eb;
    outline: none;
}

.page-invite .preform input[type="text"]::placeholder,
.page-invite .preform input[type="email"]::placeholder {
    color: rgba(148, 163, 184, 0.8);
}

.page-invite .preform input[type="text"]:focus,
.page-invite .preform input[type="email"]:focus,
.page-invite .preform textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.5);
}

/* Radio-Optionen */

.invite-options {
    text-align: left;
    font-size: 0.9rem;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.invite-options > span {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.88rem;
}

.invite-options label {
    display: block;
    margin-bottom: 4px;
    cursor: pointer;
}

.invite-options input[type="radio"] {
    margin-right: 6px;
}

/* Nachrichtentext-Feld */

.invite-message-field {
    width: 100%;
    text-align: left;
}

.invite-message-field label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.invite-message-field textarea {
    min-height: 110px;
    resize: vertical;
}

.invite-hint {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 4px;
}

/* Buttons im dunklen Schema */

.page-invite .btn-primary {
    background: var(--orange);
    color: #ffffff;
    border: none;
    box-shadow: 0 0 12px rgba(255, 122, 0, 0.4);
}

.page-invite .btn-primary:hover {
    filter: brightness(1.1);
}

.page-invite .btn-secondary {
    background: rgba(148, 163, 184, 0.16);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 0 10px rgba(15, 23, 42, 0.9);
}

.page-invite .btn-secondary:hover {
    background: rgba(148, 163, 184, 0.28);
}

.page-invite .btn-full {
    max-width: 100%;
}

/* Share-Buttons („Link kopieren“ / „Per WhatsApp teilen“) */

.invite-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

/* Linkanzeige */

.invite-link {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9rem;
    word-break: break-all;
    background: rgba(15, 23, 42, 0.95);
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

/* Nachrichtenvorschau (readonly) */

.invite-message-box {
    margin-top: 16px;
}

.invite-message-box label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.invite-message-box textarea {
    width: 100%;
    min-height: 100px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    padding: 8px 10px;
    font-size: 0.9rem;
    font-family: inherit;
    resize: vertical;
    background: rgba(15, 23, 42, 0.85);
    color: #e5e7eb;
}

/* Responsive Feinheiten */

@media (max-width: 600px) {
    .page-title {
        font-size: 1.4rem;
    }

    .page-invite .card.invite-card {
        padding: 18px 14px 20px;
        border-radius: 16px;
    }
}
/* Feintuning Abstand: Label/Infotext zu den ersten Inputs auf der Einladungsseite */
.page-invite .invite-form input[type="text"],
.page-invite .invite-form input[type="email"] {
    margin-top: 4px;
}

/* ============================
   Generische Dark-Seiten (eingeloggt)
   ============================ */

   body.page-dark {
    background: #020617;   /* sehr dunkles Blau/Anthrazit */
    color: #e5e7eb;
}

/* Standard-Abstände wie beim Dashboard / Invite */
.page-dark .section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-dark .section-inner {
    max-width: 1000px;
}

/* Typografie */
.page-dark h1,
.page-dark h2,
.page-dark h3,
.page-dark h4 {
    color: #f9fafb;
}

.page-dark p,
.page-dark li,
.page-dark label {
    color: #e5e7eb;
}

/* Cards auf Dark (wenn du .card verwendest) */
.page-dark .card {
    background: radial-gradient(circle at top left, #111827, #020617);
    color: #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.35);
}

/* Formulare auf Dark (Profile, spätere Settings etc.) */
.page-dark .profile-form,
.page-dark .preform {
    align-items: stretch;
    gap: 12px;
}

.page-dark .profile-form input[type="text"],
.page-dark .profile-form input[type="email"],
.page-dark .profile-form input[type="password"],
.page-dark .profile-form input[type="number"],
.page-dark .profile-form select,
.page-dark .profile-form textarea,
.page-dark .preform input[type="text"],
.page-dark .preform input[type="email"],
.page-dark .preform input[type="password"],
.page-dark .preform input[type="number"],
.page-dark .preform select,
.page-dark .preform textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 8px 10px;
    font-size: 0.95rem;
    color: #e5e7eb;
    outline: none;
}

.page-dark .profile-form input::placeholder,
.page-dark .profile-form textarea::placeholder,
.page-dark .preform input::placeholder,
.page-dark .preform textarea::placeholder {
    color: rgba(148, 163, 184, 0.8);
}

.page-dark .profile-form input:focus,
.page-dark .profile-form select:focus,
.page-dark .profile-form textarea:focus,
.page-dark .preform input:focus,
.page-dark .preform select:focus,
.page-dark .preform textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 1px rgba(255, 122, 0, 0.5);
}

/* Buttons im Dark-Schema (gleiche Logik wie Invite-Seite) */
.page-dark .btn-primary {
    background: var(--orange);
    color: #ffffff;
    border: none;
    box-shadow: 0 0 12px rgba(255, 122, 0, 0.4);
}

.page-dark .btn-primary:hover {
    filter: brightness(1.1);
}

.page-dark .btn-secondary {
    background: rgba(148, 163, 184, 0.16);
    color: #e5e7eb;
    border: 1px solid rgba(148, 163, 184, 0.7);
    box-shadow: 0 0 10px rgba(15, 23, 42, 0.9);
}

.page-dark .btn-secondary:hover {
    background: rgba(148, 163, 184, 0.28);
}
/* ============================
   Spielerprofil (Dark)
   ============================ */

   .page-profile .section-inner {
    max-width: 900px;
}

.page-profile .profile-form {
    max-width: 800px;
    margin: 0 auto;
}

.page-profile .profile-section-title {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.page-profile .profile-row {
    margin-bottom: 18px;
}

.page-profile .profile-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    gap: 8px;
}

.page-profile .profile-range {
    width: 100%;
}

.page-profile .radio-row {
    display: flex;
    gap: 16px;
    margin-top: 6px;
    flex-wrap: wrap;
    font-size: 0.9rem;
}

.page-profile .profile-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.page-profile .profile-box {
    border-radius: 14px;
    background: radial-gradient(circle at top left, #111827, #020617);
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65);
}

.page-profile .profile-box h4 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: #f9fafb;
}

@media (max-width: 600px) {
    .page-profile .profile-label {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* Feintuning: Abstand Label → Input auf der Profilseite */
.page-profile .profile-row input,
.page-profile .profile-row select,
.page-profile .profile-row textarea {
    margin-top: 6px;
}

.qr-icon {
    width: 2em;
    height: 2em;
    vertical-align: middle;
}

.qr-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.big-qr-link {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
