/* ==========================================================================
   Schweden-Kombiticket Landingpage - Styles
   puttgardenrodby.de/tickets/kombiticket-schweden-buchen.html
   ========================================================================== */

/* CSS Custom Properties - Design System */
:root {
    /* Primary Colors */
    --primary: #1E3A8A;
    --primary-dark: #1E40AF;
    --secondary: #0EA5E9;
    --accent: #F59E0B;
    --accent-hover: #D97706;
    --success: #10B981;
    --danger: #EF4444;
    --sweden-blue: #006AA7;
    --sweden-yellow: #FECC02;
    
    /* Neutrals */
    --dark: #0F172A;
    --light: #F8FAFC;
    --gray-50: #F9FAFB;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-ocean: linear-gradient(180deg, #E0F2FE 0%, #BAE6FD 100%);
    --gradient-warm: linear-gradient(135deg, var(--accent) 0%, #F97316 100%);
    --gradient-sweden: linear-gradient(135deg, var(--sweden-blue) 0%, #0891B2 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--gray-800) 100%);
    --gradient-savings: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    
    /* Typography */
    --font-primary: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
    --shadow-colored: 0 8px 32px rgba(14, 165, 233, 0.2);
    --shadow-sweden: 0 8px 32px rgba(0, 106, 167, 0.2);
    
    /* Borders & Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    margin: 0 0 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }

p {
    margin: 0 0 1rem;
    color: var(--gray-600);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary);
}

/* Focus Styles - Accessibility */
:focus {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--secondary);
    outline-offset: 2px;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -50px;
    left: var(--space-md);
    background: var(--primary);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    z-index: 10000;
    transition: top var(--transition-normal);
    font-weight: 500;
}

.skip-link:focus {
    top: var(--space-md);
    color: white;
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    background: var(--gradient-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.navbar-brand img {
    height: 36px;
    width: auto;
}

.navbar-brand:hover {
    color: white;
}

.navbar-nav {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sweden-yellow);
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-sm);
}

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.breadcrumb-section {
    background: var(--gray-100);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-sm);
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    margin-right: var(--space-sm);
    color: var(--gray-400);
}

.breadcrumb-item a {
    color: var(--gray-600);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--gray-800);
    font-weight: 500;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    background: var(--gradient-sweden);
    color: white;
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(254, 204, 2, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroFloat 15s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-badge.sweden {
    background: var(--sweden-yellow);
    color: var(--sweden-blue);
}

.hero-text h1 {
    color: white;
    margin-bottom: var(--space-lg);
}

.hero-text .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: var(--space-xl);
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
}

.hero-visual {
    position: relative;
}

/* Route Preview Card */
.route-preview {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: var(--shadow-xl);
}

.route-preview-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.route-preview-header h3 {
    color: white;
    margin-bottom: var(--space-xs);
    font-size: 1.25rem;
}

.route-preview-header p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.9rem;
}

.route-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.route-step {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.route-step:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(8px);
}

.route-icon {
    width: 48px;
    height: 48px;
    background: var(--sweden-yellow);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--sweden-blue);
}

.route-step-text {
    flex: 1;
}

.route-step-text h4 {
    color: white;
    margin-bottom: 2px;
    font-size: 1rem;
}

.route-step-text p {
    color: rgba(255,255,255,0.75);
    margin: 0;
    font-size: 0.875rem;
}

.route-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--sweden-yellow), transparent);
    margin-left: 23px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--gradient-warm);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    color: white;
}

.btn-sweden {
    background: var(--sweden-yellow);
    color: var(--sweden-blue);
    box-shadow: var(--shadow-md);
}

.btn-sweden:hover {
    background: #E5B800;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--sweden-blue);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

.btn-group {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-badge {
    display: inline-block;
    background: var(--gradient-sweden);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   ROUTE EXPLANATION
   ========================================================================== */

.route-section {
    background: var(--gradient-ocean);
    position: relative;
}

.route-map-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: var(--space-2xl);
}

.route-map-svg {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.route-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.route-segment {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.route-segment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-sweden);
}

.route-segment:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.segment-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-sweden);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-lg);
    color: white;
}

.segment-number {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 32px;
    height: 32px;
    background: var(--sweden-yellow);
    color: var(--sweden-blue);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.route-segment h3 {
    margin-bottom: var(--space-sm);
}

.segment-details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-200);
}

