/* ============================================================
   inspiredbyfaith.de — Styles
   Heike Ilchmann-Ruggaber, Christliche Künstlerin
   Kastl-Media / siteklar.de
   ============================================================ */

/* -- CSS CUSTOM PROPERTIES -- */
:root {
  --color-primary: #2ABFBF;
  --color-teal: #1A7A7A;
  --color-bg-light: #FDF8F0;
  --color-bg-alt: #E8F6F6;
  --color-text: #3D3D3D;
  --color-white: #FFFFFF;
  --color-gold: #D4A843;
  --font-heading: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Segoe UI', Tahoma, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* -- RESET & BASE -- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

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

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; margin-bottom: 1rem; }
h3 { font-size: 1.375rem; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
  max-width: 72ch;
}

blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--color-teal);
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--color-primary);
  margin: 2rem 0;
  max-width: 65ch;
}

/* -- SKIP LINK -- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-teal);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
  color: var(--color-white);
  outline: 3px solid var(--color-gold);
}

/* -- LAYOUT -- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 4rem 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  margin: 0.75rem auto 0;
  color: var(--color-text);
  opacity: 0.85;
}

/* -- HEADER & NAVIGATION -- */
.header {
  position: sticky;
  top: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-teal);
  letter-spacing: 0.02em;
}

.logo-text::before {
  content: "✦";
  color: var(--color-gold);
  margin-right: 0.4rem;
  font-size: 0.9rem;
}

#main-nav ul {
  display: flex;
  gap: 0.25rem;
}

#main-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

#main-nav a:hover,
#main-nav a:focus {
  color: var(--color-teal);
  background: var(--color-bg-alt);
}

#main-nav a[aria-current="page"] {
  color: var(--color-teal);
  background: var(--color-bg-alt);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger:focus {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-teal);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* -- HERO -- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(135deg,
    #0f4f4f 0%,
    #1A7A7A 20%,
    #2ABFBF 45%,
    #3dd4d4 55%,
    #2ABFBF 70%,
    #1A7A7A 85%,
    #0f4f4f 100%
  );
  background-size: 300% 300%;
  animation: heroGradient 12s ease infinite;
}

@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Decorative brush strokes */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(212,168,67,0.15) 0%, transparent 70%);
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  animation: blobFloat 8s ease-in-out infinite;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 50%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
  animation: blobFloat 10s ease-in-out infinite reverse;
  z-index: 1;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(20px, -15px) rotate(3deg); }
  66%      { transform: translate(-10px, 10px) rotate(-2deg); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-atelier.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(15, 60, 60, 0.15) 50%,
    rgba(15, 79, 79, 0.4) 100%
  );
  z-index: 0;
}

/* Decorative paint dots */
.hero-dots {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: dotDrift 20s ease-in-out infinite;
}

.hero-dot:nth-child(1) {
  width: 120px; height: 120px;
  background: var(--color-gold);
  top: 10%; left: 5%;
  animation-delay: 0s;
  animation-duration: 18s;
}

.hero-dot:nth-child(2) {
  width: 80px; height: 80px;
  background: var(--color-white);
  top: 20%; right: 10%;
  animation-delay: -4s;
  animation-duration: 22s;
}

.hero-dot:nth-child(3) {
  width: 160px; height: 160px;
  background: var(--color-gold);
  bottom: 15%; left: 15%;
  animation-delay: -8s;
  animation-duration: 25s;
  opacity: 0.08;
}

.hero-dot:nth-child(4) {
  width: 60px; height: 60px;
  background: var(--color-white);
  top: 60%; right: 20%;
  animation-delay: -12s;
  animation-duration: 19s;
}

.hero-dot:nth-child(5) {
  width: 200px; height: 200px;
  background: #1A7A7A;
  bottom: 5%; right: 5%;
  animation-delay: -6s;
  animation-duration: 28s;
  opacity: 0.06;
}

@keyframes dotDrift {
  0%, 100% { transform: translate(0, 0); }
  25%      { transform: translate(30px, -20px); }
  50%      { transform: translate(-15px, 25px); }
  75%      { transform: translate(20px, 10px); }
}

