:root {
  --bg: #fff;
  --surface: #f8f8f8;
  --text: #1a1a1a;
  --muted: #6b7280;
  --accent: #e74c3c;
  --radius: 12px;
  --shadow: 0 6px 14px rgba(0,0,0,.08);
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html, body { height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header / Nav */
header {
  position: fixed; top: 0; z-index: 1000;
  width: 100%;
  background: rgba(20,20,20,.95);
  color: #fff;
}

nav {
  max-width: 1200px; margin: 0 auto; padding: 1rem;
  display: flex; justify-content: space-between; align-items: center;
}

.logo { width: 200px; }
.logo img { width: 100%; height: auto; display: block; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: .5rem 1rem;
  transition: color 0.3s;
}

.nav-links a:hover { color: #ffd166; }

/* Hamburger (für mobile Navigation) */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero */
.hero {
  padding: 140px 20px 60px;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #e74c3c 100%);
  color: #fff;
  scroll-margin-top: 80px;
}

.hero-image {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto 2rem;
  overflow: hidden;
  border-radius: 12px;
}

.hero-slide {
  display: none;
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

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

.hero-content p {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

/* Sections */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: 80px;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.section.alt-bg { background: var(--surface); }

/* Welcome Text */
.welcome-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  padding: 0 1rem;
}

/* Info Panels (Bild + Text) */
.info-panel-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-image {
  width: 100%;
  display: grid;
  place-items: center;
}

.panel-image img {
  width: 100%;
  height: auto;
  max-width: 460px;
  aspect-ratio: 3/2;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  background: #f0f0f0;
}

.panel-content {
  text-align: left;
  padding: 0;
}

.panel-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--accent);
}

.panel-content p {
  margin: 0.25rem 0;
  line-height: 1.6;
}

/* Info Panel (ohne Bild) */
.info-panel {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-panel h3 {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.info-panel p {
  text-align: left;
  margin-bottom: 0.5rem;
}

/* Button */
.cta-button {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
  margin-top: 1rem;
}

.cta-button:hover { background: #c0392b; }

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,.15);
}

.gallery-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.gallery-caption {
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  color: #333;
}

/* Contact Info */
.contact-info {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 12px;
  background: #f9f9f9;
  text-align: left;
  box-shadow: 0 4px 6px rgba(0,0,0,.05);
}

.contact-info p { margin: 0.4rem 0; font-size: 1rem; }

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info a:hover { text-decoration: underline; }

/* Legal Content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: #f8f8f8;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0,0,0,.1);
}

.legal-content h3 {
  color: var(--accent);
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.legal-content h4 {
  color: #1a1a1a;
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-content h5 {
  color: #333;
  font-size: 1.1rem;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #444;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.3rem;
  color: #444;
}

.legal-content strong { font-weight: 600; color: #1a1a1a; }

.legal-content a {
  color: var(--accent);
  text-decoration: none;
}

.legal-content a:hover { text-decoration: underline; }

/* Footer */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-logo {
  width: 200px;
  margin: 0 auto 1rem;
  max-height: 40px;
  object-fit: contain;
}

.footer-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-links {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 0;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

/* Mobile Styles */
@media (max-width: 768px) {
  .logo { width: 150px; }
  
  .hero {
    padding: 100px 15px 40px;
  }
  
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1.1rem; margin-bottom: 0.5rem; }
  .hero-image { margin-bottom: 1rem; }
  
  .section {
    padding: 50px 15px;
  }
  
  .section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .welcome-text {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0;
  }
  
  .info-panel {
    padding: 1.5rem;
  }
  
  .info-panel-with-image {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  
  .panel-image {
    order: 0;
    margin-bottom: 1rem;
  }
  
  .panel-content {
    text-align: center;
  }
  
  .panel-content h3,
  .panel-content p {
    text-align: left;
  }
  
  .cta-button {
    width: 100%;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    gap: 0.75rem;
  }
  
  .gallery-item {
    border-radius: 8px;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .gallery-caption {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .legal-content {
    padding: 1.5rem;
  }
  
  .legal-content h3 { font-size: 1.3rem; }
  .legal-content h4 { font-size: 1.1rem; }
  .legal-content p { font-size: 0.9rem; }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-logo { width: 150px; }
  footer { padding: 1.5rem 0.75rem; }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav-links.active {
    max-height: 500px;
    padding: 1rem 0;
  }
  
  .nav-links a {
    font-size: 1rem;
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid #333;
  }
  
  .nav-links a:hover {
    background: #333;
  }
}