/* ═══════════════════════════════════════════════════════════════
   AMADYNE Weihnachtsclip — Corporate Design Stylesheet (Simplified)
   ═══════════════════════════════════════════════════════════════ */

/* Roboto wird lokal über fonts/roboto.css eingebunden */

/* ─── Reset ─── */
*, *::after, *::before { box-sizing: border-box; }
html { font-size: 62.5%; }
body { font-size: 1.6rem; font-family: "Roboto", sans-serif; color: #eee; background: #fff; margin: 0; }
img { max-width: 100%; height: auto; }
a { color: #de56d9; text-decoration: none; }
a:hover, a:focus { text-decoration: none; outline: none; color: #aaa; }

/* ─── Amadyne Color Palette ─── */
.magenta_bg     { background: #9c2a85; }
.gray_bg        { background: #595959; }
.lightgray_bg   { background: #ccc; }
.darkgray_bg    { background: #404040; }
.white_bg       { background: #fff; }
.magenta_50_bg { background: #d78dc8 !important; }

.gray_bg, .gray_bg p, .gray_bg ul       { color: #fff; }
.lightgray_bg p, .lightgray_bg h1,
.lightgray_bg h2, .lightgray_bg h3       { color: #404040; }
.white_bg p, .white_bg h1, .white_bg h2 { color: #18181c; }

.magenta_font     { color: #9c2a85 !important; }
.gray_font        { color: #595959 !important; }
.darkgray_font    { color: #404040 !important; }
.lightgray_font   { color: #ccc !important; }
.white_font       { color: #fff !important; }
.magenta_50_font  { color: #d78dc8 !important; }

/* ─── Typography ─── */
h1 { font-size: 32px; margin-bottom: 15px; line-height: 1em; }
h2 { font-size: 26px; margin-bottom: 10px; }
h3 { font-size: 22px; }
p  { font-size: 17px; line-height: 1.5em; margin: 15px 0; }

@media (min-width: 1000px) {
  h1 { font-size: 40px; }
}

/* ─── Layout ─── */
#main { background: #fff; z-index: 2; }
.border-primary { border-color: #a6a6a6 !important; border-width: 7px !important; }

/* ─── Header (Two-Layer Banderole System) ─── */
.cd-main-header {
  height: 80px; position: fixed; top: 0; width: 100%; z-index: 100;
  background-color: #595959;
  background-image: url("Amadyne-Logo_bg.svg");
  background-size: auto 100%;
  background-position: left center;
  background-repeat: repeat-x;
  display: flex; align-items: center; padding: 0 1.5rem;
}

/* Logo text — left side, in the gray band area */
.cd-logo {
  display: flex; align-items: center; gap: 0.6rem;
  color: #fff; text-decoration: none;
  position: relative; z-index: 2;
}
.cd-logo:hover { color: #fff; }

.cd-logo-text {
  font-size: 1.6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Banderole overlay — decorative SVG on the right */
.cd-banderole-img {
  position: absolute; right: 0; top: 0;
  height: 80px; width: auto;
  z-index: 1; pointer-events: none;
}

/* ─── Flat Buttons ─── */
.btn {
  color: #595959; background: #fff; text-align: center; text-decoration: none;
  border: 0; outline: 0; font-size: 1.5rem; padding: 5px 35px;
  display: inline-block; border-radius: 0;
}
.btn:hover { background: #9c2a85 !important; color: #fff; }

/* ─── Video List Section ─── */
.video-list-section {
  position: relative;
}

/* Background decorations */
.bg-left-top {
  background-image: url("background_left_top.png"); background-position: -5px 0; background-repeat: no-repeat;
}
.bg-right-bottom {
  background-image: url("background_right_bottm.png"); background-position: right bottom; background-repeat: no-repeat;
}
.bg-left-top::before, .bg-right-bottom::after {
  content: ''; display: inline-block; width: 20px; height: 20px;
  border-radius: 17.5px; background-color: #fff; position: absolute;
}
.bg-left-top::before   { margin-top: -0.4rem !important; left: 134px; }
.bg-right-bottom::after { right: 390px; margin-top: 15px; }

/* ─── Video Entries ─── */
.video-entry {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.video-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.video-year-badge {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  padding: 4px 18px;
  margin-bottom: 8px;
}

.video-entry h2 {
  color: #fff;
  margin-bottom: 12px;
}

/* ─── Video Wrapper (Amadyne: sharp corners, magenta border) ─── */
.video-wrapper-amadyne {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border: 4px solid #9c2a85;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(156,42,133,0.25);
  margin-top: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.video-wrapper-amadyne iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-entry:hover .video-wrapper-amadyne {
  border-color: #d731b3;
  box-shadow: 0 4px 30px rgba(156,42,133,0.4);
}

/* ─── Footer ─── */
#footer { background: #fff; }

/* ─── Animations ─── */
.animatable { opacity: 0; }
.animated   { opacity: 1; }
.fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ─── */
@media (max-width: 999px) {
  .cd-main-header { height: auto; position: fixed; width: 100%; }
  .cd-banderole-img { height: 65px; }
  .cd-logo-text { font-size: 1.3rem; }
}

@media (max-width: 680px) {
  .px-5, .pl-5, .pr-5 { padding-left: 1em !important; padding-right: 1em !important; }
  .video-entry { margin-bottom: 40px; padding-bottom: 20px; }
  .video-year-badge { font-size: 1.5rem; }
  .video-entry h2 { font-size: 22px; }
  .cd-logo-text { font-size: 1.1rem; letter-spacing: 0; }
}