/* Gold accent line at hero bottom */
.hero-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-gold) 20%,
    var(--color-gold) 80%,
    transparent 100%
  );
  z-index: 3;
  opacity: 0.7;
}

/* Wave divider after hero */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2.5rem;
  max-width: 720px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero h1 {
  font-size: 3.25rem;
  color: var(--color-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
  line-height: 1.1;
  letter-spacing: -0.01em;
  animation: heroTextIn 1s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes heroTextIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 .gold-accent {
  color: var(--color-gold);
  font-style: italic;
}

.hero-subline {
  font-size: 1.2rem;
  color: var(--color-white);
  opacity: 0;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
  animation: heroTextIn 1s ease 0.3s forwards;
  transform: translateY(20px);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: heroTextIn 1s ease 0.6s forwards;
  transform: translateY(20px);
}

/* -- BUTTONS -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
}

.btn:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background: #156363;
  border-color: #156363;
  color: var(--color-white);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-ghost:hover,
.btn-ghost:focus {
  background: var(--color-white);
  color: var(--color-teal);
}

.btn-teal-ghost {
  background: transparent;
  color: var(--color-teal);
  border-color: var(--color-teal);
}

.btn-teal-ghost:hover,
.btn-teal-ghost:focus {
  background: var(--color-teal);
  color: var(--color-white);
}

/* -- GALLERY TEASER (Homepage) -- */
.gallery-teaser-section {
  padding: 4rem 0;
}

.gallery-teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-teaser-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-teaser-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 10 / 7;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-teaser-item:first-child img {
  aspect-ratio: 20 / 14;
}

.gallery-teaser-item:first-child {
  grid-column: 1 / -1;
}

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

.gallery-teaser-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,122,122,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.gallery-teaser-overlay h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.gallery-teaser-overlay p {
  color: var(--color-white);
  opacity: 0.9;
  font-size: 0.9rem;
  margin: 0;
}

/* -- SECTION DIVIDERS (Wave / Paint stroke) -- */
.section-wave {
  position: relative;
  margin-top: -1px;
  line-height: 0;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

.section-wave-up svg {
  transform: scaleY(-1);
}

/* -- STATEMENT / BOTSCHAFT -- */
.statement-section {
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.statement-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(42,191,191,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.statement-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--color-teal);
  max-width: 55ch;
  margin: 0 auto;
  border: none;
  padding: 0;
}

/* Gold decorative line below quote */
.statement-divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 2rem auto 0;
  opacity: 0.6;
}

/* -- SERVICES / ANGEBOTE -- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-primary);
  transform: scaleY(0);
  transition: transform var(--transition);
  transform-origin: bottom;
}

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

.service-card:hover::before {
  transform: scaleY(1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--color-primary);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0;
}

/* -- TESTIMONIALS -- */
.testimonials-section {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-item::before {
  content: "\201E";
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-teal);
  font-size: 0.95rem;
}

/* -- CTA SECTION -- */
.cta-section {
  background: linear-gradient(135deg, var(--color-teal) 0%, #2ABFBF 50%, var(--color-teal) 100%);
  background-size: 200% 200%;
  animation: ctaShimmer 8s ease infinite;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(212,168,67,0.1) 0%, transparent 60%);
  transform: rotate(-15deg);
  pointer-events: none;
}

@keyframes ctaShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--color-white);
  opacity: 0.9;
  margin: 0 auto 2rem;
}

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

.cta-section .btn:hover,
.cta-section .btn:focus {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}

/* -- GALLERY PAGE -- */
.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  background: var(--color-white);
  border: 2px solid var(--color-bg-alt);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 44px;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-teal);
}

