/* helloRobert Landing Page - Hybrid Version
   Kombiniert Ruhe & Ausführlichkeit mit modernem Design
*/

:root {
    /* Farben aus dem Styleguide */
    --charcoal-gray: #4A4A4A;
    --sunset-orange: #FF8C42;
    --vibrant-pink: #F05089;
    --deep-lavender: #9B86BD;
    --dusty-steel-blue: #5B7C99;
    --pastel-lavender: #D4C8E3;
    --pastel-blue: #C4D0E0;
    --pastel-orange: #FDD6B8;
    --white: #FFFFFF;
    
    /* Layout */
    --max-width: 1200px;
    --radius: 20px;
    --radius-sm: 14px;
    
    /* Typografie */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal-gray);
    line-height: 1.7;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--charcoal-gray);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
}

p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sticky Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 200, 227, 0.3);
    z-index: 1000;
    padding: 1rem 0;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

nav .logo {
    height: 40px;
    width: auto;
}

nav .nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

nav .nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s ease;
    text-decoration: none;
    color: var(--charcoal-gray);
}

nav .nav-links a:hover {
    opacity: 1;
}

/* Buttons - mit Gradienten */
.cta-button, .cta-button-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, var(--deep-lavender), var(--vibrant-pink) 55%, var(--sunset-orange));
    box-shadow: 0 12px 24px rgba(240, 80, 137, 0.20);
}

.cta-button:hover, .cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(240, 80, 137, 0.28);
}

.cta-button:active, .cta-button-small:active {
    transform: translateY(1px);
}

.cta-button-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    background: white;
    color: var(--charcoal-gray);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(1px);
}

/* Sections */
section {
    padding: 6rem 0;
}

section:first-of-type {
    padding-top: 10rem;
}

/* Hero Section - mit Hintergrund-Gradienten */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: -120px -120px auto -120px;
    height: 420px;
    background:
        radial-gradient(600px 300px at 20% 40%, rgba(155, 134, 189, 0.25), transparent 55%),
        radial-gradient(600px 300px at 70% 10%, rgba(240, 80, 137, 0.20), transparent 58%),
        radial-gradient(600px 300px at 90% 70%, rgba(255, 140, 66, 0.18), transparent 55%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pastel-lavender), transparent);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--charcoal-gray);
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.tagline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--deep-lavender);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Hero Card - Vier Wege Pills */
.hero-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.72));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: white;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pill i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.pill.p1 i { background: var(--deep-lavender); }
.pill.p2 i { background: var(--vibrant-pink); }
.pill.p3 i { background: var(--sunset-orange); }
.pill.p4 i { background: var(--dusty-steel-blue); }

/* Section Styles */
.section-light {
    background: linear-gradient(180deg, var(--white) 0%, rgba(212, 200, 227, 0.08) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title .accent-line {
    width: 80px;
    height: 3px;
    background: var(--sunset-orange);
    margin: 0 auto;
}

/* Rotating Text im Dilemma */
.rotate-text-wrapper {
    text-align: center;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    min-height: 3rem;
    margin-bottom: 3rem;
}

.rotate-text {
    display: inline-block;
    font-weight: 600;
    color: var(--charcoal-gray);
}

.rotate-text span {
    display: none;
}

.rotate-text span.active {
    display: inline;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dilemma Section */
.dilemma-content {
    max-width: 800px;
    margin: 0 auto;
}

.dilemma-points {
    display: grid;
    gap: 1.5rem;
    margin-top: 3rem;
}

.dilemma-point {
    padding: 1.5rem;
    background: white;
    border-left: 4px solid var(--pastel-lavender);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.dilemma-point:hover {
    transform: translateX(8px);
    border-left-color: var(--vibrant-pink);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    border-color: var(--pastel-lavender);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--pastel-lavender), var(--pastel-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    width: 32px;
    height: 32px;
    color: var(--deep-lavender);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--deep-lavender);
    stroke-width: 2;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--charcoal-gray);
}

.feature-card p {
    margin-bottom: 0;
    color: var(--charcoal-gray);
    opacity: 0.9;
}

/* Tabelle für Explain/Guide/Lead */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    margin-top: 3rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 740px;
    background: white;
}

th, td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    text-align: left;
    vertical-align: top;
}

th {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    background: rgba(196, 208, 224, 0.28);
}

tbody tr:hover {
    background: rgba(212, 200, 227, 0.08);
}

.plan-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot.lavender { background: var(--deep-lavender); }
.dot.pink { background: var(--vibrant-pink); }
.dot.orange { background: var(--sunset-orange); }

/* Example Section */
.example-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(212, 200, 227, 0.15), rgba(196, 208, 224, 0.15));
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--pastel-lavender);
}

.example-scenario {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--sunset-orange);
}

.example-scenario h4 {
    color: var(--charcoal-gray);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.example-levels {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.example-level {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--pastel-lavender);
}

.level-label {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--pastel-lavender);
    color: var(--charcoal-gray);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Impact Section */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.impact-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.impact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.impact-icon i {
    width: 48px;
    height: 48px;
    color: var(--sunset-orange);
}

.impact-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--sunset-orange);
    stroke-width: 2;
}

.impact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.impact-item p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* CTA Section mit Gradienten-Border */
.cta-section {
    background: linear-gradient(135deg, var(--dusty-steel-blue), var(--deep-lavender));
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.cta-section .cta-button {
    background: white;
    color: var(--charcoal-gray);
}

.cta-section .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255, 255, 255, 0.3);
}

/* Footer */
footer {
    background: var(--charcoal-gray);
    color: white;
    padding: 3rem 0 1.5rem;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

footer h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--sunset-orange);
}

footer .logo {
    height: 35px;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 920px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    nav .nav-links {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    section:first-of-type {
        padding-top: 6rem;
    }
    
    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .example-container {
        padding: 2rem 1.5rem;
    }
    
    nav .logo {
        height: 32px;
    }
    
    nav .cta-button-small {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    /* Tabelle auf Mobile als Cards darstellen */
    .table-wrapper {
        border: none;
        box-shadow: none;
        background: transparent;
    }
    
    table {
        display: block;
        min-width: auto;
    }
    
    thead {
        display: none;
    }
    
    tbody {
        display: block;
    }
    
    tbody tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: var(--radius);
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
        padding: 1.25rem;
    }
    
    tbody tr:hover {
        background: white;
    }
    
    tbody td {
        display: block;
        border: none;
        padding: 0.5rem 0;
        text-align: left;
    }
    
    tbody td:first-child {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid var(--pastel-lavender);
    }
    
    /* Labels für Mobile hinzufügen */
    tbody td:not(:first-child)::before {
        content: attr(data-label);
        font-weight: 700;
        font-family: var(--font-heading);
        display: block;
        margin-bottom: 0.25rem;
        color: var(--deep-lavender);
        font-size: 0.875rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}
