﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #FFFFFF url('artwork/pressplay-studio-background.jpeg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    padding: 20px;
}

/* --- Header & Navigation --- */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

/* Verhindert Rahmen/Unterstreichungen bei verlinkten Bildern */
.logo-container a {
    text-decoration: none;
    border: none;
    display: inline-block; /* Verhindert oft unerwünschte Abstände */
}

.logo-image {
    height: 60px;
    width: auto;
}

.nav-tabs {
    display: flex;
    position: relative; /* Wichtig fÃ¼r die absolute Positionierung des Hintergrunds */
    gap: 0;
    background: white;
    padding: 4px;
    border-radius: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Das animierte Hintergrund-Element (die "Pille") */
.nav-background {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: #000;
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    /* Breite und Position werden via JS gesetzt */
}

.nav-tab {
    position: relative;
    z-index: 2; /* Text muss Ã¼ber dem schwarzen Hintergrund liegen */
    padding: 10px 28px;
    border-radius: 24px;
    background: transparent; /* Transparent, damit der Hintergrund durchscheint */
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-tab.active {
    color: white;
}

.nav-tab:hover:not(.active) {
    color: #333;
}

/* --- Hero Section --- */

.hero-section {
    max-width: 1100px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 26px;
    font-weight: 400;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 17px;
    color: #666;
    line-height: 1.6;
    font-weight: 400;
}

/* --- SECTIONS UTILITY (Animation) --- */
.app-section {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- COMPOSER: Form Container & Fields --- */

.form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.form-field {
    background: white;
    border-radius: 20px;
    padding: 0;
    border: 2px dotted #C8C8C8;
    transition: all 0.3s;
    position: relative;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.form-field:hover {
    border-color: #999;
}

.form-field.filled {
    border-style: solid;
    border-color: #E0E0E0;
}

.form-field.error {
    border-color: #C8C8C8;
}

.form-field.drag-over {
    border-color: #448AFF;
    border-style: solid;
    background-color: #F0F7FF;
}

.field-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.3px;
    padding: 8px 16px;
    display: inline-block;
    background: white;
    border-radius: 20px;
    position: absolute;
    top: 0;
    transform: translate(-50%, -50%);
    left: 50%;
    white-space: nowrap;
    border: 1px solid #E8E8E8;
    z-index: 10;
}

.field-content {
    padding: 40px 28px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.field-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background: transparent;
    font-family: inherit;
}

.field-input::placeholder {
    color: #999;
}

/* Mehrzeilige Eingaben (Titel/URL) */
.field-textarea {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background: transparent;
    font-family: inherit;
    resize: none;
    overflow: hidden;          /* kein Scrollbalken */
    line-height: 1.4;
    white-space: pre-wrap;     /* Umbruch erlauben */
    overflow-wrap: anywhere;   /* lange Wörter/URLs umbrechen */
    word-break: break-word;
    min-height: 44px;          /* angenehme Start-Höhe */
}

.field-textarea::placeholder {
    color: #999;
}

#titleField .field-content,
#urlField .field-content,
#uploadField .field-content {
    padding-bottom: 14px; 
}

/* Container fixieren und zentrieren */
.title-counter-container {
    margin-top: auto; 
    padding-top: 25px; 
    padding-bottom: 0; /* Padding unten entfernt, da oben im Parent geregelt */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* VORGABE 2: Linie ist 75% breit */
.counter-widget-wrapper {
    width: 75%; 
    max-width: 320px;
    margin-top: 5px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.counter-track {
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    position: relative;
    width: 100%;
}

/* Striche (Ticks) Styling */
.counter-mark {
    position: absolute;
    /* VORGABE 3: Oberhalb der horizontalen Linie */
    bottom: 4px; /* Sitzt exakt auf der 4px hohen Linie */
    width: 2px;
    height: 8px; /* Etwas höher für Sichtbarkeit */
    background: #D1D5DB;
    z-index: 1;
}

/* Zahlen unter/über den Ticks positionieren */
.counter-mark span {
    position: absolute;
    bottom: 10px; /* Zahl sitzt über dem Strich */
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #9CA3AF;
    font-weight: 500;
}

/* VORGABE 3: Positionierung der Ticks */
.mark-min { left: 33%; }
.mark-max { left: 66%; }

/* Der rote/grüne Kreis */
.counter-dot {
    position: absolute;
    top: 50%;
    /* Left wird via JS gesetzt */
    width: 24px;
    height: 24px;
    background: #FF5252;
    border-radius: 50%;
    transform: translate(-50%, -50%); /* Zentriert den Punkt auf dem Prozentwert */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.2s ease-out, background-color 0.3s ease;
    z-index: 10; /* Muss über den Ticks liegen */
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.counter-dot span {
    color: white;
    font-size: 10px;
    font-weight: 700;
}

.counter-info {
    font-size: 12px;  /* Angepasst an .upload-text-hint */
    color: #999;      /* Angepasst an .upload-text-hint */
    font-weight: 400;
    text-align: center;
}

.counter-dot.optimal {
    background: #4CAF50;
}

/* --- COMPOSER: Upload Area --- */

.upload-area {
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Empty (centered) */
.upload-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Filled (list top, actions bottom) */
.upload-filled {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
}

.upload-filled .video-list {
    margin-top: 0;
    padding: 0;
    max-height: 240px;
}

/* "Datei auswählen" sits above the banderole */
.upload-choose {
    margin-top: 12px;
    text-align: center;
}

/* Bottom banderole */
#videoValidation {
    margin-top: auto;
}
.upload-text-main {
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
}

.upload-text-link {
    font-size: 15px;
    color: #448AFF;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin: 4px 0;
}

.upload-text-link:hover {
    text-decoration: underline;
}

.upload-text-hint {
    margin-top: auto; /* Drückt den Text an den unteren Rand */
    /* Schriftart ist bereits durch globale Regeln korrekt, aber wir stellen sicher: */
    font-size: 12px;
    color: #999;
}

.url-footer-container {
    margin-top: auto; /* Fixierung unten */
    width: 100%;
    text-align: center;
    padding-top: 
    15px; /* Etwas Abstand zum Eingabefeld */
}

.url-info {
    font-size: 12px;
    color: #999; /* Standard Grau */
    font-weight: 400;
    transition: color 0.3s ease;
}

.url-info.error {
    color: #FF5252; /* Rot bei Fehler */
}

.url-info.success {
    color: #4CAF50; /* Grün bei Erfolg */
}

.file-input {
    display: none;
}

.video-list {
    margin-top: 16px;
    padding: 0 16px 16px 16px;
    display: grid;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.video-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #F8F9FA;
    border-radius: 8px;
    font-size: 13px;
    gap: 12px;
}

.video-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.video-item-name {
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-item-meta {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

.video-item-status {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.video-item-status.success {
    color: #4CAF50;
}

.video-item-status.error {
    color: #FF5252;
}

.video-item-status.validating {
    color: #FFA726;
}

.video-item-remove {
    background: transparent;
    border: none;
    color: #999;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: all 0.2s;
}

.video-item-remove:hover {
    color: #FF5252;
    transform: scale(1.1);
}

/* --- COMPOSER: Moderation Section --- */

.moderation-section {
    background: white;
    border-radius: 20px;
    padding: 0;
    border: 2px solid #E8E8E8;
    margin-bottom: 30px;
    position: relative;
}

.moderation-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.3px;
    padding: 8px 16px;
    display: inline-block;
    background: white;
    border-radius: 20px;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #E8E8E8;
}

.moderation-content {
    padding: 40px 32px 24px 32px;
}

.moderation-textarea {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    font-family: inherit;
    resize: none;
    
    overflow: hidden;
    line-height: 1.5;
}

.moderation-textarea::placeholder {
    color: #999;
}

.moderation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #F0F0F0;
}

.voice-selector {
    display: flex;
    align-items: center;
    gap: 0;
}

.voice-dropdown {
    padding: 11px 20px;
    border-radius: 10px;
    border: 1px solid #E8E8E8;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.voice-option-below {
    color: #CCC;
    font-size: 13px;
    margin-left: 16px;
    font-weight: 400;
}

.moderation-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-ki-vorschlag {
    padding: 11px 24px;
    border-radius: 10px;
    border: 1px solid #E8E8E8;
    background: white;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-ki-vorschlag:hover:not(:disabled) {
    background: #F8F8F8;
}

.btn-ki-vorschlag:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.char-counter {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

/* --- BUTTON STYLES & ANIMATIONS --- */

/* --- BUTTON STYLES & ANIMATIONS --- */

/* --- BUTTON STYLES & ANIMATIONS --- */

/* --- BUTTON STYLES & ANIMATIONS --- */

/* --- BUTTON STYLES & ANIMATIONS --- */

.submit-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #BDBDBD; /* Default: Disabled Grau */
    border: 3px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
    position: relative;
    background-clip: padding-box;
    box-sizing: border-box;
    font-family: inherit; /* WICHTIG: Erbt den Font der Seite */
}

/* Pfeil-Icon (Standard-Zustand) */
.submit-button::before {
    content: '→';
    color: white;
    font-size: 30px;
    font-weight: 300;
    transition: all 0.3s; /* Transition für Hover-Effekte */
    position: relative;
    z-index: 5;
}

/* Standard Disabled State */
.submit-button:disabled:not(.loading) {
    cursor: not-allowed;
    background: #BDBDBD;
    transform: none !important;
    box-shadow: none;
}

/* ZUSTAND 1: BEREIT (Ready) */
.submit-button.ready {
    background-image: 
        linear-gradient(#eeeeee, #eeeeee), 
        linear-gradient(90deg, #2c8bfb, #ea32d3);
    
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.submit-button.ready::before {
    color: black;
}

.submit-button.ready:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(44, 139, 251, 0.25);
}

/* ZUSTAND 2: UPLOAD LÄUFT (Loading) */
.submit-button.loading,
.submit-button.loading:disabled {
    cursor: wait;
    background-color: #eeeeee;
    background-image: none;
    border-color: transparent;
    transform: none !important;
    animation: none !important;
}

/* A) Der Text "Upload" */
.submit-button.loading::before {
    content: 'Upload';
    font-family: inherit; /* Sicherstellen, dass es der gleiche Font ist */
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    
    /* Transition ausschalten, damit Schriftgröße nicht "zoomt" */
    transition: none;
    
    /* Shimmer Gradient */
    background: linear-gradient(
        90deg,
        #666666 0%,
        #ea32d3 45%,
        #2c8bfb 50%,
        #ea32d3 55%,
        #666666 100%
    );
    background-size: 300% 100%;
    background-position: 100% 0;
    
    /* Text Masking */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    
    /* Animation: 
       1. textFadeIn (einmalig beim Start)
       2. shimmerSlide (endlos) 
    */
    opacity: 0; /* Startet unsichtbar für Fade-In */
    animation: textFadeIn 0.4s ease-out forwards, shimmerSlide 2s linear infinite;
}

/* B) Der rotierende Spinner-Ring (::after) */
.submit-button.loading::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    z-index: 1;
    
    background: conic-gradient(from 0deg, #2c8bfb, #ea32d3, white, #2c8bfb);
    
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    
    padding: 3px;
    
    animation: spinButton 1.2s linear infinite;
    pointer-events: none;
}

/* --- ANIMATIONEN --- */

@keyframes spinButton {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes textFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes shimmerSlide {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.spinner {
    display: none !important;
}

.submit-button:hover:not(:disabled) {
    transform: scale(1.05);
}

.submit-button:disabled {
    background: #BDBDBD;
    cursor: not-allowed;
}

.submit-button::before {
    content: '→';
    color: white;
    font-size: 30px;
    font-weight: 300;
}


/* Validation banderoles at bottom of small fields */
#titleField .validation-message,
#urlField .validation-message {
    margin-top: auto;
    width: 100%;
}

#titleField .field-content {
    padding-bottom: 14px; /* Reduziert von 28px auf 8px (ca. 70%) */
}

/* --- Feedback & Status --- */

.validation-message {
    font-size: 12px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    display: none;
    text-align: center;
}

.validation-message.visible {
    display: block;
}

.validation-message.error {
    background: #FFEBEE;
    color: #C62828;
}

.validation-message.success {
    background: #E8F5E9;
    color: #2E7D32;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.status-message {
    text-align: center;
    padding: 14px 20px;
    margin: 20px auto;
    border-radius: 12px;
    max-width: 600px;
    display: none;
    font-size: 14px;
}

.status-message.visible {
    display: block;
}

.status-message.success {
    background: #E8F5E9;
    color: #2E7D32;
}

.status-message.error {
    background: #FFEBEE;
    color: #C62828;
}

/* --- GUIDE SECTION STYLES --- */

.guide-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.guide-card {
    background: white;
    border: 2px dotted #C8C8C8;
    border-radius: 40px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    min-height: 250px;
}

.step-badge {
    position: absolute;
    top: -20px;
    left: 80px;
    background: white;
    border: 1px solid #E8E8E8;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    z-index: 10;
}

.label-badge {
    position: absolute;
    top: -20px;
    left: 135px;
    background: black;
    color: white;
    padding: 0 35px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 5;
    height: 45px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container {
    flex: 0 0 168px;
    display: flex;
    justify-content: center;
}

.icon-container img {
    width: 100%;
    height: auto;
}

.guide-content {
    flex: 1;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}

.guide-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #333;
}

/* --- PRICING SECTION STYLES --- */

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-title {
    font-size: 40px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pricing-subtitle {
    font-size: 18px;
    color: #6B7280;
    line-height: 1.6;
}

/* Toggle Switch Style */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    user-select: none;
}

.pricing-toggle-switch {
    width: 48px; 
    height: 26px; 
    background: #D1E7FD; 
    border-radius: 13px; 
    position: relative; 
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pricing-toggle-dot {
    width: 20px; 
    height: 20px; 
    background: #2c8bfb; 
    border-radius: 50%; 
    position: absolute; 
    top: 3px; 
    left: 3px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.pricing-toggle-switch.active {
    background: #B3D9FB;
}

.pricing-toggle-switch.active .pricing-toggle-dot {
    transform: translateX(22px);
}

.toggle-label {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
    cursor: pointer;
    transition: color 0.3s;
}

.toggle-label.active {
    color: #2c8bfb;
}

/* Grid Layout */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

/* Card Styles */
.pricing-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Zentriert Plan Name & Button */
    transition: all 0.3s ease;
    position: relative;
    text-align: center; /* Zentriert Text */
}

.pricing-card:hover {
    border-color: #2c8bfb;
    box-shadow: 0 12px 24px -8px rgba(44, 139, 251, 0.15);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border: 2px solid #2c8bfb;
    background: #F0F8FF;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    color: #ea32d3;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* PREIS-ANPASSUNG: GroÃŸ (48px) & Zentriert */
.plan-price {
    font-size: 48px;
    font-weight: 800;
    color: #111827;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 16px;
}

/* Der Preis-Span (z.B. #price-entry) erbt die 48px */
.plan-price > span:first-child {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* Die Periode "/ Monat" bleibt klein */
.plan-price .period {
    font-size: 16px;
    font-weight: 500;
    color: #6B7280;
}

/* Preis-Vergleich (durchgestrichener Originalpreis) */
.price-comparison {
    font-size: 14px;
    color: #9CA3AF;
    margin-bottom: 12px;
    text-align: center;
}

.price-comparison .strikethrough {
    text-decoration: line-through;
    color: #9CA3AF;
}

.plan-description {
    font-size: 15px;
    color: #6B7280;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #E5E7EB;
    width: 100%;
}

/* Feature List - Features linksbÃ¼ndig fÃ¼r Lesbarkeit, aber im Container */
.plan-intro {
    font-size: 14px;
    font-weight: 600;
    color: #2c8bfb;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 0px; /* Aligned with check-icons in feature-list */
}

.feature-list {
    list-style: none;
    flex: 1;
    width: 100%; 
    text-align: left; /* Features linksbÃ¼ndig lassen sieht professioneller aus */
    padding-left: 10px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: #374151;
    line-height: 1.5;
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%232c8bfb' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* CTA Button */
.plan-button {
    width: 100%;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.plan-button.outline {
    background: #E8F4FE;
    color: #2c8bfb;
}

.plan-button.outline:hover {
    background: #D1E7FD;
}

.plan-button.filled {
    background: #2c8bfb;
    color: white;
    box-shadow: 0 4px 12px rgba(44, 139, 251, 0.3);
}

.plan-button.filled:hover {
    background: #1a7ae8;
    transform: scale(1.02);
}

/* --- RESPONSIVE MEDIA QUERIES --- */

@media (max-width: 900px) {
    .form-row, .guide-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    body { padding: 15px; }

    .header {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 30px;
    }

    .logo-image { height: 50px; }

    .nav-tabs { width: 100%; }

    .nav-tab {
        flex: 1;
        text-align: center;
        padding: 10px 20px;
        font-size: 14px;
    }

    .hero-title { font-size: 22px; }
    .hero-subtitle { font-size: 16px; }

    .form-field { min-height: 160px; }
    .field-content { padding: 36px 24px 24px 24px; }
    .moderation-content { padding: 36px 24px 20px 24px; }

    .moderation-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }

    .voice-selector {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .voice-option-below { margin-left: 0; text-align: center; }
    
    .moderation-actions { flex-direction: column; width: 100%; }
    .btn-ki-vorschlag { width: 100%; }
    .char-counter { text-align: center; }
    .submit-button { align-self: center; }
}

@media (max-width: 480px) {
    .logo-image { height: 45px; }
    .hero-title { font-size: 20px; }
    .hero-subtitle { font-size: 15px; }
    .nav-tab { padding: 9px 16px; font-size: 13px; }
    .field-label, .moderation-label { font-size: 11px; }
    .field-input, .moderation-textarea { font-size: 15px; }
}

        /* Loading Overlay fÃ¼r KI-Vorschlag (optimiert: sauberes Timing + echter Text-Shimmer) */
.moderation-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    overflow: hidden;
    pointer-events: none; /* keine Click-Interaktion wÃ¤hrend Overlay */
    contain: layout paint; /* reduziert Repaint-Kosten */
}

.moderation-loading-overlay.active {
    display: flex;
}

.moderation-loading-content {
    position: relative;
    text-align: center;
    width: 100%;
    height: 120px;
}

.moderation-loading-text {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.2px;
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    opacity: 0;
    will-change: transform, opacity, background-position;
}

/* Slide-in Animation: 0.7s - schnell starten, stark abbremsen */
@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translate3d(0, calc(-50% - 150px), 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, -50%, 0);
    }
}

/* Fade-out mit Fall: 0.7s (Ã¼berlappt mit nÃ¤chstem Slide-in) */
@keyframes fadeOutFall {
    0% {
        opacity: 1;
        transform: translate3d(0, -50%, 0);
    }
    100% {
        opacity: 0;
        transform: translate3d(0, calc(-50% + 150px), 0);
    }
}

/* Shimmer DIREKT im Text (kein Overlay): Gradient wandert durch die Buchstaben.
   Wichtig: Shimmer lÃ¤uft auf dem INNEREN Span, damit Slide/Fade (outer) und Shimmer (inner)
   parallel laufen kÃ¶nnen, ohne sich Ã¼ber die CSS-Property `animation` gegenseitig zu Ã¼berschreiben. */
.moderation-loading-text-inner {
    display: inline-block; /* nÃ¶tig fÃ¼r background-clip:text zuverlÃ¤ssig */
    white-space: nowrap;
}

.moderation-loading-text-inner.shimmer {
    background: linear-gradient(
        90deg,
        #666666 0%,
        #ea32d3 45%,
        #2c8bfb 50%,
        #ea32d3 55%,
        #666666 100%
    );
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: shimmerSlide 1.3s linear both;
}

@keyframes shimmerSlide {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Animation States */
.moderation-loading-text.phase-in {
    animation: slideInFade 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.moderation-loading-text.phase-out {
    animation: fadeOutFall 0.7s ease-in forwards;
}

/* Textarea ausgegraut wÃ¤hrend Loading */
.moderation-section.loading .moderation-textarea {
    opacity: 0.4;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .moderation-loading-text,
    .moderation-loading-text.phase-in,
    .moderation-loading-text.phase-out,
    .moderation-loading-text-inner.shimmer {
        animation: none !important;
        opacity: 1;
        transform: translate3d(0, -50%, 0);
        -webkit-text-fill-color: #333333;
        color: #333333;
        background: none;
    }
}

/* ================================
   KI Button â€“ Active State (>700)
   Dezenter: animierter Gradient-Rahmen (ohne Glow)
   ================================ */

.btn-ki-vorschlag {
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Aktivierter KI-Modus: graue FlÃ¤che + flieÃŸender Gradient im Rahmen */
.btn-ki-vorschlag.ki-active {
    background: #eeeeee;
    color: #111;
    font-weight: 600;

    border: 3px solid transparent;
    border-radius: 10px;

    /* 2 Layer: Button-Fill (grau) + Border-Gradient (animiert) */
    background-image:
        linear-gradient(#eeeeee, #eeeeee),
        linear-gradient(90deg, #2c8bfb, #ea32d3, #2c8bfb);

    background-origin: border-box;
    background-clip: padding-box, border-box;

    /* Gradient "flieÃŸt" im Rahmen */
    background-size: 100% 100%, 200% 100%;
    background-position: 0 0, 0% 0;

    animation: kiBorderFlow 2.4s linear infinite;
}

.btn-ki-vorschlag.ki-active:hover:not(:disabled) {
    transform: translateY(-1px);

    /* Animation stoppen */
    animation: none;

    /* Einfacher, solider Rahmen */
    border: 3px solid #ea32d3;

    /* Nur graue Fläche, kein Gradient */
    background-image: none;
    background-color: #eeeeee;
}

/* Disabled soll ruhig bleiben */
.btn-ki-vorschlag.ki-active:disabled {
    animation: none;
}

/* Flow-Animation: verschiebt nur den Gradient-Layer */
@keyframes kiBorderFlow {
    0%   { background-position: 0 0,   0% 0; }
    100% { background-position: 0 0, 200% 0; }
}
.field-input.auto-textarea {
    resize: none;           /* Entfernt die "Zieh-Ecken" (Resize Handle) */
    overflow: hidden;       /* Versteckt Scrollbalken */
    white-space: pre-wrap;  /* Erlaubt Zeilenumbrüche korrekt */
    word-break: break-word;
    line-height: 1.5;       /* Etwas mehr Zeilenhöhe für Lesbarkeit */
    min-height: 28px;       /* Gibt dem Feld eine Mindesthöhe, damit es nicht "zusammenfällt" */
}
