/* ==========================================================================
   Pimp My Kalender - Landing Page
   Main Stylesheet
   ========================================================================== */

/* ==========================================================================
   CSS Variables - Design System
   ========================================================================== */

:root {
  /* Colors - iOS Design Language */
  --primary-blue: #0136E8;
  --primary-dark: #1D1D1F;
  --primary-light: #F5F5F7;
  --white: #FFFFFF;

  /* Accent Colors */
  --accent-green: #34C759;
  --accent-orange: #FF9500;
  --accent-red: #FF3B30;
  --accent-purple: #AF52DE;

  /* Text Colors */
  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-tertiary: #86868B;

  /* Border & Background */
  --border-color: #D2D2D7;
  --background-light: #F5F5F7;
  --background-dark: #2C2C2E;

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, monospace;

  /* Spacing - 8px Grid */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2rem;      /* 32px */
  --space-xl: 3rem;      /* 48px */
  --space-2xl: 4rem;     /* 64px */
  --space-3xl: 6rem;     /* 96px */

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
}

/* ==========================================================================
   CSS Reset & Base Styles
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: #0136E8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: #0051D5;
}

ul, ol {
  list-style-position: inside;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-dark);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  line-height: 1.3;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.4;
}

p {
  margin-bottom: var(--space-md);
}

.text-large {
  font-size: 1.25rem;
  line-height: 1.5;
}

.text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text-caption {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-tertiary);
}

.text-center {
  text-align: center;
}

.text-secondary {
  color: var(--text-secondary);
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */

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

.section {
  padding: var(--space-2xl) 0;
  background-color: var(--white);
}

.section-alt {
  background-color: var(--background-light);
}

/* ==========================================================================
   Grid System
   ========================================================================== */

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary-blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
  background: #0051D5;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 122, 255, 0.4);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-slow);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

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

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--primary-blue);
}

/* ==========================================================================
   Badges
   ========================================================================== */

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  background: var(--background-light);
  color: var(--text-primary);
}

.badge-blue {
  background: rgba(0, 122, 255, 0.1);
  color: var(--primary-blue);
}

.badge-green {
  background: rgba(52, 199, 89, 0.1);
  color: var(--accent-green);
}

.badge-orange {
  background: rgba(255, 149, 0, 0.1);
  color: var(--accent-orange);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  background: transparent;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
  transition: all 1.2s ease;
}

/* Header Background Layers - Blur Gradient Effect */
.header-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.header.scrolled .header-background {
  opacity: 1;
}

/* Layer 1: 0.5px blur, Maske 90%-100% */
.header.scrolled .header-background:nth-child(1) {
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

/* Layer 2: 1px blur, Maske 80%-90% */
.header.scrolled .header-background:nth-child(2) {
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  mask-image: linear-gradient(to bottom, black 80%, transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 90%);
}

/* Layer 3: 1.5px blur, Maske 70%-80% */
.header.scrolled .header-background:nth-child(3) {
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  mask-image: linear-gradient(to bottom, black 70%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 80%);
}

/* Layer 4: 2px blur, Maske 60%-70% */
.header.scrolled .header-background:nth-child(4) {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to bottom, black 60%, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 70%);
}

/* Layer 5: 2.5px blur, Maske 50%-60% */
.header.scrolled .header-background:nth-child(5) {
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  mask-image: linear-gradient(to bottom, black 50%, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 60%);
}

/* Scroll State - aktiviert ab halber Hero-Höhe */
.header.scrolled {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6) 0%,
    transparent 100%
  );
  box-shadow: none;
}

.header.scrolled .logo-text {
  color: #0136E8;
  text-shadow: none;
}

.header.scrolled .nav-link {
  color: #0136E8;
  text-shadow: none;
}

.header.scrolled .nav-link:hover {
  color: rgba(1, 54, 232, 0.7);
}

.header.scrolled .nav-links a {
  color: #0136E8;
}

.header.scrolled .nav-links a:hover {
  color: rgba(1, 54, 232, 0.7);
}

.header.scrolled .menu-toggle span {
  background: #0136E8;
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: none;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  align-items: center;
  margin-left: auto;
}

.nav-links a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-base);
}

