/*
 * CakeLounge Stylesheet
 * Mobile-first, modular utility classes and components
 */

:root {
  --color-rose: #f8bbd0;
  --color-rose-light: #fde7ef;
  --color-cream: #fff8f3;
  --color-choco: #7b3f47;
  --color-choco-dark: #4f2430;
  --color-sand: #f0e3d1;
  --color-accent: #d291bc;
  --color-muted: #bfa5a8;
  --color-success: #4caf50;
  --color-error: #d32f2f;
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-body: 'Work Sans', 'Segoe UI', sans-serif;
  --radius-base: 16px;
  --shadow-soft: 0 20px 60px rgba(123, 63, 71, 0.15);
  --shadow-card: 0 10px 30px rgba(79, 36, 48, 0.12);
  --transition-base: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 72px;
  
  /* Mobile-spezifische Variablen */
  --mobile-padding: clamp(1rem, 4vw, 1.5rem);
  --mobile-font-size: clamp(0.9rem, 3.5vw, 1rem);
  --touch-target: 48px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-choco-dark);
  background-color: var(--color-cream);
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-choco);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin-top: 0;
  color: var(--color-choco);
}

p {
  margin-top: 0;
}

main {
  min-height: 60vh;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-choco);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-base) var(--radius-base);
  transition: top 0.2s ease;
  z-index: 999;
}

.skip-link:focus {
  top: 0;
}

.section {
  padding: clamp(3rem, 4vw + 1rem, 5rem) 1.5rem;
}

.section--highlight {
  background: #fff;
}

.section--accent {
  background: linear-gradient(135deg, rgba(248, 187, 208, 0.55), rgba(255, 248, 243, 0.8));
}

.section--cta {
  background: var(--color-choco);
  color: #fff;
}

.section-header {
  max-width: 640px;
  margin: 0 auto clamp(2rem, 3vw, 3rem);
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 0;
  background: var(--color-choco);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition-base);
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  background: var(--color-choco-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--color-choco);
  border: 1px solid currentColor;
}

.btn--ghost:hover,
.btn--ghost:focus {
  background: rgba(255, 255, 255, 0.7);
}

.btn--link {
  background: none;
  color: var(--color-choco);
  padding: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
}

.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 63, 71, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-mark {
  font-size: 1.6rem;
}

.brand-logo {
  height: 35px;
  width: auto;
}

