/*
 * ============================================================
 *  STYLE — The Tan Lines
 *  Lädt colors-dark.css (default) oder colors-light.css
 *  Alle Farben ausschließlich über CSS-Variablen
 * ============================================================
 */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--bg);
  /* Subtle grain texture via SVG data URI */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  overflow-x: hidden;
}

/* Warm vignette overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%,   var(--vignette-a) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, var(--vignette-b) 0%, transparent 60%);
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t), background-color var(--t), border-color var(--t), transform var(--t);
}

button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

button, a, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible, button:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--r-sm);
}

p { max-width: 68ch; color: var(--text-body); }

/* Display / heading font */
h1, h2, h3,
.brand-name, .display {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: .03em;
  line-height: .95;
  color: var(--text);
  text-transform: uppercase;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-xl); margin-bottom: .9rem; }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.5rem); margin-bottom: .5rem; }

/* ========================================
   NON-COLOR VARIABLES (Spacing, Type, Radii …)
   ======================================== */
:root {
  /* Spacing & Layout */
  --max:        1240px;
  --header-h:   76px;
  --section-py: clamp(4rem, 8vw, 7rem);

  /* Radii */
  --r-sm:  8px;
  --r-md:  16px;
  --r-lg:  26px;
  --r-pill:999px;

  /* Shadows */
  --shadow:     0 20px 50px rgba(0,0,0,.45);
  --shadow-sm:  0 6px 20px rgba(0,0,0,.28);

  /* Typography scale */
  --fs-xs:   clamp(.72rem,  .7rem  + .15vw, .85rem);
  --fs-sm:   clamp(.88rem,  .84rem + .2vw,  1rem);
  --fs-base: clamp(.98rem,  .93rem + .25vw, 1.1rem);
  --fs-lg:   clamp(1.1rem,  .95rem + .7vw,  1.4rem);
  --fs-xl:   clamp(1.7rem,  1.1rem + 2vw,   3rem);
  --fs-hero: clamp(3rem,    2rem   + 4.5vw, 5.8rem);

  /* Transitions */
  --t:      200ms ease;
  --t-slow: 380ms ease;
}

/* ========================================
   ACCESSIBILITY HELPERS
   ======================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100%; z-index: 200;
  padding: .85rem 1.2rem; background: var(--accent); color: var(--accent-ink);
  border-radius: var(--r-md); font-weight: 700; font-size: var(--fs-sm);
}
.skip-link:focus { top: 1rem; }

/* ========================================
   LAYOUT / CONTAINERS
   ======================================== */
.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.section {
  padding: var(--section-py) 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.016));
  border-block: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  opacity: .75;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  min-width: 48px;
  padding: .9rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: "DM Sans", sans-serif;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: transform var(--t), background-color var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
  cursor: pointer;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 4px 16px var(--accent-dim);
}
.btn-primary:hover {
  background: var(--text-soft);
  box-shadow: 0 6px 24px var(--accent-dim);
}

.btn-secondary {
  background: rgba(255,255,255,.07);
  border-color: var(--line);
  color: var(--text-soft);
}
.btn-secondary:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-press {
  width: 100%;
  justify-content: space-between;
  background: rgba(255,255,255,.06);
  border-color: var(--line);
  color: var(--text-soft);
}
.btn-press:hover {
  border-color: var(--accent-dim);
  color: var(--accent);
  background: var(--accent-dim);
}

/* ========================================
   SHARED CARD BASE
   ======================================== */
.bio-card, .feature-card, .video-card,
.press-card, .release-card, .press-kit,
.gig-item, .contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.bio-card, .press-kit, .contact-card {
  border-radius: var(--r-lg);
  padding: 2rem;
}

.feature-card {
  border-radius: var(--r-md);
  padding: 1.4rem;
}

.release-card, .video-card, .press-card {
  overflow: hidden;
  border-radius: var(--r-lg);
}

.release-body, .card-body { padding: 1.15rem 1.25rem; }

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 99;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Logo links, Nav rechts bündig */
.nav > nav { justify-self: end; }

.logo {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-height: 48px;
  text-decoration: none;
}

/* Logo mark: conic badge */
.logo-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 215deg, var(--accent) 0%, var(--text-soft) 40%, var(--bg-mid) 70%, var(--accent) 100%);
  color: var(--accent-ink);
  box-shadow: 0 3px 14px var(--accent-dim);
  transform: rotate(-8deg);
  flex-shrink: 0;
  transition: transform var(--t);
}
.logo:hover .logo-mark { transform: rotate(0deg) scale(1.05); }
.logo-mark svg { width: 30px; height: 30px; }

