/* =========================================================
   Fred Bertelmann – FB_2026
   Visual style: German Agfacolor Schlagerfilm 1958
   "Der lachende Vagabund" – sun-drenched, vivid, cheerful
   Palette: sky-blue, sunny yellow, warm white, coral/red,
            meadow-green, sand — all slightly warm & saturated
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Josefin+Sans:wght@300;400;600;700&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Agfacolor film palette */
  --sky:        #5BAAD6;    /* Bavarian summer sky blue */
  --sky-deep:   #2A6FA8;    /* deeper sky / shadow blue */
  --sky-pale:   #D6ECFA;    /* pale sky / light tint */
  --yellow:     #F5C842;    /* sunny meadow yellow */
  --yellow-pale:#FEF3C0;    /* pale straw / background warm white */
  --coral:      #D94F38;    /* costume red / Dirndl coral */
  --coral-dark: #A8301C;    /* deeper red */
  --green:      #5A9E5A;    /* Alpenwiese grass green */
  --green-pale: #DCF0DC;    /* pale meadow green */
  --sand:       #F2E4C4;    /* sand / warm white */
  --white:      #FDFAF4;    /* warm film white */
  --ink:        #1C2B3A;    /* deep blue-black (title ink) */
  --ink-mid:    #3A5068;    /* caption / muted text */
  --ink-lt:     #6A8FAA;    /* light muted text */

  --font-head: 'Josefin Sans', 'Gill Sans', 'Century Gothic', sans-serif;
  --font-deco: 'Lobster', 'Brush Script MT', cursive;
  --font-body: 'Lora', Georgia, 'Times New Roman', serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--sand);
  background-image:
    /* subtle warm sunlight gradient from top */
    linear-gradient(180deg, var(--sky-pale) 0%, var(--sand) 280px);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  min-height: 100vh;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--sky-deep);
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.6em; }
h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5em; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4em; }
h4 { font-size: 1rem;  font-weight: 600; margin-bottom: 0.3em; color: var(--ink-mid); }

p { margin-bottom: 1em; text-align: justify; }
p:last-child { margin-bottom: 0; }

a { color: var(--coral-dark); text-decoration: none; }
a:hover { color: var(--sky-deep); text-decoration: underline; }

strong, b { font-weight: 600; }
em, i { font-style: italic; }
small { font-size: 0.85em; color: var(--ink-mid); }

/* ── Drop Cap ── */
.dropcap {
  float: left;
  font-family: var(--font-deco);
  font-size: 4rem;
  line-height: 0.78;
  color: var(--coral);
  margin-right: 0.06em;
  margin-top: 0.1em;
}

/* ── Layout Wrappers ── */
.page-wrapper {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.content-section {
  background: var(--white);
  border-radius: 3px;
  border-top: 4px solid var(--sky);
  border-bottom: 4px solid var(--yellow);
  box-shadow: 0 2px 12px rgba(42,111,168,0.10);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
}

/* ── Navigation ── */
.site-header {
  background: var(--sky-deep);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 3px 12px rgba(42,111,168,0.40);
}

/* Diagonal stripe accent at very top */
.site-header::before {
  content: '';
  display: block;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--yellow)  0px,
    var(--yellow)  20px,
    var(--coral)   20px,
    var(--coral)   40px,
    var(--sky)     40px,
    var(--sky)     60px,
    var(--green)   60px,
    var(--green)   80px
  );
}

.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.site-title {
  font-family: var(--font-deco);
  color: var(--yellow);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.35);
}
.site-title:hover { color: var(--white); text-decoration: none; }

.site-subtitle {
  font-family: var(--font-body);
  font-style: italic;
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: absolute;
  top: 0.7rem;
  right: 1.2rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--yellow);
  border-radius: 1px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 0 1.2rem;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
  text-decoration: none;
}