.nav-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.nav-link {
  color: var(--white);
  font-weight: 600;
  text-shadow: none;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.app-store-badge-nav {
  display: inline-block;
  transition: opacity var(--transition-base);
}

.app-store-badge-nav:hover {
  opacity: 0.8;
}

.app-store-badge-nav img {
  height: 40px;
  width: auto;
  vertical-align: middle;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  margin-left: auto;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
  transition: all var(--transition-base);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  background: transparent;
  border-top: none;
  padding: var(--space-md) 0;
  transition: all 1.2s ease;
}

.mobile-menu.is-open {
  display: block;
}

/* Mobile menu when header is scrolled */
.header.scrolled .mobile-menu {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.85) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-sm);
  color: var(--text-primary);
  font-weight: 500;
}

.mobile-menu ul {
  list-style: none;
  padding: var(--space-md);
}

.mobile-menu li {
  margin-bottom: var(--space-sm);
}

.mobile-menu a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  display: block;
  padding: var(--space-sm);
  transition: color var(--transition-base);
}

.mobile-menu a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile menu links when header is scrolled */
.header.scrolled .mobile-menu a {
  color: #0136E8;
}

.header.scrolled .mobile-menu a:hover {
  color: rgba(1, 54, 232, 0.7);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: var(--space-3xl) 0;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  --hero-bg-url: url('../images/hero/strand-mobile.jpg');
}

@media (min-width: 768px) {
  .hero-background {
    --hero-bg-url: url('../images/hero/strand-desktop.jpg');
  }
}

/* Layer 1: Kein Blur (Top-Bereich sichtbar) */
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-background picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-blur-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Hero Blur Layers - Inverted Header Concept */
.hero-blur-layer:nth-of-type(1) {
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
  mask-image: linear-gradient(to top, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 90%, transparent 100%);
}

.hero-blur-layer:nth-of-type(2) {
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  mask-image: linear-gradient(to top, black 80%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, black 80%, transparent 90%);
}

.hero-blur-layer:nth-of-type(3) {
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  mask-image: linear-gradient(to top, black 70%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, black 70%, transparent 80%);
}

.hero-blur-layer:nth-of-type(4) {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to top, black 60%, transparent 70%);
  -webkit-mask-image: linear-gradient(to top, black 60%, transparent 70%);
}

