/* ==========================================================================
   DJ-Homepage – Basis-Stylesheet
   Anpassbare Werte oben in :root definiert (Farben, Schrift, Abstände)
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f1e8;        /* Creme – CI-Hintergrundfarbe */
  --color-bg-dark: #123a3d;       /* abgeleitet aus Petrol, für dunkle Flächen */
  --color-text: #262626;          /* CI Dunkelgrau */
  --color-text-muted: #8a8a8a;    /* CI Grau */
  --color-accent: #146b70;        /* CI Petrol (Primär) */
  --color-accent-dark: #0f4d51;
  --color-accent-2: #e0714a;      /* CI Koralle (Akzent) */
  --color-border: #e6e1d4;
  --font-base: 'Inter', system-ui, -apple-system, Roboto, sans-serif;
  --font-display: 'Inter', 'Montserrat', system-ui, sans-serif;
  --max-width: 1140px;
  --radius: 10px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  scroll-behavior: smooth;
}

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

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-dark); }

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

/* --- Header / Navigation --- */
header.site-header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon-img {
  width: 40px;
  height: 40px;
  display: block;
  flex: none;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-kicker {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 3px;
}
.logo-word {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-text);
}
.logo-word .petrol { color: var(--color-accent); }
.logo-word .sep {
  width: 2px;
  height: 13px;
  background: var(--color-accent-2);
  border-radius: 1px;
  display: inline-block;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
nav a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}
nav a:hover { color: var(--color-accent); }
nav a.btn { color: #fff; }
nav a.btn:hover { color: #fff; }

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

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: 20px 24px;
    display: none;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 12px 24px rgba(36,31,54,0.08);
  }
  nav ul.open { display: flex; }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 0;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(28,23,48,0.82) 0%, rgba(28,23,48,0.45) 45%, rgba(28,23,48,0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 70px 24px 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  color: #fff;
}
.eyebrow {
  display: inline-block;
  color: #fff;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-2));
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 14px;
  max-width: 720px;
}
.hero p.subtitle {
  color: rgba(255,255,255,0.88);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(124,58,237,0.25);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(124,58,237,0.35); color: #fff; }
.btn-outline {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #fff;
  box-shadow: none;
}
.btn-outline:hover { background: rgba(255,255,255,0.18); color: #fff; }

/* --- Sections --- */
section { padding: 76px 0; }
section.alt { background: var(--color-bg-alt); }
section.dark {
  background: var(--color-bg-dark);
  color: #fff;
}
section.dark .section-intro { color: rgba(255,255,255,0.7); }

.section-head { max-width: 680px; margin-bottom: 44px; }
.kicker {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.section-intro {
  color: var(--color-text-muted);
  max-width: 680px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 30px; }
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(36,31,54,0.10); }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card .card-body { padding: 24px; }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { color: var(--color-text-muted); margin: 0; font-size: 0.97rem; }

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 10px;
}
@media (max-width: 700px) { .feature-list { grid-template-columns: 1fr; } }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature-item h4 { margin: 0 0 4px; font-size: 1.02rem; }
.feature-item p { margin: 0; color: var(--color-text-muted); font-size: 0.94rem; }

.rounded-photo { border-radius: var(--radius); overflow: hidden; }
.rounded-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid a { display: block; border-radius: var(--radius); overflow: hidden; }
.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery-grid a:hover img { transform: scale(1.05); }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .gallery-grid { grid-template-columns: 1fr; } }

/* --- Bild-Platzhalter (Fallback, falls noch kein Bild vorhanden) --- */
.img-placeholder {
  background: repeating-linear-gradient(45deg, #eee 0 10px, #f6f4fa 10px 20px);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  min-height: 220px;
  text-align: center;
  padding: 10px;
}

/* --- CTA-Band --- */
.cta-band {
  background: linear-gradient(120deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }

/* --- FAQ --- */
details.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
}
details.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.3rem;
}
details.faq-item[open] summary::after { content: "–"; }
details.faq-item p { color: var(--color-text-muted); margin-top: 12px; }

/* --- Kontaktformular --- */
form.contact-form {
  max-width: 600px;
}
form.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}
form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: 2px solid var(--color-accent);
  border-color: var(--color-accent);
}
.consent-line { font-size: 0.85rem; color: var(--color-text-muted); }
.consent-line input { width: auto; margin-right: 8px; }

.honeypot-field { position: absolute; left: -9999px; }

.form-status {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-weight: 600;
}
.form-status.success { background: #e9f9f3; border: 1px solid var(--color-accent-2); color: #0f7a67; }
.form-status.error { background: #fdeceb; border: 1px solid #e0453a; color: #b3261e; }

/* --- Footer --- */
footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  background: var(--color-bg-alt);
}
footer .footer-links { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 6px; }
footer a { color: var(--color-text-muted); }
footer a:hover { color: var(--color-accent); }

/* --- Social- & Kontakt-Icons --- */
.social-icons {
  display: flex;
  gap: 14px;
  margin: 16px 0;
}
.social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-border);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.social-icons a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.social-icons svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.social-icons a:hover svg { stroke: #fff; }

.contact-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0 36px;
}
.contact-quicklinks a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}
.contact-quicklinks a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.contact-quicklinks svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