.site-nav {
  display: flex;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.site-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-weight: 500;
  transition: var(--transition-base);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus {
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-nav a.active {
  background: rgba(123, 63, 71, 0.1);
  border: 1px solid rgba(123, 63, 71, 0.2);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: #fff;
  border: 1px solid rgba(123, 63, 71, 0.25);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle__icon {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--color-choco);
  display: inline-block;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-choco);
  transition: var(--transition-base);
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

/* Hero */
.hero {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(4rem, 5vw, 6rem) 1.5rem;
}

.hero-media {
  border-radius: clamp(20px, 5vw, 32px);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  min-height: 400px;
}

.hero-logo-box img {
  max-width: 350px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.hero-content {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  transition: var(--transition-base);
}

.card:hover,
.card:focus-within {
  transform: translateY(-6px);
}

.card img {
  border-radius: 14px;
}

.card-link {
  font-weight: 600;
}

.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

.testimonial {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
}

.testimonial blockquote {
  margin: 0 0 1rem 0;
}

.testimonial-rating {
  color: #ffb74d;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: var(--radius-base);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.gallery-item img {
  transition: transform 0.4s ease;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
  transform: scale(1.05);
}

.news-preview {
  display: grid;
  gap: 1.5rem;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1fr;
}

.news-card img {
  border-radius: var(--radius-base) var(--radius-base) 0 0;
}

.news-card__body {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

.news-date {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.cta {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 1.5rem 0;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  text-decoration: underline;
}

/* Page header */
.page-header {
  padding: 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* Angebot */
.product-categories {
  padding: 2rem 1.5rem;
  background: #fff;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  background: var(--color-cream);
  border: 2px solid var(--color-rose);
  border-radius: var(--radius-base);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  min-height: 350px; /* Mindesthöhe für alle Karten */
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(248, 187, 208, 0.3), transparent);
  transition: left 0.6s ease;
}

.category-card:hover::before {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-accent);
}

.category-card h3 {
  color: var(--color-choco);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.category-card p {
  color: var(--color-choco-dark);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}

.category-card img {
  width: 100%;
  height: 200px; /* Einheitliche Höhe für alle Bilder */
  object-fit: cover; /* Bilder werden proportional beschnitten um die Höhe zu füllen */
  border-radius: 12px;
  margin-top: auto; /* Bilder werden nach unten geschoben */
}

/* Produktseiten */
.product-hero {
  padding: 2rem 1.5rem;
  background: #fff;
}

.product-hero-content {
  display: grid;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.product-hero-text h2 {
  color: var(--color-choco);
  margin-bottom: 1rem;
}

.product-hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-choco-dark);
}

.product-details {
  padding: 2rem 1.5rem;
  background: var(--color-cream);
}

.details-grid {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.details-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
}

.details-card h3 {
  color: var(--color-choco);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.product-list li {
  padding-left: 1.5rem;
  position: relative;
}

.product-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.price-table {
  display: grid;
  gap: 0.75rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(123, 63, 71, 0.1);
}

.price-row:last-child {
  border-bottom: none;
}

.price {
  font-weight: 600;
  color: var(--color-choco);
  font-size: 1.1rem;
}

.price-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  font-style: italic;
}

/* Process Section */
.process-section {
  padding: 2rem 1.5rem;
  background: var(--color-rose-light);
}

.process-steps {
  display: grid;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process-step {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 2rem;
  width: 40px;
  height: 40px;
  background: var(--color-choco);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.process-step h3 {
  color: var(--color-choco);
  margin: 0.5rem 0 1rem 0;
  font-size: 1.3rem;
}

.process-step ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.process-step li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-choco-dark);
}

.process-step li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.angebot-section {
  display: grid;
  gap: 2rem;
  padding: 2rem 1.5rem;
  align-items: center;
}

.angebot-media img {
  border-radius: var(--radius-base);
}

.angebot-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 1rem;
}

.angebot-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.angebot-list li::before {
  content: '•';
  color: var(--color-accent);
  margin-right: 0.5rem;
}

.angebot-price {
  font-weight: 600;
  color: var(--color-choco);
}

/* Team */
.team-grid {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.5rem 4rem;
}

.team-grid--center {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.team-grid--center .team-card {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.team-card {
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  padding-bottom: 1rem;
}

.team-card img {
  width: clamp(160px, 40%, 220px);
  height: auto;
  display: block;
  border-radius: var(--radius-base);
  margin-top: 1.5rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.team-card__body {
  padding: 1.5rem;
  display: grid;
  gap: 0.5rem;
  text-align: center;
}

.team-role {
  color: var(--color-accent);
  font-weight: 600;
}

/* Neuigkeiten */
.news-list {
  display: grid;
  gap: 2rem;
  padding: 2rem 3rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.news-item {
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  gap: 1.5rem;
}

.news-item img {
  width: auto;
  height: auto;
  object-fit: cover;
  display: block;
}

.news-item__body {
  padding: 1.5rem;
  display: grid;
  gap: 0.75rem;
}

/* Kontakt */
.contact-layout {
  display: grid;
  gap: 2rem;
  padding: 2rem 1.5rem 4rem;
}

.contact-form,
.contact-info {
  background: #fff;
  border-radius: var(--radius-base);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}

.form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: grid;
  gap: 0.5rem;
}

.captcha-display {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.captcha-display span {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.form-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.form-group label {
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid rgba(123, 63, 71, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font: inherit;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(210, 145, 188, 0.2);
}

.form-group--checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
}

.required {
  color: var(--color-accent);
}

.form-feedback {
  display: none;
  padding: 1rem;
  border-radius: 12px;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.is-success {
  background: rgba(76, 175, 80, 0.1);
  color: var(--color-success);
}

.form-feedback.is-error {
  background: rgba(211, 47, 47, 0.1);
  color: var(--color-error);
}

.is-hidden {
  position: absolute;
  left: -9999px;
}

.contact-details {
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(248, 187, 208, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--color-rose);
  transition: var(--transition-base);
}

.contact-item:hover {
  background: rgba(248, 187, 208, 0.1);
  transform: translateX(4px);
}

.contact-item img {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-text {
  line-height: 1.5;
}

.contact-text strong {
  color: var(--color-choco);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-text a {
  color: var(--color-choco-dark);
  text-decoration: none;
  font-weight: 500;
}

.contact-text a:hover,
.contact-text a:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

.opening-hours,
.map-placeholder,
.contact-social {
  margin-top: 1.5rem;
}

/* Responsive Map Styles */
.map-container {
  position: relative;
}

.map-consent {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed var(--color-secondary);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.map-consent-content {
  max-width: 400px;
}

.map-consent-content p:first-child {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.map-embed {
  width: 100%;
  max-width: 600px;
  margin: 1rem auto 0;
}

.map-embed iframe {
  width: 100% !important;
  max-width: 100% !important;
  height: 300px !important;
  border: 1px solid #ddd;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .map-embed iframe {
    height: 400px !important;
  }
}

@media (min-width: 1024px) {
  .map-embed iframe {
    height: 450px !important;
  }
}

@media (max-width: 768px) {
  .map-consent {
    padding: 1.5rem;
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .map-consent {
    padding: 1rem;
    min-height: 250px;
  }
  
  .map-consent-content p:first-child {
    font-size: 1rem;
  }
}

.contact-social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Öffnungszeiten spezielle Farben */
.opening-hours h3#opening-hours-title {
  color: #7b3f47; /* Farbe für die Überschrift "Öffnungszeiten" */
}

.opening-hours-text {
  color: #4f2430; /* Farbe für den Text der Öffnungszeiten */
}

/* Footer */
.site-footer {
  background: #fff;
  margin-top: 4rem;
  border-top: 1px solid rgba(123, 63, 71, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 4rem;
  padding: 4rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.footer-title {
  font-family: var(--font-display);
  color: var(--color-choco);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact img {
  flex-shrink: 0;
}

.footer-contact a {
  text-decoration: underline;
}

.footer-hours ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-social ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Footer Brand zentriert */
.footer-brand {
  text-align: center;
  padding: 0 1rem;
}

.footer-brand .footer-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  line-height: 1.6;
}

.footer-brand .footer-contact {
  text-align: left;
  display: inline-grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Footer Social */
.footer-social ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--color-choco);
}

/* Footer Hours */
.footer-hours ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.footer-hours strong {
  color: var(--color-choco);
  min-width: 90px;
  text-align: left;
}

.footer-meta {
  border-top: 1px solid rgba(123, 63, 71, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.footer-meta ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(123, 63, 71, 0.95);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  display: flex;
  gap: 1rem;
  align-items: center;
  box-shadow: var(--shadow-card);
  max-width: 90vw;
  z-index: 950;
}

.cookie-banner.is-hidden {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: grid;
  place-items: center;
  padding: 2rem;
  z-index: 1000;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__content {
  background: #fff;
  border-radius: var(--radius-base);
  max-width: 90vw;
  max-height: 90vh;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__content img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Utility */
.grid {
  display: grid;
  gap: 1.5rem;
}

.stack {
  display: grid;
  gap: 0.75rem;
}

.section--cta .btn {
  justify-self: start;
}

/* Responsive */
@media (min-width: 600px) {
  .product-hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 481px) and (max-width: 600px) {
  /* Mittlere Handys (iPhone 12/13/14, Galaxy S-Serie) */
  .section {
    padding: 2.5rem 1.5rem;
  }

  .page-header {
    padding: 2rem 1.5rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero {
    padding: 3rem 1.5rem;
    gap: 2.5rem;
  }

  .hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .card {
    padding: 2rem;
  }

  .btn {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    border-radius: 14px;
  }
}

@media (min-width: 600px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-preview {
    grid-template-columns: repeat(2, 1fr);
  }

  .angebot-section {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid--center {
    max-width: 1100px;
  }

  .team-grid--center .team-card {
    max-width: 700px;
  }

  .news-list .news-item {
    grid-template-columns: 380px 1fr;
    align-items: start;
    gap: 2rem;
    padding: 0;
  }
  
  .news-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
    border-radius: var(--radius-base) 0 0 var(--radius-base);
  }
  
  .news-item__body {
    padding: 2rem 2rem 2rem 0;
  }

  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .cta {
    grid-template-columns: 1fr auto;
  }
}

@media (max-width: 960px) {
  /* Mobile Navigation - Vollbildschirm */
  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff8f3;
    padding: 4rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 9999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 2rem 0 0 0;
    list-style: none;
    width: 100%;
    max-width: 300px;
  }

  .site-nav li {
    width: 100%;
    display: block;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.2s ease;
    color: var(--color-choco);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(123, 63, 71, 0.15);
    box-sizing: border-box;
  }

  .site-nav a:hover,
  .site-nav a:focus,
  .site-nav a:active {
    background: rgba(123, 63, 71, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 63, 71, 0.15);
  }

  .site-nav a.active {
    background: var(--color-choco);
    color: white;
    font-weight: 600;
    border-color: var(--color-choco);
  }

  .site-nav .btn,
  .site-nav a.btn {
    background: var(--color-choco) !important;
    color: white !important;
    font-weight: 600;
    margin-top: 1rem;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    border: none;
    display: block;
    text-align: center;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  /* Hamburger Button */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 8px;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(123, 63, 71, 0.2);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
  }

  .nav-toggle:hover,
  .nav-toggle:focus {
    background: rgba(255, 255, 255, 1);
    border-color: var(--color-choco);
    transform: scale(1.05);
  }

  .nav-toggle__label {
    display: none;
  }

  .nav-toggle__icon {
    position: relative;
    width: 24px;
    height: 3px;
    background: var(--color-choco);
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .nav-toggle__icon::before,
  .nav-toggle__icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 3px;
    background: var(--color-choco);
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  .nav-toggle__icon::before {
    top: -8px;
  }

  .nav-toggle__icon::after {
    top: 8px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* Header anpassungen für Mobile */
  .site-header {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .header-inner {
    padding: 0 1rem;
    height: 64px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-mark {
    font-size: 1.4rem;
  }

  /* Product Categories Mobile */
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .category-card {
    padding: 1.25rem;
    min-height: 320px; /* Angepasste Mindesthöhe für Mobile */
  }

  .category-card h3 {
    font-size: 1.1rem;
  }

  .category-card p {
    font-size: 0.9rem;
  }

  .category-card img {
    height: 180px; /* Kleinere aber einheitliche Höhe auf Mobile */
  }

  /* Footer Tablet-Ansicht */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .footer-social {
    order: 1;
  }

  .footer-brand {
    order: 2;
    padding: 0;
  }

  .footer-brand .footer-contact {
    justify-self: center;
  }

  .footer-hours {
    order: 3;
  }

  .footer-social ul {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

/* Kleinere Handys (iPhone SE, Samsung Galaxy A-Serie) */
@media (max-width: 480px) {
  .section {
    padding: 2rem 1.25rem;
  }

  .page-header {
    padding: 1.5rem 1.25rem;
    margin-bottom: 1rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .page-header p {
    font-size: 1rem;
    line-height: 1.5;
    max-width: none;
    color: #7b3f47;
  }

  .hero {
    padding: 2.5rem 1.25rem;
    gap: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 1.1rem 1.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
  }

  .card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .card p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .contact-layout {
    padding: 1.25rem;
    gap: 2rem;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem 1.25rem;
    font-size: 16px; /* Verhindert Zoom auf iOS */
    border-radius: 10px;
    width: 100%;
    border: 2px solid rgba(123, 63, 71, 0.2);
  }

  .btn {
    padding: 1.1rem 1.5rem;
    font-size: 1.1rem;
    min-height: 50px;
    border-radius: 12px;
    font-weight: 600;
  }

  .cookie-banner {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    transform: none;
    max-width: none;
    border-radius: 16px;
    padding: 1.25rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Bessere Abstände für Listen */
  .angebot-list {
    margin: 1.5rem 0;
    padding-left: 0;
  }

  .angebot-list li {
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  /* Card-Grid mobile Optimierung */
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Testimonials mobile */
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial {
    padding: 1.5rem;
  }

  /* News mobile */
  .news-preview {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .news-card {
    margin-bottom: 1rem;
  }
}

/* Spezielle Anpassungen für Samsung und grosse Android-Handys */
@media (max-width: 960px) and (min-height: 700px) {
  .site-nav {
    padding-top: 6rem;
  }

  .site-nav ul {
    padding-top: 3rem;
  }
}

/* Touch-Optimierungen */
@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .card:hover,
  .gallery-item a:hover img {
    transform: none;
  }

  .btn:active {
    transform: scale(0.98);
  }

  .site-nav a:active {
    transform: scale(0.98);
    background: rgba(123, 63, 71, 0.2);
  }

  /* Grössere Touch-Targets */
  .site-nav a,
  .btn,
  .nav-toggle {
    min-height: 48px;
    min-width: 48px;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .card-grid {
    gap: 2rem;
  }

  .testimonial-grid {
    gap: 2rem;
  }

  .team-grid--center {
    max-width: 1200px;
    padding: 3rem 2rem 5rem;
  }

  .team-grid--center .team-card {
    max-width: 800px;
  }

  .news-preview {
    gap: 2rem;
  }
}

/* ===========================================
   INTRO SECTION STYLES
   =========================================== */

.section--intro {
  background: linear-gradient(135deg, var(--color-rose-light) 0%, var(--color-cream) 100%);
  position: relative;
  padding: 4rem 0;
}

.section--intro::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(248, 187, 208, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.section--intro .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section--intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--color-choco);
  margin-bottom: 2rem;
  line-height: 1.2;
}

.intro-content {
  display: grid;
  gap: 1.5rem;
  text-align: left;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.intro-content p {
  color: var(--color-choco-dark);
  line-height: 1.7;
  font-size: 1.1rem;
  margin: 0;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.intro-lead {
  font-size: clamp(1.1rem, 4vw, 1.25rem) !important;
  font-weight: 500;
  color: var(--color-choco) !important;
  line-height: 1.5;
  padding-left: 24px;
  padding-right: 24px;
}

.Leidenschaft {
  font-size: clamp(1.1rem, 4vw, 1.25rem) !important;
  font-weight: 500;
  color: var(--color-choco) !important;
  line-height: 1.5;
  padding-left: 24px;
  padding-right: 24px;
}

.erfüllen {
  font-size: clamp(1.1rem, 4vw, 1.25rem) !important;
  font-weight: 500;
  color: var(--color-choco) !important;
  line-height: 1.5;
  padding-left: 24px;
  padding-right: 24px;
}

.quality-highlight {
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(1.2rem, 3vw, 1.5rem);
  border-radius: var(--radius-base);
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-soft);
  margin: 1rem 1.5rem 0 1.5rem !important;
  font-size: clamp(0.95rem, 3.5vw, 1.05rem);
  line-height: 1.6;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .section--intro {
    padding: 5rem 0;
  }
  
  .quality-highlight {
    grid-column: 1 / -1;
    text-align: center;
    margin: 2rem 2rem 0 2rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