/* ── Page Hero Banner ── */
.page-hero {
  background: var(--sky);
  background-image: linear-gradient(135deg, var(--sky-deep) 0%, var(--sky) 60%, #7DC4E8 100%);
  text-align: center;
  padding: 2.8rem 1.5rem 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
/* decorative sun rays */
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(245,200,66,0.22) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--yellow) 0px, var(--yellow) 20px,
    var(--coral)  20px, var(--coral)  40px
  );
}

.page-hero h1 {
  font-family: var(--font-deco);
  font-size: 2.4rem;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0.02em;
  text-shadow: 2px 3px 8px rgba(0,0,0,0.35);
}
.page-hero .subtitle {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--yellow-pale);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ── Film-Strip Divider ── */
hr, hr.film {
  border: none;
  height: 18px;
  background:
    /* sprocket holes */
    radial-gradient(circle, var(--white) 3px, transparent 3px) 10px 50% / 20px 100%,
    radial-gradient(circle, var(--white) 3px, transparent 3px) 10px 50% / 20px 100%,
    /* strip */
    var(--ink);
  background-repeat: repeat-x, repeat-x, no-repeat;
  margin: 2rem 0;
  border-radius: 2px;
}
hr.thin {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sky), var(--yellow), var(--sky), transparent);
  opacity: 0.6;
  margin: 1.5rem 0;
}

/* ── Photo Style ── */
.photo-print {
  display: block;
  border: 6px solid var(--white);
  outline: 2px solid var(--sky);
  box-shadow:
    3px 4px 12px rgba(42,111,168,0.25),
    0 0 0 1px rgba(42,111,168,0.12);
  max-width: 100%;
  height: auto;
}
.photo-caption {
  font-size: 0.78rem;
  color: var(--ink-mid);
  font-style: italic;
  text-align: center;
  margin-top: 0.4rem;
  font-family: var(--font-body);
}

.photo-float-right {
  float: right;
  margin: 0 0 1.2rem 1.5rem;
  max-width: 240px;
}
.photo-float-left {
  float: left;
  margin: 0 1.5rem 1.2rem 0;
  max-width: 240px;
}
.clearfix::after { content: ''; display: table; clear: both; }
.photo-center { display: block; margin: 1.5rem auto; max-width: 100%; }

/* ── Callout Box ── */
.callout {
  background: var(--sky-deep);
  color: var(--white);
  border-left: 5px solid var(--yellow);
  border-right: 2px solid rgba(245,200,66,0.3);
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.05rem;
  margin: 1.5rem 0;
  line-height: 1.6;
  border-radius: 0 3px 3px 0;
}
.callout strong { color: var(--yellow); }
.callout a { color: var(--yellow-pale); }

/* ── Star / Divider ornament ── */
.star-rule {
  text-align: center;
  color: var(--sky);
  margin: 1.5rem 0;
  font-size: 1.1rem;
  letter-spacing: 0.6em;
  opacity: 0.7;
}

/* ── Home Hero ── */
.hero-home {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: 2.5rem 0 1.5rem;
}
.hero-home .hero-text h1 {
  font-family: var(--font-deco);
  font-size: 2.4rem;
  color: var(--sky-deep);
  text-transform: none;
  line-height: 1.1;
}
.hero-home .hero-text .tagline {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}
.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: flex-start;
}
.hero-photos figure {
  margin: 0;
}
.hero-photos figure:last-child {
  justify-self: end;
}

/* Section cards ── */
.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}
.section-card {
  background: var(--sky-pale);
  border: 2px solid var(--sky);
  border-radius: 3px;
  padding: 1rem 1.1rem;
  text-align: center;
  text-decoration: none;
  color: var(--sky-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  display: block;
}
.section-card:hover {
  background: var(--sky);
  color: var(--white);
  border-color: var(--sky-deep);
  text-decoration: none;
}
.section-card .card-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.4rem;
}

/* ── Discography ── */
.disco-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.disco-jump a {
  background: var(--sky);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.15s;
}
.disco-jump a:hover {
  background: var(--coral);
  color: var(--white);
}

