/* 
 * Tandemflug Landing Page Styles
 * Optimized for Google AdWords Quality Score and conversions
 * Fast-loading, responsive design for maximum performance
 */

/* CSS Reset and Base Styles */
:root {
  --primary: #0056b3;
  --primary-dark: #004494;
  --secondary: #ff9500;
  --secondary-dark: #e68600;
  --text-dark: #333333;
  --text-light: #666666;
  --text-lighter: #888888;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-light: #e1e1e1;
  --success: #28a745;
  --danger: #dc3545;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
  --border-radius: 4px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

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

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

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

ul {
  list-style: none;
}

/* Layout and Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

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

.nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav a {
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 5px;
}

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

.nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

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

.nav .btn {
  padding-bottom: 0;
}

.nav .btn::after {
  display: none;
}

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

/* Custom style for the top navigation Book Now button */
.btn-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Restore padding-bottom to match .btn-small's vertical padding (8px) */
  /* This is needed because .nav .btn specifically sets padding-bottom: 0; */
  padding-bottom: 8px !important;
}

.header.scrolled {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 12px 24px;
  border-radius: var(--border-radius);
  background-color: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff !important;
  border: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--bg-white);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* Inverse of primary button: white background with primary text and border */
.btn-primary-inverse {
  background-color: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.btn-block {
  display: block;
  width: 100%;
  margin-left: 20px;
  margin-right: 20px;
  width: calc(100% - 40px);
}

.btn:active {
  transform: translateY(0);
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/hero-flying-pfronten.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 180px 0 100px;
  position: relative;
}

.hero-small {
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('../images/hero-flying-pfronten.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 120px 0 60px;
  position: relative;
}

.hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1,
.hero-small h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
}

.hero h2,
.hero-small h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 4px rgba(0, 0, 0, 0.5);
}

.hero p,
.hero-small p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 0 3px rgba(0, 0, 0, 0.5);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 2rem;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-item img {
  width: 24px;
  height: 24px;
}

.trust-item span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Google Ads Highlight Section */
.google-ads-highlight {
  background-color: var(--bg-white);
  text-align: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border-light);
}

.highlight-title {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.highlight-subtitle {
  font-size: 1.4rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.highlight-text {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.highlight-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.highlight-feature {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 1.5rem;
  margin-right: 10px;
}

.feature-text {
  font-weight: 600;
  color: var(--text-dark);
}

.highlight-cta {
  margin-top: 2rem;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-lighter);
  font-style: italic;
}

/* Experience Section */
.experience {
  background-color: var(--bg-light);
  text-align: center;
}

.experience h2 {
  margin-bottom: 50px;
}

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

.experience-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.experience-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.experience-item img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 4px 4px 0 0;
  transition: transform 0.3s ease;
}

.experience-item h3 {
  color: var(--primary);
  margin-top: 1.5rem;
  padding: 0 20px;
}

.experience-item p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

.experience-item:hover img {
  transform: scale(1.02);
}

/* Video Section */
.video-section {
  text-align: center;
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-thumbnail {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.play-button img {
  width: 80px;
  height: 80px;
  transition: var(--transition);
}

.video-container:hover .video-thumbnail {
  filter: brightness(0.8);
}

.video-container:hover .play-button img {
  transform: scale(1.1);
}

/* Locations Section */
.locations {
  background-color: var(--bg-light);
  text-align: center;
}

.locations h2 {
  margin-bottom: 50px;
}

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

.locations-grid-2 {
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.location-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.location-card img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 4px 4px 0 0;
  transition: transform 0.3s ease;
}

.location-card h3 {
  margin-top: 1.5rem;
  padding: 0 20px;
}

.location-card p {
  padding: 0 20px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.location-card .btn {
  margin: 0 20px 20px;
}

.location-card:hover img {
  transform: scale(1.02);
}

/* Pricing Section */
.pricing {
  text-align: center;
}

.pricing h2 {
  margin-bottom: 50px;
}

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

.pricing-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.pricing-tag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--secondary);
  color: white;
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
  padding: 30px 20px;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.pricing-header h3 {
  margin-bottom: 10px;
}

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

.pricing-features {
  padding: 30px 20px;
}

.pricing-features ul {
  text-align: left;
  margin-bottom: 30px;
}

.pricing-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.pricing-card .btn {
  margin: 0 20px 30px;
}

/* Testimonial Section */
.testimonials {
  background-color: var(--bg-light);
  text-align: center;
  padding: 80px 0;
}

.testimonials h2 {
  margin-bottom: 50px;
}

.testimonials-wrapper {
  max-width: 800px;
  margin: 0 auto 30px;
  position: relative;
}

.testimonial-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card.hidden {
  display: none;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 25px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.testimonial-name {
  font-weight: 700;
  color: var(--text-dark);
}

.testimonial-location {
  color: var(--text-lighter);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Booking Section */
.booking {
  background-color: var(--bg-white);
  width: 100%;
  max-width: 100%;
  padding: 30px 0;
}

.fullwidth-booking-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.booking-title {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary);
}

.booking-content {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.booking-info h2 {
  margin-bottom: 20px;
}

.booking-info p {
  margin-bottom: 30px;
  color: var(--text-light);
}

.booking-benefits {
  margin-top: 30px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.benefit-item img {
  width: 24px;
  height: 24px;
}

.booking-form-container {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 30px;
}

.booking-iframe-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: height 0.3s ease;
  min-height: 800px;
}

#booking-iframe {
  display: block;
  width: 100%;
  border-radius: var(--border-radius);
  transition: height 0.3s ease;
}

.booking-form {
  padding: 30px;
}

.booking-form h3 {
  margin-bottom: 30px;
  text-align: center;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.9rem;
}

input, select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, select:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  width: auto;
  margin-top: 5px;
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-lighter);
  text-align: center;
}

/* FAQ Section */
.faq {
  background-color: var(--bg-light);
}

.faq h2 {
  text-align: center;
  margin-bottom: 50px;
}

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

.faq-item {
  background-color: var(--bg-white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* CTA Section */
.cta {
  background-image: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  color: white;
  margin-bottom: 20px;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  background-color: white;
  color: var(--primary);
  border-color: white;
}

.cta .btn-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background-color: #333;
  color: white;
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-column h3 {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .booking-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.3rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .header {
    padding: 10px 0;
  }
  
  .nav ul {
    gap: 8px;
    justify-content: flex-end;
  }
  
  .nav a {
    font-size: 0.85rem;
  }
  
  .nav .btn-small {
    padding: 5px 10px;
    font-size: 0.75rem;
    letter-spacing: 0;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav .btn-primary {
    color: white !important;
  }
  
  .logo img {
    height: 30px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    display: flex;
    flex-direction: column;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    order: -1;
    transform: scale(1);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeIn {
  animation: fadeIn 0.6s ease forwards;
} 