/* ============================================
   Design & Print Collections — Design System
   ============================================ */

:root {
  --bg: #121212;
  --bg-elevated: #1a1a1a;
  --bg-card: #1c1b1b;
  --border: rgba(255, 255, 255, 0.08);

  --text-primary: #f4f1ec;
  --text-secondary: #a8a29a;
  --text-muted: #6f6a63;

  --accent: #b3352b;
  --accent-bright: #d1483c;
  --accent-soft: rgba(179, 53, 43, 0.14);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ============================================
   Header / Navigation
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.75rem 0;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), padding var(--dur) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-img {
  height: 112px;
  width: auto;
  display: block;
}

.logo-text strong { display: block; font-weight: 700; }
.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.6rem;
}

.main-nav a {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--dur) var(--ease);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.header-social a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur) var(--ease);
}

.header-social a:hover {
  transform: translateY(-2px) scale(1.06);
}

.header-social svg { width: 100%; height: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18,18,18,0.97) 0%, rgba(18,18,18,0.86) 32%, rgba(18,18,18,0.45) 58%, rgba(18,18,18,0.18) 100%),
    linear-gradient(0deg, rgba(18,18,18,0.9) 0%, rgba(18,18,18,0) 22%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1.75rem;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--accent-bright);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--text-primary);
}

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

.hero p.lead {
  margin-top: 1.75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 620px;
  font-weight: 300;
}

.hero-actions {
  margin-top: 2.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(179, 53, 43, 0.55);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.82rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 1;
}

.scroll-cue .line {
  width: 32px;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.scroll-cue .line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-bright);
  transform: translateX(-100%);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ============================================
   Section shared
   ============================================ */

section { padding: 7rem 0; position: relative; }

.section-head {
  max-width: 640px;
  margin-bottom: 3.5rem;
}

.section-head .eyebrow { animation: none; opacity: 1; margin-bottom: 1rem; }

.section-head h1,
.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
}

.section-head p {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 1.05rem;
}

.reveal {
  /* Initial state now handled by GSAP (js/main.js) so content
     stays visible if JavaScript fails to load. */
}

/* ============================================
   Highlights / Services
   ============================================ */

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.highlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(179, 53, 43, 0.4);
  background: #201d1c;
}

.highlight-media {
  overflow: hidden;
  line-height: 0;
  position: relative;
  aspect-ratio: 1 / 1;
}

.highlight-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(179, 53, 43, 0.12), rgba(15, 13, 13, 0.4) 85%);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--ease);
}

.highlight-card:hover .highlight-media img {
  transform: scale(1.06);
}

.highlight-body {
  padding: 1.6rem 1.75rem 2rem;
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--accent-bright);
  transition: transform var(--dur) var(--ease);
}

.highlight-card:hover .highlight-icon {
  transform: scale(1.08) rotate(-4deg);
}

.highlight-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.highlight-card p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 300;
}

/* ============================================
   Gallery preview strip
   ============================================ */

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

.gallery-item {
  aspect-ratio: 3/4;
  border-radius: 14px;
  background: linear-gradient(160deg, #232020, #171515);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--dur) var(--ease), transform 600ms var(--ease);
}

.gallery-item img.loaded { opacity: 1; }
.gallery-item:hover img { transform: scale(1.05); }

/* Workshop feature (large single image) */
.workshop-feature {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/8;
}

.workshop-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.workshop-feature:hover img { transform: scale(1.035); }

.workshop-feature .caption-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 2.25rem;
  background: linear-gradient(0deg, rgba(18,18,18,0.85) 0%, rgba(18,18,18,0.15) 55%, transparent 100%);
}

.workshop-feature .caption-overlay p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-primary);
  max-width: 480px;
}

@media (max-width: 700px) {
  .workshop-feature { aspect-ratio: 4/5; }
}

/* ============================================
   CTA band
   ============================================ */

.cta-band {
  background: linear-gradient(120deg, #1c1414, #171313);
  border-radius: 24px;
  padding: 4rem var(--gutter);
  text-align: center;
  border: 1px solid var(--border);
}

.cta-band h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.cta-band p { color: var(--text-secondary); margin-top: 1rem; font-weight: 300; }
.cta-band .btn { margin-top: 2rem; }

/* ============================================
   Footer
   ============================================ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-grid a, .footer-grid p {
  display: block;
  margin-bottom: 0.6rem;
  transition: color var(--dur) var(--ease);
}

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

.social-row { display: flex; gap: 0.85rem; margin-top: 1rem; }
.social-row a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--dur) var(--ease);
}
.social-row a:hover {
  transform: translateY(-3px) scale(1.06);
}
.social-row svg { width: 100%; height: 100%; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a:hover { color: var(--text-secondary); }

/* ============================================
   Dienstleistungen (Services) page
   ============================================ */

.service-row {
  margin-bottom: 3.5rem;
}

.service-row:last-child { margin-bottom: 0; }

.service-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  position: relative;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.service-row:hover .service-media img {
  transform: scale(1.035);
}

.service-caption {
  margin-top: 1.25rem;
  max-width: 640px;
  color: var(--text-secondary);
  font-weight: 300;
  font-size: 1.05rem;
}

.service-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

@media (max-width: 700px) {
  .service-media { aspect-ratio: 4/3; }
}

/* ============================================
   Über uns page
   ============================================ */

.about-intro {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-intro .lead-text {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.85;
}

.about-photo {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}

.about-photo:hover img { transform: scale(1.04); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 16/9; order: -1; }
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Galerie page
   ============================================ */

.gallery-category {
  margin-bottom: 4.5rem;
}

.gallery-category:last-child {
  margin-bottom: 0;
}

.gallery-category-title {
  font-size: 1.6rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gallery-category-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.gallery-grid {
  columns: 5 220px;
  column-gap: 1rem;
}

.gallery-tile {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
  position: relative;
  line-height: 0;
  break-inside: avoid;
  margin-bottom: 1rem;
  display: block;
  width: 100%;
}

.gallery-tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 500ms var(--ease);
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 9, 9, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  cursor: zoom-out;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 92vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .gallery-grid { columns: 3 180px; }
}

@media (max-width: 620px) {
  .gallery-grid { columns: 2 150px; }
}

/* ============================================
   Partner logos
   ============================================ */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.partner-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.partner-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(179, 53, 43, 0.4);
}

.partner-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 960px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-tile { height: 190px; }
}

@media (max-width: 560px) {
  .partner-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Kontakt page
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-item a {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-primary);
  transition: color var(--dur) var(--ease);
}

.contact-item a:hover { color: var(--accent-bright); }

.google-badge {
  margin-top: 0.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.google-badge .stars {
  color: #e3b341;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.google-badge strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.map-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 380px;
  filter: grayscale(0.15) contrast(1.05);
}

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 320px; }
}

/* ============================================
   Contact form
   ============================================ */

.contact-form-wrap {
  margin-top: 4.5rem;
  max-width: 640px;
}

.reviews-section {
  margin-top: 4.5rem;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.form-field input,
.form-field textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--dur) var(--ease);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
}

.contact-form .btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none !important;
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status.is-success { color: #6fbf73; }
.form-status.is-error { color: var(--accent-bright); }

/* Honeypot — visuell versteckt, für Screenreader/Bots aber im DOM */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .logo-img { height: 72px; }
  .header-social { display: none; }
  .katalog-btn { padding: 0.5rem 1rem; font-size: 0.78rem; }
  .highlights-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .logo-img { height: 60px; }
  .logo { gap: 0.5rem; }
}

@media (max-width: 520px) {
  section { padding: 4.5rem 0; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Reduced motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
