/* Berlin TV Tower - Main Stylesheet */

:root {
  --primary-color: #e63946;
  --primary-dark: #c92a36;
  --secondary-color: #1d3557;
  --accent-color: #f4a261;
  --text-dark: #2b2d42;
  --text-light: #8d99ae;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e9ecef;
  --success-color: #2a9d8f;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

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

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

ul, ol {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--secondary-color);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

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

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

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

.btn-secondary:hover {
  background: #152741;
  transform: translateY(-2px);
}

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

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1.125rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--secondary-color);
}

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

.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-main a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  background: white;
}

.lang-current:hover {
  border-color: var(--primary-color);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.875rem;
}

.lang-dropdown a:hover {
  background: var(--bg-light);
}

.lang-dropdown a.active {
  background: var(--bg-light);
  color: var(--primary-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.3;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero-content {
  color: white;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.hero-widget {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.widget-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

/* Disclaimer tooltip */
.disclaimer-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  cursor: help;
  margin-top: 1rem;
}

.disclaimer-tooltip::before {
  content: 'ⓘ';
  font-size: 0.875rem;
}

.disclaimer-tooltip .tooltip-text {
  position: absolute;
  bottom: 100%;
  left: 0;
  background: var(--secondary-color);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.75rem;
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 10;
}

.disclaimer-tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  transform: translateY(-8px);
}

/* Quick Info Section */
.quick-info {
  padding: 80px 0;
  background: var(--bg-light);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.info-card {
  background: white;
  padding: 28px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.info-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  font-size: 1.5rem;
}

.info-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.info-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-top: 8px;
}

/* Ticket Section */
.tickets-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  display: inline-block;
  background: var(--bg-light);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.125rem;
}

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

.ticket-card {
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.ticket-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.ticket-card.featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.ticket-card.featured::before {
  content: 'Beliebt';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: white;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.ticket-type {
  font-size: 0.875rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.ticket-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.ticket-price {
  margin-bottom: 24px;
}

.price-from {
  font-size: 0.875rem;
  color: var(--text-light);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.price-currency {
  font-size: 1rem;
  color: var(--text-light);
}

.ticket-features {
  margin-bottom: 24px;
}

.ticket-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.ticket-features li:last-child {
  border-bottom: none;
}

.ticket-features li::before {
  content: '✓';
  color: var(--success-color);
  font-weight: 700;
}

.ticket-card .btn {
  width: 100%;
}

/* Content Sections */
.content-section {
  padding: 100px 0;
}

.content-section:nth-child(even) {
  background: var(--bg-light);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.content-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.content-text h2 {
  margin-bottom: 1.5rem;
}

.content-text ul {
  margin: 1.5rem 0;
}

.content-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
}

.content-text ul li::before {
  content: '→';
  color: var(--primary-color);
  font-weight: 700;
}

/* Tips Section */
.tips-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--secondary-color), #457b9d);
  color: white;
}

.tips-section h2 {
  color: white;
  text-align: center;
  margin-bottom: 60px;
}

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

.tip-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}

.tip-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.tip-card h3 {
  color: white;
  margin-bottom: 12px;
}

.tip-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin: 0;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
}

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

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: var(--primary-color);
  text-align: center;
  color: white;
}

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

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

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

.cta-section .btn:hover {
  background: var(--secondary-color);
  color: white;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: white;
  padding: 80px 0 30px;
}

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

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-top: 20px;
  font-size: 0.95rem;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 8px 0;
  font-size: 0.95rem;
}

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

.footer-contact p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

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

.footer-copyright {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}

.footer-disclaimer {
  background: rgba(255,255,255,0.05);
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
}

/* Article/Content Pages */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--secondary-color), #457b9d);
  color: white;
  text-align: center;
}

.page-hero h1 {
  color: white;
}

.page-hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Inner guide pages: full hero + widget (same pattern as homepage) */
.hero.hero--inner {
  min-height: auto;
  align-items: flex-start;
}

.hero.hero--inner .breadcrumb {
  justify-content: flex-start;
  position: relative;
  z-index: 2;
  padding-top: 8px;
  margin-bottom: 0;
}

.hero.hero--inner .hero-inner {
  padding-top: 28px;
  padding-bottom: 56px;
}

.hero.hero--inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  color: rgba(255,255,255,0.5);
}

.article-content {
  padding: 80px 0;
}

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

.article-body h2 {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

.article-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-body h3 {
  margin-top: 32px;
}

.article-body ul, .article-body ol {
  margin: 1.5rem 0;
  padding-left: 24px;
}

.article-body ul li, .article-body ol li {
  padding: 8px 0;
  position: relative;
}

.article-body ul li::before {
  content: '•';
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: -20px;
}

.article-body ol {
  list-style: decimal;
}

.article-body blockquote {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 24px;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
  font-style: italic;
  margin: 0;
  color: var(--text-dark);
}

/* Info Box */
.info-box {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
  margin: 2rem 0;
  border-left: 4px solid var(--accent-color);
}

.info-box.tip {
  border-left-color: var(--success-color);
}

.info-box.warning {
  border-left-color: var(--primary-color);
}

.info-box-title {
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Table Styles */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th,
.price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.price-table th {
  background: var(--secondary-color);
  color: white;
  font-weight: 600;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:hover {
  background: var(--bg-light);
}

/* Sidebar Widget */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  height: fit-content;
}

.sidebar-widget {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-widget {
    max-width: 500px;
  }
  
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tickets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .content-grid.reverse {
    direction: ltr;
  }
  
  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .article-layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
  
  .nav-main {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    padding: 40px 20px;
    gap: 0;
    transform: translateX(-100%);
    transition: var(--transition);
  }
  
  .nav-main.active {
    transform: translateX(0);
  }
  
  .nav-main a {
    padding: 16px 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  
  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .tickets-grid {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }

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

/* Schema.org markup visibility */
[itemscope] { display: block; }