.segment-detail {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.segment-detail i {
    color: var(--sweden-blue);
}

/* ==========================================================================
   PRICE CALCULATOR / COMPARISON
   ========================================================================== */

.price-comparison-section {
    background: white;
}

.savings-highlight {
    background: var(--gradient-savings);
    color: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.savings-highlight::before {
    content: '💰';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.savings-amount {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    font-family: var(--font-primary);
    margin-bottom: var(--space-sm);
}

.savings-label {
    font-size: 1.25rem;
    opacity: 0.95;
}

.price-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    align-items: stretch;
}

.price-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.price-card.highlight {
    border: 3px solid var(--success);
    position: relative;
}

.price-card.highlight::before {
    content: 'Empfohlen';
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--success);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.price-card-header {
    background: var(--gray-100);
    padding: var(--space-xl);
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.price-card.highlight .price-card-header {
    background: var(--gradient-savings);
    color: white;
    border-bottom: none;
}

.price-card.highlight .price-card-header h3 {
    color: white;
}

.price-card-header h3 {
    margin-bottom: var(--space-sm);
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    color: var(--primary);
}

.price-card.highlight .price-value {
    color: white;
}

.price-value .currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.price-value .period {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.strikethrough {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 1.25rem;
    display: block;
    margin-bottom: var(--space-xs);
}

.price-card-body {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.price-breakdown {
    margin-bottom: var(--space-lg);
    flex: 1;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--gray-100);
}

.price-item:last-child {
    border-bottom: none;
    font-weight: 600;
    padding-top: var(--space-md);
    margin-top: var(--space-sm);
    border-top: 2px solid var(--gray-200);
}

.price-item-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gray-700);
}

.price-item-value {
    font-weight: 500;
}

.price-item-value.savings {
    color: var(--success);
    font-weight: 700;
}

/* ==========================================================================
   TICKET OPTIONS
   ========================================================================== */

.ticket-options-section {
    background: var(--gray-50);
}

.ticket-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-xl);
}

.ticket-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.ticket-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.ticket-card.popular {
    border: 2px solid var(--sweden-yellow);
}

.ticket-popular-badge {
    position: absolute;
    top: 0;
    right: var(--space-lg);
    background: var(--sweden-yellow);
    color: var(--sweden-blue);
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-header {
    background: var(--gradient-sweden);
    color: white;
    padding: var(--space-xl);
    text-align: center;
}

.ticket-header h3 {
    color: white;
    margin-bottom: var(--space-md);
}

.ticket-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-xs);
}

.ticket-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.ticket-price .amount {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-primary);
    line-height: 1;
}

.ticket-price .period {
    font-size: 0.875rem;
    opacity: 0.9;
}

.ticket-body {
    padding: var(--space-xl);
}

.ticket-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-xl);
}

.ticket-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    color: var(--gray-700);
}

.ticket-features li i {
    color: var(--success);
    margin-top: 3px;
    flex-shrink: 0;
}

.ticket-cta {
    display: block;
    width: 100%;
}

/* ==========================================================================
   MAP VISUALIZATION
   ========================================================================== */

.map-section {
    background: white;
}

.interactive-map {
    background: var(--gradient-ocean);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
}

/* SVG Map Styles */
.map-svg {
    width: 100%;
    height: 100%;
}

.map-country {
    fill: var(--gray-200);
    stroke: white;
    stroke-width: 2;
    transition: fill var(--transition-normal);
}

.map-country.germany {
    fill: #E5E7EB;
}

.map-country.denmark {
    fill: #DBEAFE;
}

.map-country.sweden {
    fill: #FEF3C7;
}

.map-water {
    fill: #BAE6FD;
}

.map-route {
    fill: none;
    stroke: var(--sweden-blue);
    stroke-width: 4;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawRoute 3s ease forwards;
}

@keyframes drawRoute {
    to { stroke-dashoffset: 0; }
}

.map-marker {
    cursor: pointer;
    transition: transform var(--transition-fast);
}

.map-marker:hover {
    transform: scale(1.2);
}

.map-marker circle {
    fill: var(--sweden-blue);
    stroke: white;
    stroke-width: 3;
}

.map-marker.ferry circle {
    fill: var(--accent);
}