.disco-table { width: 100%; border-collapse: collapse; }
.disco-table td.year-col {
  width: 60px;
  vertical-align: top;
  padding-top: 0.15rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--sky-deep);
  white-space: nowrap;
  font-size: 0.92rem;
  text-transform: uppercase;
}
.disco-table td.title-col {
  padding: 0.1rem 0 0.1rem 0.5rem;
  line-height: 1.65;
  color: var(--ink);
}
.disco-hit { font-weight: 700; color: var(--coral-dark); }

/* ── Audio Player ── */
.audio-section {
  background: var(--sky-deep);
  background-image: linear-gradient(135deg, var(--sky-deep) 0%, #1e4d7a 100%);
  padding: 2rem 2.2rem;
  border-radius: 3px;
  border-top: 5px solid var(--yellow);
  margin: 2rem 0;
}
.audio-section h2 {
  color: var(--yellow);
  font-family: var(--font-deco);
  font-size: 1.5rem;
  text-transform: none;
  margin-bottom: 1.3rem;
  letter-spacing: 0.02em;
  text-shadow: 1px 2px 4px rgba(0,0,0,0.4);
}
.audio-item { margin-bottom: 1.3rem; }
.audio-item .track-title {
  color: var(--sky-pale);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.97rem;
  margin-bottom: 0.3rem;
  display: block;
}
.audio-item .track-info {
  font-size: 0.74rem;
  color: var(--sky);
  margin-bottom: 0.3rem;
  display: block;
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.audio-item audio {
  width: 100%;
  max-width: 380px;
  height: 36px;
}

.youtube-links { margin-top: 1.2rem; }
.youtube-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--yellow-pale);
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-right: 1.2rem;
  text-decoration: none;
  font-style: italic;
}
.youtube-links a:hover { color: var(--yellow); text-decoration: underline; }
.yt-icon {
  display: inline-block;
  background: var(--coral);
  color: white;
  font-size: 0.62rem;
  padding: 0.12rem 0.4rem;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-style: normal;
  font-family: var(--font-head);
}

/* ── Film Cards ── */
.film-list { display: flex; flex-direction: column; gap: 2rem; }
.film-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(91,170,214,0.3);
}
.film-card:last-child { border-bottom: none; }
.film-year {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sky);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.3rem;
  border-right: 3px solid var(--yellow);
  padding-right: 0.6rem;
  text-align: right;
  line-height: 1.3;
}
.film-title {
  font-family: var(--font-deco);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--sky-deep);
  font-style: normal;
}
.film-meta { font-size: 0.86rem; color: var(--ink-mid); margin-top: 0.25rem; }
.film-meta strong { color: var(--ink); font-family: var(--font-head); letter-spacing: 0.04em; font-size: 0.8rem; text-transform: uppercase; }
.film-music {
  font-style: italic;
  color: var(--coral-dark);
  font-size: 0.84rem;
  margin-top: 0.2rem;
}
.film-photo { margin-top: 0.8rem; grid-column: 1 / -1; }

/* ── CD/DVD Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 1.4rem;
}
.product-card {
  background: var(--white);
  border: 1px solid rgba(91,170,214,0.35);
  border-top: 3px solid var(--sky);
  border-radius: 2px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: box-shadow 0.2s;
}
.product-card:hover {
  box-shadow: 0 4px 16px rgba(42,111,168,0.18);
}
.product-card img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 5px solid var(--sand);
  box-shadow: 0 2px 8px rgba(42,111,168,0.2);
}
.product-title {
  font-family: var(--font-deco);
  font-size: 1.1rem;
  color: var(--sky-deep);
  font-weight: 400;
}
.product-tracks {
  font-size: 0.82rem;
  color: var(--ink-mid);
  line-height: 1.55;
}
.product-label {
  font-size: 0.78rem;
  color: var(--ink-lt);
  font-style: italic;
  margin-top: auto;
}

/* ── Paintings Gallery ── */
.paintings-intro {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  color: var(--ink-mid);
}
.paintings-intro a { color: var(--coral-dark); }