.filter-btn:focus {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

.filter-btn[aria-pressed="true"] {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}

.gallery-status {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.gallery-item img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item-info {
  padding: 1rem 1.25rem;
}

.gallery-item-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.gallery-item-info p {
  font-size: 0.875rem;
  color: var(--color-text);
  opacity: 0.75;
  margin: 0;
}

.gallery-item:focus-within {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

/* -- LIGHTBOX (JS-generated: .lightbox-overlay) -- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  width: 95vw;
  max-width: 1100px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: scale(0.92);
  transition: transform 0.3s ease;
  z-index: 1;
}

.lightbox-overlay.is-visible .lightbox-content {
  transform: scale(1);
}

.lightbox-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1a1a;
  min-height: 200px;
}

.lightbox-image {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.lightbox-info {
  padding: 1.5rem 2rem;
}

.lightbox-info h2,
.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-teal);
  margin: 0 0 0.5rem 0;
}

.lightbox-meta,
.lightbox-inspiration,
.lightbox-price {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0 0 0.3rem 0;
  max-width: none;
}

.lightbox-info .label {
  font-weight: 600;
  color: var(--color-teal);
}

/* Close button (SVG icon) */
.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  color: var(--color-text);
}

.lightbox-close:hover {
  background: var(--color-bg-alt);
  transform: scale(1.05);
}

.lightbox-close:focus {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

/* Prev / Next buttons */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  z-index: 10;
  color: var(--color-text);
}

.lightbox-prev { left: 0.75rem; }
.lightbox-next { right: 0.75rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--color-bg-alt);
  transform: translateY(-50%) scale(1.05);
}

.lightbox-prev:focus,
.lightbox-next:focus {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

/* Fallback: also support old .lightbox classes */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.9);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

/* -- ABOUT PAGE -- */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Großer Wasserfarben-Blob oben rechts — Türkis */
.about-shape--1 {
  width: 550px;
  height: 550px;
  top: -100px;
  right: -80px;
  background: radial-gradient(ellipse at 40% 40%, rgba(42, 191, 191, 0.25) 0%, rgba(42, 191, 191, 0.10) 50%, transparent 72%);
  filter: blur(40px);
  animation: aboutFloat1 14s ease-in-out infinite;
}

/* Kleinerer Blob links mittig — Teal */
.about-shape--2 {
  width: 400px;
  height: 400px;
  top: 35%;
  left: -60px;
  background: radial-gradient(ellipse at 60% 30%, rgba(26, 122, 122, 0.22) 0%, rgba(26, 122, 122, 0.08) 55%, transparent 72%);
  filter: blur(35px);
  animation: aboutFloat2 18s ease-in-out infinite;
}

/* Goldener Akzent — Pinselstrich-ähnlich */
.about-shape--3 {
  width: 320px;
  height: 320px;
  bottom: 8%;
  right: 3%;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 168, 67, 0.20) 0%, rgba(212, 168, 67, 0.06) 50%, transparent 72%);
  filter: blur(30px);
  animation: aboutFloat3 16s ease-in-out infinite;
}

/* Großer Blob unten links — Türkis */
.about-shape--4 {
  width: 650px;
  height: 650px;
  bottom: -180px;
  left: -120px;
  background: radial-gradient(ellipse at 60% 60%, rgba(42, 191, 191, 0.18) 0%, rgba(42, 191, 191, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  animation: aboutFloat2 20s ease-in-out infinite;
}

/* Kleiner Akzent oben links — Gold */
.about-shape--5 {
  width: 220px;
  height: 220px;
  top: 50px;
  left: 8%;
  background: radial-gradient(ellipse at 50% 50%, rgba(212, 168, 67, 0.18) 0%, transparent 68%);
  filter: blur(25px);
  animation: aboutFloat1 12s ease-in-out infinite;
}

/* Content über den Shapes */
.about-section > .container {
  position: relative;
  z-index: 1;
}

@keyframes aboutFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -35px) scale(1.06); }
  66% { transform: translate(-20px, 20px) scale(0.94); }
}

@keyframes aboutFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, 25px) scale(1.08); }
}

@keyframes aboutFloat3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  40% { transform: translate(25px, -30px) rotate(5deg); }
  80% { transform: translate(-15px, 18px) rotate(-3deg); }
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-values {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.about-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--color-bg-alt);
  border-radius: 50px;
  font-weight: 600;
  color: var(--color-teal);
  font-size: 0.95rem;
}

/* -- EVENTS / AUSSTELLUNGEN -- */
.events-section {
  padding: 4rem 0;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition);
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
}

.event-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card-body {
  padding: 1.5rem 2rem 2rem;
}

