/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(Inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(Inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary: #6a11cb;
  --secondary: #2575fc;
  --accent: #ff6b6b;
  --light: #f8f9fa;
  --dark: #212529;
  --gray: #6c757d;
  --success: #28a745;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
  color: var(--dark);
  line-height: 1.6;
  padding: 0;
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: white;
  padding: 20px 0;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  background: white;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  color: var(--primary);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.logo-text span {
  color: white;
  opacity: 0.9;
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: all 0.3s;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: white;
  position: relative;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--primary);
}

.hero p {
  font-size: 1.4rem;
  color: var(--gray);
  max-width: 800px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.cta-button {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
  letter-spacing: 0.5px;
  display: inline-block;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4);
}

.hero-image {
  max-width: 800px;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  border: 1px solid #eee;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  font-size: 28px;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.feature-card p {
  color: var(--gray);
  font-size: 1.05rem;
}

/* Form Section */
.form-section {
  padding: 80px 0;
  background: white;
}

.form-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.form-header {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: white;
  padding: 30px;
  text-align: center;
}

.form-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.form-header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.form-body {
  padding: 40px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--dark);
  font-size: 1.05rem;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #e0e6ef;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s;
  background: #f8fafc;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.priority-option {
  background: linear-gradient(120deg, #e0f7fa, #bbdefb);
  border: none;
  padding: 15px;
  border-radius: 12px;
  margin-top: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  color: var(--primary);
}

.priority-option:hover {
  background: linear-gradient(120deg, #b3e5fc, #90caf9);
  transform: scale(1.02);
}

.priority-option.selected {
  background: rgba(106, 17, 203, 0.1);
  border-color: var(--primary);
  font-weight: 500;
}

.priority-option .price {
  color: var(--accent);
  font-weight: 700;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  margin-top: 10px;
}

.submit-btn:hover {
  background: linear-gradient(to right, #5d0dbd, #1a69e8);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4);
}

/* Sachkundeprüfung Haltung Section */
.sachkunde-haltung-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
  border-left: 4px solid var(--primary);
}

.sachkunde-haltung-section h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.sachkunde-haltung-section .note {
  text-align: center;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.sachkunde-haltung-question {
  margin-bottom: 20px;
}

.sachkunde-haltung-question h4 {
  margin-bottom: 10px;
  font-weight: 500;
}

.sachkunde-haltung-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sachkunde-haltung-option {
  padding: 12px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.sachkunde-haltung-option:hover {
  background: rgba(106, 17, 203, 0.05);
  border-color: var(--primary);
}

.sachkunde-haltung-option.selected {
  background: rgba(106, 17, 203, 0.1);
  border-color: var(--primary);
  font-weight: 500;
}

/* Sachkundeprüfung Flug Section */
.sachkunde-flight-section {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  margin-top: 30px;
  border-left: 4px solid var(--primary);
  display: none;
}

.sachkunde-flight-section h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.sachkunde-flight-section .note {
  text-align: center;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.sachkunde-flight-question {
  margin-bottom: 20px;
}

.sachkunde-flight-question h4 {
  margin-bottom: 10px;
  font-weight: 500;
}

.sachkunde-flight-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sachkunde-flight-option {
  padding: 12px;
  border: 1px solid #e0e6ef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.sachkunde-flight-option:hover {
  background: rgba(106, 17, 203, 0.05);
  border-color: var(--primary);
}

.sachkunde-flight-option.selected {
  background: rgba(106, 17, 203, 0.1);
  border-color: var(--primary);
  font-weight: 500;
}

.error-message {
  color: var(--accent);
  margin-top: 5px;
  font-size: 0.9rem;
  display: none;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #adb5bd;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-column ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #495057;
  color: #adb5bd;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--primary);
  text-decoration: none;
}

.footnote {
  color: var(--gray);
  font-size: 0.8rem;
  margin-top: 5px;
  font-style: italic;
  text-align: center;
}

.dragon-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.dragon-tile {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid #e0e6ef;
}

.dragon-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.dragon-image {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
}

.dragon-tile h3 {
  text-align: center;
  padding: 15px;
  font-size: 1.3rem;
  color: var(--primary);
}

.dragon-tile p {
  text-align: center;
  padding: 0 15px 15px;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.1rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  padding: 30px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: modalFade 0.3s ease;
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray);
  transition: all 0.3s;
}

.close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

.modal h2 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 15px;
}

.modal p {
  color: var(--dark);
  text-align: center;
  margin-bottom: 25px;
  line-height: 1.5;
}

.modal-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.modal-btn:hover {
  background: linear-gradient(to right, #5d0dbd, #1a69e8);
  transform: translateY(-2px);
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 14px 30px;
    font-size: 1rem;
  }
}