.paintings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.painting-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
}
.painting-item img {
  width: 100%;
  height: auto;
  display: block;
  border: 5px solid var(--white);
  outline: 1px solid rgba(91,170,214,0.4);
  box-shadow: 2px 3px 8px rgba(42,111,168,0.2);
  transition: box-shadow 0.2s, transform 0.2s, outline-color 0.2s;
}
.painting-item img:hover {
  box-shadow: 3px 5px 16px rgba(42,111,168,0.35);
  outline-color: var(--sky);
  transform: translateY(-3px);
}
.painting-info { font-size: 0.79rem; color: var(--ink-mid); }
.painting-title { font-weight: 600; color: var(--sky-deep); font-style: italic; }
.painting-price { color: var(--coral-dark); font-weight: 700; font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 0.04em; }

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,43,58,0.94);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 80vh;
  border: 7px solid var(--white);
  outline: 2px solid var(--sky);
  box-shadow: 0 0 40px rgba(0,0,0,0.7);
  object-fit: contain;
}
.lightbox-caption {
  color: var(--sky-pale);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: var(--coral);
  color: var(--white);
  border: none;
  font-size: 1.4rem;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-family: var(--font-head);
  line-height: 1;
  border-radius: 2px;
  transition: background 0.15s;
}
.lightbox-close:hover { background: var(--sky-deep); }

/* ── News / Aktuell ── */
.news-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(91,170,214,0.25);
}
.news-item:last-child { border-bottom: none; }
.news-date {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--sky-deep);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.press-links { list-style: none; }
.press-links li {
  padding: 0.22rem 0;
  font-size: 0.9rem;
}
.press-links li::before {
  content: '▶ ';
  color: var(--sky);
  font-size: 0.65rem;
}

/* ── Links Page ── */
.links-list { list-style: none; }
.links-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(91,170,214,0.2);
  font-size: 0.95rem;
}
.links-list li::before { content: '✦ '; color: var(--sky); }
.links-list li:last-child { border-bottom: none; }

/* ── Impressum ── */
.impressum-content { max-width: 520px; }

/* ── Footer ── */
.site-footer {
  background: var(--sky-deep);
  background-image: linear-gradient(90deg, var(--sky-deep), #1e4d7a);
  color: rgba(255,255,255,0.65);
  text-align: center;
  padding: 1.2rem 1.5rem;
  font-size: 0.82rem;
  font-family: var(--font-body);
  margin-top: 3rem;
  border-top: 4px solid var(--yellow);
}
.site-footer a { color: var(--yellow-pale); }
.site-footer a:hover { color: var(--yellow); }

/* ── Responsive ── */
@media (max-width: 700px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
  .page-hero h1 { font-size: 1.8rem; }

  .hamburger { display: flex; }

  .main-nav {
    display: none;
    flex-direction: column;
    padding: 0.5rem 1.5rem 1rem;
    background: var(--sky-deep);
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    border-left: none;
  }

  .hero-home { gap: 1.2rem; }
  .hero-photos { grid-template-columns: 1fr; gap: 1rem; }
  .hero-photos figure:last-child { justify-self: start; }
  .photo-float-right, .photo-float-left {
    float: none;
    margin: 1rem auto;
    display: block;
    max-width: 260px;
  }

  .paintings-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .film-card { grid-template-columns: 1fr; }
  .film-year {
    border-right: none;
    border-bottom: 2px solid var(--yellow);
    text-align: left;
    padding-right: 0;
    padding-bottom: 0.3rem;
  }
  .content-section { padding: 1.3rem 1.2rem; }
  .disco-table td.year-col { width: 50px; font-size: 0.82rem; }
}

@media (max-width: 420px) {
  .paintings-grid { grid-template-columns: 1fr; }
  .section-cards { grid-template-columns: repeat(2, 1fr); }
  .site-title { font-size: 1.15rem; }
}