.brand-name { font-size: 1.3rem; letter-spacing: .06em; }
.brand-tag {
  display: block;
  color: var(--text-muted);
  font-family: "DM Sans", sans-serif;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.35rem;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
  transition: background var(--t), border-color var(--t);
}
.menu-toggle:hover { background: var(--accent-dim); border-color: var(--accent-dim); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--t);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* ---- Theme Toggle Button ---- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .35rem .85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--t), background var(--t), color var(--t);
  white-space: nowrap;
  min-height: 36px;
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.theme-toggle .toggle-icon { font-size: 1rem; line-height: 1; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(170deg, var(--accent-dim) 0%, transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .88fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy p { font-size: var(--fs-lg); color: var(--text-body); }

.hero-eyebrow {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.hero-eyebrow span {
  display: inline-block;
  padding: .25rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
}

h1 { margin-bottom: 1rem; }

.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* Poster image */
.poster {
  position: relative;
  min-height: 580px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(10,26,27,.15) 0%, rgba(10,26,27,.55) 100%),
    url("https://thetanlines.com/images/TheTanLines2025-09-03-a.jpg") center/contain no-repeat;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Corner accent line */
.poster::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .6;
}

/* ========================================
   TAG GRID (hero stats)
   ======================================== */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
  margin-top: 1.8rem;
}

.tag-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1rem;
  transition: border-color var(--t), background var(--t);
}
.tag-card:hover {
  border-color: var(--accent-dim);
  background: var(--accent-dim);
}

.tag-card strong {
  display: block;
  margin-bottom: .4rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.25rem;
  color: var(--accent);
  line-height: 1;
  letter-spacing: .04em;
}

.tag-card span { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.55; }

/* ========================================
   SPLIT / FEATURE GRID
   ======================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.feature-card {
  transition: border-color var(--t), transform var(--t);
}
.feature-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}
.feature-card .eyebrow {
  font-size: 1.9rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: .04em;
  opacity: .25;
  margin-bottom: .5rem;
  color: var(--accent);
}

/* ========================================
   LISTS
   ======================================== */
.bullet-list {
  list-style: none;
  display: grid;
  gap: .7rem;
  margin-top: 1rem;
}

.bullet-list li {
  display: flex;
  gap: .7rem;
  color: var(--text-body);
  font-size: var(--fs-sm);
}

.bullet-list li::before {
  content: "✦";
  color: var(--accent);
  margin-top: .06rem;
  flex-shrink: 0;
}

/* ========================================
   RELEASES GRID
   ======================================== */
.release-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.release-art {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: rgba(0,0,0,.2);
  transition: transform var(--t-slow);
}
.release-card:hover .release-art { transform: scale(1.025); }

/* ========================================
   GIGS SECTION
   ======================================== */
.gig-list {
  display: grid;
  gap: .85rem;
  margin-top: 2rem;
}

.gig-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.5rem;
  border-radius: var(--r-lg);
  transition: border-color var(--t), background var(--t);
}
.gig-item:hover {
  border-color: var(--accent-dim);
  background: var(--accent-dim);
}

.gig-date {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  line-height: 1.05;
  color: var(--accent);
  letter-spacing: .04em;
}

.gig-meta strong { display: block; color: var(--text); font-family: "Bebas Neue", sans-serif; font-size: 1.2rem; letter-spacing: .04em; }
.gig-meta span   { color: var(--text-muted); font-size: var(--fs-sm); }

/* ========================================
   VIDEO SECTION
   ======================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.video-thumb:hover img { transform: scale(1.04); }

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.42) 100%);
  transition: background var(--t);
}
.video-thumb:hover .video-overlay,
.video-thumb:focus-visible .video-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.28) 100%);
}

.video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 28px rgba(0,0,0,.4), 0 0 0 0 var(--accent-dim);
  transition: transform var(--t), box-shadow var(--t);
}
.video-thumb:hover .video-play {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(0,0,0,.5), 0 0 0 8px var(--accent-dim);
}

.video-play svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  margin-left: 4px;
}

/* ========================================
   PRESSKIT SECTION
   ======================================== */
.press-kit-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.5rem;
  align-items: start;
}

.download-list { display: grid; gap: .8rem; }

.mini-note {
  margin-top: .9rem;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.press-card img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.press-card:hover img { transform: scale(1.03); }

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1rem;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-card-2);
  border: 1px solid var(--line);
  transition: transform var(--t), border-color var(--t), background var(--t);
}
.social-link:hover, .social-link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent-dim);
  background: var(--accent-dim);
  color: var(--accent);
}
.social-link svg { width: 22px; height: 22px; fill: currentColor; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.14);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  color: var(--text-muted);
  font-size: var(--fs-xs);
  letter-spacing: .06em;
}

.footer-meta em {
  font-style: italic;
  color: var(--accent);
  opacity: .7;
}

/* ========================================
   SCROLL-REVEAL ANIMATION
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (max-width: 980px) {
  .hero-grid,
  .split,
  .tag-grid,
  .feature-grid,
  .release-grid,
  .video-grid,
  .press-grid,
  .press-kit-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gig-item { grid-template-columns: 1fr; align-items: start; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .menu-toggle { display: inline-flex; }

  nav { position: relative; }

  .nav-links {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    padding: 1rem;
    background: var(--nav-bg);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

  .nav-links.open { display: flex; }
  .nav-links a    { width: 100%; min-height: 48px; }

  .poster { min-height: 440px; }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .container { width: min(calc(100% - 1.25rem), var(--max)); }
  .brand-tag { font-size: .68rem; }
  .bio-card, .press-kit, .contact-card { padding: 1.25rem; }
  .video-play { width: 58px; height: 58px; }
  .video-play svg { width: 24px; height: 24px; }
  .release-art, .press-card img { height: 220px; }
  .gig-item { padding: 1rem; }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