.event-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--color-teal);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--color-teal);
  font-weight: 600;
}

.event-card-body > p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  opacity: 0.85;
  max-width: none;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-teal);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.event-link:hover {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .event-card {
    grid-template-columns: 1fr 1fr;
  }

  .event-card-image {
    aspect-ratio: auto;
    min-height: 280px;
  }
}

/* -- ANGEBOTE PAGE -- */
.angebote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.angebot-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.angebot-card.featured {
  border: 2px solid var(--color-primary);
}

.angebot-card.featured::after {
  content: "Empfehlung";
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.25rem 3rem;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.angebot-card h3 {
  margin-bottom: 0.5rem;
}

.angebot-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin: 0;
}

/* -- CONTACT FORM -- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color var(--transition);
  min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(26,122,122,0.15);
}

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

.form-error {
  font-size: 0.85rem;
  color: #C62828;
  margin-top: 0.25rem;
  display: none;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #C62828;
}

.form-group.has-error .form-error {
  display: block;
}

.checkbox-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--color-teal);
}

.checkbox-group label {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
}

.contact-info {
  padding: 2rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--color-teal);
}

.form-success {
  background: #E8F5E9;
  color: #2E7D32;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-success.visible {
  display: block;
}

/* -- FOOTER -- */
.footer {
  background: var(--color-teal);
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand .footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0;
}

.footer h3 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer ul li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: var(--color-white);
  opacity: 0.8;
  font-size: 0.95rem;
  transition: opacity var(--transition);
}

.footer a:hover,
.footer a:focus {
  opacity: 1;
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-bottom p {
  margin: 0 0 0.35rem 0;
  max-width: none;
}

.footer-credit {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

.footer-credit a {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 2px;
  opacity: 0.8;
}

.footer-credit a:hover {
  opacity: 1;
}

.footer-cookie-note {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.8;
}

.footer-cookie-note::before {
  content: "\2714";
  color: var(--color-gold);
  font-size: 0.85rem;
}

/* -- LEGAL PAGES -- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  margin-bottom: 0.35rem;
}

/* -- ANIMATIONS -- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for gallery items */
.gallery-item.fade-in:nth-child(2) { transition-delay: 0.05s; }
.gallery-item.fade-in:nth-child(3) { transition-delay: 0.1s; }
.gallery-item.fade-in:nth-child(4) { transition-delay: 0.15s; }
.gallery-item.fade-in:nth-child(5) { transition-delay: 0.2s; }
.gallery-item.fade-in:nth-child(6) { transition-delay: 0.25s; }

/* -- FOCUS STYLES -- */
*:focus {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

/* -- RESPONSIVE: TABLET (768px) -- */
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .services-grid,
  .angebote-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-teaser {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-teaser-item:first-child {
    grid-column: 1 / -1;
  }

  .about-layout {
    grid-template-columns: 1fr 1fr;
  }

  .contact-layout {
    grid-template-columns: 1.5fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* -- RESPONSIVE: DESKTOP (1024px) -- */
@media (min-width: 1024px) {
  h1 { font-size: 3rem; }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-subline {
    font-size: 1.3rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid,
  .angebote-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-teaser {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-teaser-item:first-child {
    grid-column: 1 / -1;
  }
}

/* -- RESPONSIVE: MOBILE NAV -- */
@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  #main-nav {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    overflow-y: auto;
    z-index: 999;
  }

  #main-nav.open {
    right: 0;
  }

  #main-nav ul {
    flex-direction: column;
    padding: 1.5rem;
    gap: 0;
  }

  #main-nav a {
    padding: 1rem;
    border-bottom: 1px solid var(--color-bg-alt);
  }

  .hero {
    min-height: 85vh;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-subline {
    font-size: 1.05rem;
  }
}

/* -- PRINT STYLES -- */
/* -- Reduced Motion -- */
@media (prefers-reduced-motion: reduce) {
  .about-shape { animation: none !important; }
}

@media print {
  .header,
  .footer,
  .hamburger,
  .hero-ctas,
  .lightbox,
  .gallery-filters,
  .cta-section,
  .contact-form .btn,
  .skip-link {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
  }

  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
