/* Tönisberger Kiosk - Professional Black, Rose & White Design */
:root {
  --black: #0a0a0a;
  --dark: #121212;
  --darker: #1a1a1a;
  --gold: #e09aaa;
  --gold-light: #f0b8c4;
  --gold-dark: #c87888;
  --white: #f8f8f8;
  --gray: #b0b0b0;
  --text: #e8e8e8;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --radius: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--black);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

a:hover {
  color: var(--gold-light);
}

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

/* ========== HEADER ========== */
header {
  background: linear-gradient(180deg, #000000 0%, #0d0d0d 100%);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(224, 154, 170, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 96px;
  width: auto;
  object-fit: contain;
  border-radius: 14px;
  /* Rose frame + soft glow so the logo stands out on black */
  box-shadow:
    0 0 0 2px rgba(224, 154, 170, 0.65),
    0 0 18px rgba(224, 154, 170, 0.5),
    0 4px 18px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.logo:hover img {
  box-shadow:
    0 0 0 2px rgba(240, 184, 196, 0.9),
    0 0 24px rgba(224, 154, 170, 0.6),
    0 6px 22px rgba(0, 0, 0, 0.55);
  transform: scale(1.03);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 4px;
  position: relative;
  letter-spacing: 0.3px;
}

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

nav a.active::after,
nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 1.5rem;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
}

/* ========== MAIN ========== */
main {
  flex: 1;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a150a 50%, #0a0a0a 100%);
  padding: 80px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid rgba(224, 154, 170, 0.3);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(224, 154, 170, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  white-space: nowrap;
}

.hero h1 span {
  color: var(--gold);
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 36px;
  font-weight: 300;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #000 !important;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 36px;
  border-radius: 50px;
  box-shadow: 0 6px 25px rgba(224, 154, 170, 0.4);
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(224, 154, 170, 0.55);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #000 !important;
}

.cta-button svg {
  width: 22px;
  height: 22px;
}

/* ========== SECTIONS ========== */
.section {
  padding: 70px 0;
}

.section-dark {
  background: var(--dark);
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

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

/* ========== FEATURE CARDS ========== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--darker);
  border: 1px solid rgba(224, 154, 170, 0.2);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(224, 154, 170, 0.15);
}

.feature-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: rgba(224, 154, 170, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
}

.feature-card h3 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

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

/* ========== INTRO GRID ========== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.intro-grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(224, 154, 170, 0.25);
}

.intro-text h2 {
  color: var(--white);
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  margin-bottom: 18px;
  line-height: 1.3;
}

.intro-text h2.welcome-heading {
  font-size: clamp(1.15rem, 2.5vw, 1.7rem);
  white-space: nowrap;
}

.intro-text h2 span {
  color: var(--gold);
}

.intro-text p {
  color: var(--gray);
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.intro-text ul {
  list-style: none;
  margin: 20px 0;
}

.intro-text ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text);
}

.intro-text ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
  top: 12px;
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid rgba(224, 154, 170, 0.2);
  transition: var(--transition);
}

.gallery-item:hover {
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(224, 154, 170, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--gold);
  font-size: 2rem;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 90vh;
  border-radius: 6px;
  border: 2px solid var(--gold);
  box-shadow: 0 0 40px rgba(224, 154, 170, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--white);
}

/* ========== CATERING ========== */
.catering-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.catering-hero img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(224, 154, 170, 0.3);
}

.catering-text h2 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 20px;
}

.catering-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.pdf-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold) !important;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.pdf-download:hover {
  background: var(--gold);
  color: #000 !important;
}

/* ========== CONTACT FORM ========== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h3 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.contact-info p {
  color: var(--gray);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info .icon {
  color: var(--gold);
  min-width: 20px;
}

/* Honeypot – für Menschen unsichtbar */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

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

.form-group label {
  display: block;
  color: var(--gray);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--darker);
  border: 1px solid rgba(224, 154, 170, 0.3);
  border-radius: 6px;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 154, 170, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.submit-btn {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #000;
  border: none;
  padding: 14px 36px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 154, 170, 0.4);
}

.form-message {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 500;
}

.form-message.success {
  background: rgba(40, 167, 69, 0.15);
  border: 1px solid #28a745;
  color: #5dd879;
}

.form-message.error {
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid #dc3545;
  color: #f08080;
}

/* ========== IMPRESSUM ========== */
.impressum-content {
  max-width: 800px;
  margin: 0 auto;
}

.impressum-content h2 {
  color: var(--gold);
  margin: 30px 0 12px;
  font-size: 1.3rem;
}

.impressum-content h2:first-child {
  margin-top: 0;
}

.impressum-content p,
.impressum-content address {
  color: var(--gray);
  margin-bottom: 10px;
  font-style: normal;
}

.impressum-content a {
  color: var(--gold);
}

/* ========== FOOTER ========== */
footer {
  background: #050505;
  border-top: 2px solid var(--gold);
  padding: 40px 0 20px;
  margin-top: auto;
}

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

.footer-col h4 {
  color: var(--gold);
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
  color: var(--gray);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold) !important;
  background: none;
  border: none;
  padding: 0;
  transition: var(--transition);
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

.social-btn:hover {
  color: var(--gold-light) !important;
  transform: translateY(-2px);
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(224, 154, 170, 0.2);
  color: var(--gray);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--gold);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a150a 100%);
  padding: 50px 0 40px;
  text-align: center;
  border-bottom: 1px solid rgba(224, 154, 170, 0.25);
}

.page-header h1 {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 8px;
}

.page-header h1 span {
  color: var(--gold);
}

.page-header p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .intro-grid,
  .catering-hero,
  .contact-wrapper,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .intro-text h2.welcome-heading {
    white-space: normal; /* full width available – allow natural wrap if needed */
    font-size: clamp(1.4rem, 4vw, 1.9rem);
  }

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

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-bottom: 2px solid var(--gold);
    display: none;
    padding: 15px 0;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  nav a.active::after,
  nav a:hover::after {
    display: none;
  }

  .logo img {
    height: 72px;
  }

  .hero {
    padding: 50px 0 40px;
  }

  .section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    white-space: normal; /* on very small phones allow wrapping if needed */
    font-size: 1.55rem;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