.hero-blur-layer:nth-of-type(5) {
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  mask-image: linear-gradient(to top, black 50%, transparent 60%);
  -webkit-mask-image: linear-gradient(to top, black 50%, transparent 60%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-app-icon {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  margin: 0 auto var(--space-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero p {
  color: var(--white);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

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

.hero-title {
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: var(--space-xl);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.hero-cta {
  margin-bottom: var(--space-xl);
}

.app-store-badge-hero {
  display: inline-block;
  transition: transform var(--transition-base);
}

.app-store-badge-hero:hover {
  transform: translateY(-2px);
}

.app-store-badge-hero img {
  width: 172px;
  height: 57px;
  vertical-align: middle;
  object-fit: contain;
}

.app-store-badge-cta {
  display: inline-block;
  transition: transform var(--transition-base);
}

.app-store-badge-cta:hover {
  transform: translateY(-2px);
}

.app-store-badge-cta img {
  width: 246px;
  height: 82px;
  vertical-align: middle;
  object-fit: contain;
}

.hero-image {
  max-width: 600px;
  margin: 0 auto;
}

.hero-screenshots {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  align-items: center;
  margin: var(--space-2xl) 0;
  overflow-x: auto;
  padding: var(--space-md) 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hero-screenshots::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}

.screenshot-item:hover {
  transform: scale(1.05);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile Screenshots Section */
.mobile-screenshots-section {
  display: none;
  padding: var(--space-xl) 0;
  background: var(--background-light);
}

.mobile-screenshots-grid {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  overflow-y: hidden;
  padding: var(--space-md) var(--space-md) var(--space-lg);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.mobile-screenshots-grid::-webkit-scrollbar {
  display: none;
}

.mobile-screenshot-item {
  flex: 0 0 auto;
  width: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  scroll-snap-align: center;
  transition: transform var(--transition-base);
}

.mobile-screenshot-item:first-child {
  margin-left: var(--space-md);
}

.mobile-screenshot-item:last-child {
  margin-right: var(--space-md);
}

.mobile-screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.trust-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.trust-indicator {
  margin-top: var(--space-lg);
  color: var(--text-primary);
  font-size: 0.875rem;
  text-shadow: none;
}

.stars {
  color: var(--accent-orange);
}

/* ==========================================================================
   Blog Hero Section
   ========================================================================== */

.blog-hero {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-2xl);
  text-align: center;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.blog-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.blog-hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.blog-hero-blur-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Blog Hero Blur Layers - Inverted Header Concept */
.blog-hero-blur-layer:nth-of-type(1) {
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
  mask-image: linear-gradient(to top, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 90%, transparent 100%);
}

.blog-hero-blur-layer:nth-of-type(2) {
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  mask-image: linear-gradient(to top, black 80%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, black 80%, transparent 90%);
}

.blog-hero-blur-layer:nth-of-type(3) {
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  mask-image: linear-gradient(to top, black 70%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, black 70%, transparent 80%);
}

.blog-hero-blur-layer:nth-of-type(4) {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to top, black 60%, transparent 70%);
  -webkit-mask-image: linear-gradient(to top, black 60%, transparent 70%);
}

.blog-hero-blur-layer:nth-of-type(5) {
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  mask-image: linear-gradient(to top, black 50%, transparent 60%);
  -webkit-mask-image: linear-gradient(to top, black 50%, transparent 60%);
}

.blog-hero .container {
  position: relative;
  z-index: 2;
}

.blog-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.blog-hero p {
  font-size: 1.125rem;
  color: var(--text-primary);
  text-shadow: none;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

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

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

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.feature-description {
  color: var(--text-secondary);
  font-size: 0.938rem;
}

/* ==========================================================================
   Steps Section
   ========================================================================== */

.steps {
  background: var(--background-light);
  padding: var(--space-3xl) 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.step-time {
  color: var(--text-tertiary);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
}

/* ==========================================================================
   Bundesländer Grid
   ========================================================================== */

.bundeslaender-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.bundesland-badge {
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition-base);
}

.bundesland-badge:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
}

.testimonial-location {
  color: var(--text-tertiary);
  font-size: 0.875rem;
}

/* ==========================================================================
   Pricing Cards
   ========================================================================== */

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

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.pricing-card.featured {
  border-color: var(--primary-blue);
  position: relative;
}

.pricing-card.featured::before {
  content: 'BELIEBT';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: var(--space-sm);
}

.pricing-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing-feature {
  padding: var(--space-sm) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-feature::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
}

/* ==========================================================================
   Blog Preview
   ========================================================================== */

.blog-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  padding: var(--space-lg);
  margin-bottom: 16px;
}

.blog-card .badge {
  margin: 12px 0 -3px;
}

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

.blog-card-content {
  padding: var(--space-md);
}

.blog-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin-bottom: var(--space-sm);
}

.blog-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--primary-dark);
}

.blog-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.938rem;
  margin-bottom: var(--space-md);
}

.blog-card-link {
  color: var(--primary-blue);
  font-weight: 500;
  font-size: 0.938rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #0051D5 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

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

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

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-base);
}

.footer-link:hover {
  color: var(--white);
}

.footer-legal {
  font-weight: 700;
}

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

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb-separator {
  color: var(--text-tertiary);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Additional styles for proper spacing and padding */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

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

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

/* Minimaler Abstand für User Review Tiles */
.grid-3:has(.testimonial-card) {
  gap: var(--space-sm);
}

.badge-item {
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
  text-align: center;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--transition-base);
}

.badge-item:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.bundeslaender-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin: var(--space-xl) 0 0;
}

.bundeslaender-list li {
  margin: 0;
  padding: 0;
}

.bg-light {
  background-color: var(--background-light);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: var(--space-xl);
  font-weight: 700;
}

.link-arrow {
  color: var(--primary-blue);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-base);
}

.link-arrow:hover {
  color: #0051D5;
}

.pricing-card-featured {
  position: relative;
  border: 2px solid var(--primary-blue);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.2);
}

.badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  font-weight: 700;
}

.price-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-xl);
  padding: var(--space-md) 0;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  align-items: center;
}

.mobile-menu {
  display: none;
  background: transparent;
  border-top: none;
  transition: all 1.2s ease;
}

.mobile-menu.is-open {
  display: block;
}

/* Mobile menu when header is scrolled */
.header.scrolled .mobile-menu {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.85) 75%,
    rgba(255, 255, 255, 0) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-menu ul {
  list-style: none;
  padding: var(--space-md);
}

.mobile-menu li {
  margin-bottom: var(--space-sm);
}

.mobile-menu a {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  display: block;
  padding: var(--space-sm);
  transition: color var(--transition-base);
}

.mobile-menu a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile menu links when header is scrolled */
.header.scrolled .mobile-menu a {
  color: #0136E8;
}

.header.scrolled .mobile-menu a:hover {
  color: rgba(1, 54, 232, 0.7);
}


.rating {
  color: var(--accent-orange);
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.cta-text {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
}

.footer-copyright {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