.map-marker.bridge circle {
    fill: var(--sweden-yellow);
    stroke: var(--sweden-blue);
}

.map-label {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 600;
    fill: var(--gray-800);
}

.map-legend {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    background: white;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-sm);
}

.legend-color.ferry {
    background: var(--accent);
}

.legend-color.drive {
    background: var(--gray-400);
}

.legend-color.bridge {
    background: var(--sweden-yellow);
    border: 2px solid var(--sweden-blue);
}

/* ==========================================================================
   INSIDER TIPS
   ========================================================================== */

.insider-section {
    background: var(--gray-50);
}

.insider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.insider-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.insider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
}

.insider-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.insider-emoji {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.insider-card h4 {
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.insider-card p {
    margin-bottom: var(--space-sm);
}

.insider-card p:last-child {
    margin-bottom: 0;
}

.insider-highlight {
    background: var(--gray-50);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
    margin-top: var(--space-md);
    font-size: 0.9rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
    background: white;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: box-shadow var(--transition-normal);
}

.accordion-item:hover {
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.accordion-button:hover {
    background: var(--gray-50);
}

.accordion-button::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--sweden-blue);
    transition: transform var(--transition-normal);
}

.accordion-button[aria-expanded="true"]::after {
    content: '−';
}

.accordion-collapse {
    display: none;
}

.accordion-collapse.show {
    display: block;
}

.accordion-body {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    background: var(--gradient-sweden);
    color: white;
    text-align: center;
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '🇸🇪';
    position: absolute;
    font-size: 15rem;
    opacity: 0.08;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-lg);
}

.cta-section .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: var(--gradient-dark);
    color: rgba(255,255,255,0.8);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: white;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.footer-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
}

.footer-legal a:hover {
    color: white;
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    background: var(--gradient-sweden);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Tablets and below */
@media (max-width: 991px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .btn-group {
        justify-content: center;
    }
    
    .route-preview {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--gradient-dark);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav.active {
        display: flex;
    }
    
    .navbar-toggler {
        display: block;
    }
    
    .interactive-map {
        min-height: 400px;
    }
    
    .map-wrapper {
        height: 350px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    section {
        padding: var(--space-2xl) 0;
    }
    
    .hero {
        padding: var(--space-2xl) 0;
    }
    
    .hero-text .lead {
        font-size: 1.1rem;
    }
    
    .route-preview {
        padding: var(--space-lg);
    }
    
    .route-step {
        padding: var(--space-sm);
    }
    
    .route-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .savings-amount {
        font-size: 2.5rem;
    }
    
    .ticket-grid,
    .price-comparison-grid,
    .route-details,
    .insider-grid {
        grid-template-columns: 1fr;
    }
    
    .ticket-card.popular {
        order: -1;
    }
    
    .btn {
        width: 100%;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .map-legend {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: var(--space-lg);
    }
    
    .interactive-map {
        min-height: auto;
        padding: var(--space-lg);
    }
    
    .map-wrapper {
        height: 300px;
    }
}

/* Small Mobile */
@media (max-width: 375px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .ticket-price .amount {
        font-size: 2.5rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .route-step-text h4 {
        font-size: 0.9rem;
    }
    
    .route-step-text p {
        font-size: 0.8rem;
    }
}

/* Large Displays */
@media (min-width: 1441px) {
    .container {
        max-width: 1320px;
    }
    
    section {
        padding: var(--space-4xl) 0;
    }
    
    .hero {
        padding: var(--space-4xl) 0;
    }
}

/* ==========================================================================
   ACCESSIBILITY - REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero::before,
    .hero::after {
        animation: none;
    }
    
    .map-route {
        animation: none;
        stroke-dashoffset: 0;
    }
}

/* ==========================================================================
   HIGH CONTRAST MODE
   ========================================================================== */

@media (prefers-contrast: high) {
    :root {
        --primary: #003366;
        --secondary: #006699;
        --gray-600: #333333;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .ticket-card,
    .price-card,
    .insider-card,
    .route-segment {
        border: 2px solid var(--gray-800);
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .site-header,
    .back-to-top,
    .cta-section,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: none;
        color: black;
        padding: var(--space-lg) 0;
    }
    
    .hero h1,
    .hero .lead {
        color: black;
    }
    
    section {
        padding: var(--space-lg) 0;
        page-break-inside: avoid;
    }
}