/* switalski.berlin, statischer Nachbau der Divi-Seite */
:root {
  --navy: #333d50;
  --navy-deep: #2b2f38;
  --black: #000000;
  --pink: #e54baa;
  --pink-menu: #ff4a9e;
  --green: #7cda24;
  --white: #ffffff;
  --ink: #1d1f24;
  --muted: #c9ccd4;
  --line: rgba(255, 255, 255, 0.19);
  --head-h: 84px;
  --f-head: 'Poppins', system-ui, sans-serif;
  --f-body: 'Open Sans', system-ui, sans-serif;
  --f-menu: 'Lato', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.7 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink); }
a:hover { color: #c7348f; }
h1, h2, h3, h4, h5, h6 { font-family: var(--f-head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Kopf ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--black); }
.head-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 52px; width: auto; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; align-items: center; }
.site-nav a, .dd-toggle { font: 700 13px/1 var(--f-menu); letter-spacing: 3px; text-transform: uppercase; color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 16px 0; }
.site-nav a:hover, .dd-toggle:hover, .dd-toggle[aria-expanded="true"] { color: var(--pink-menu); }
.has-dd { position: relative; }
.dd-toggle::after { content: ''; display: inline-block; margin-left: 8px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.dd { list-style: none; margin: 0; padding: 18px 0; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 520px; max-height: 75vh; overflow-y: auto;
  background: var(--black); border-radius: 0 0 14px 14px; box-shadow: 0 18px 44px rgba(0, 0, 0, .45);
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 8px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.has-dd:hover .dd, .has-dd:focus-within .dd, .dd.open { opacity: 1; visibility: visible; }
.dd a { display: block; padding: 9px 24px; font-size: 12px; letter-spacing: 1.5px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--pink-menu); margin: 5px 0; border-radius: 2px; }

/* ---------- Sektionen & Raster ---------- */
.sec { position: relative; padding: 72px 0; }
.sec-dark { background-color: var(--navy); color: var(--white); }
.sec-bg { background-image: var(--bg); background-size: cover; background-position: center; color: var(--white); }
.sec-overlay { background-color: var(--navy-deep); background-blend-mode: overlay; }
.sec-hero { min-height: calc(100vh - var(--head-h)); background-position: top center; display: flex; align-items: center; padding: 0; }
.sec-hero .row { width: min(1180px, 100% - 48px); }
.sec-hero .txt h2 { font-size: clamp(32px, 5vw, 52px); text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.section-overlap { padding-top: 0; padding-bottom: 100px; }

.row { width: min(1180px, 100% - 48px); margin: 0 auto; display: grid; gap: 40px; }
.row + .row { margin-top: 56px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.row-narrow { width: min(800px, 100% - 48px); padding-top: 72px; }
.row-card { background: var(--navy); margin-top: -120px; gap: 0; position: relative; z-index: 2; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.col > * + * { margin-top: 20px; }

/* Text */
.txt { font-size: 18px; line-height: 1.8; }
.txt h1, .txt h2 { font-size: clamp(28px, 3.4vw, 38px); }
.txt p { margin: 0 0 1em; }
.txt p:last-child { margin-bottom: 0; }
.txt.center { text-align: center; }
.sec-dark .txt a, .sec-bg .txt a { color: var(--white); }
.text-dark { color: #000; }

/* Call-to-Action-Karte (aktueller Bestseller) */
.cta { padding: 40px 24px 40px 60px; }
.cta h4 { font-size: 28px; line-height: 1.1; color: var(--white); text-transform: uppercase; }
.cta-body { color: var(--pink); font-size: 16px; margin-bottom: 22px; }
.cta-body h1, .cta-body h2, .cta-body h3, .cta-body h4, .cta-body h5 { color: var(--pink); font-size: 18px; margin: 0 0 .3em; }
.cta-body p { margin: 0; }
.tilt { display: flex; justify-content: center; padding: 0 40px; }
.tilt img { max-height: 520px; width: auto; margin-top: -60px; margin-bottom: -60px; box-shadow: 0 24px 50px rgba(0, 0, 0, .45); transition: transform .4s; }
.tilt img:hover { transform: perspective(900px) rotateY(-6deg) rotateX(3deg) scale(1.02); }

/* Ulf-Block */
.float-img { display: flex; justify-content: center; }
.float-img img { max-width: 360px; width: 60%; }
.row-narrow .txt h2 { text-align: center; margin-top: -40px; }

/* Ergänzende Fakten */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .2); }
.fact { text-align: center; }
.fact strong { display: block; font: 700 clamp(26px, 3vw, 36px)/1.1 var(--f-head); color: var(--pink); }
.fact span { display: block; font-size: 14px; line-height: 1.4; color: var(--muted); margin-top: 6px; }

/* Buttons */
.btn { display: inline-block; font: 600 12px/1 var(--f-body); letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); background: transparent;
  border: 2px solid var(--white); border-radius: 3px; padding: 12px 35px; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s; }
.btn:hover, .btn:focus-visible { background: var(--pink); border-color: var(--pink); color: var(--white); }
.sec:not(.sec-dark):not(.sec-bg) .btn { color: var(--ink); border-color: var(--ink); }
.sec:not(.sec-dark):not(.sec-bg) .btn:hover { color: var(--white); border-color: var(--pink); }

/* ---------- Bestseller-Chronologie ---------- */
.timeline { list-style: none; margin: 40px auto 0; padding: 0; position: relative; max-width: 1410px; }
.timeline::before, .timeline::after { content: ''; position: absolute; left: 50%; top: 0; width: 3px; margin-left: -1.5px; background: var(--line); bottom: 0; }
.timeline::after { background: var(--green); bottom: auto; height: var(--progress, 0px); transition: height .1s linear; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: start; padding: 36px 0; }
.tl-item .tl-dot { margin-top: 6px; }
.tl-item .ribbon { margin-top: 10px; }
.tl-dot { grid-column: 2; grid-row: 1; justify-self: center; width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 3px solid var(--pink); position: relative; z-index: 1; }
.ribbon { grid-row: 1; font: 600 15px/1 var(--f-body); color: var(--white); letter-spacing: .5px; }
.tl-card { grid-row: 1; display: grid; grid-template-columns: 35% 1fr; gap: 28px; align-items: start; padding: 0 30px; }
.tl-left .tl-card { grid-column: 1; }
.tl-left .ribbon { grid-column: 3; justify-self: start; padding-left: 20px; }
.tl-right .tl-card { grid-column: 3; }
.tl-right .ribbon { grid-column: 1; justify-self: end; padding-right: 20px; }
.tl-img img { width: 100%; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.tl-title { font-size: clamp(20px, 2vw, 26px); color: var(--white); }
.tl-text { color: var(--white); font-size: 15px; line-height: 1.7; }
.tl-text p { margin: 0 0 .8em; }
.tl-text strong { color: var(--white); }
.tl-body .btn { margin-top: 14px; }
.tl-card:not(:has(.tl-img)) { grid-template-columns: 1fr; }

/* ---------- Kontakt ---------- */
.row-contact { width: min(660px, 100% - 48px); padding: 60px 0 40px; text-align: center; }
.dual { font: 700 clamp(28px, 3.4vw, 38px)/1.15 var(--f-head); text-transform: uppercase; color: var(--white); }
.contact-lead { font-size: 18px; margin: 0 auto; max-width: 510px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; margin-top: 28px; }
.contact .field.full, .contact .form-foot { grid-column: 1 / -1; }
.contact label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--white); }
.contact input, .contact textarea { width: 100%; font: 16px/1.5 var(--f-body); color: #000; background: rgba(255, 255, 255, .85); border: 0; border-radius: 0; padding: 18px 16px; }
.contact input:focus, .contact textarea:focus { outline: 3px solid var(--pink); outline-offset: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-note { margin: 0; font-size: 14px; }

/* ---------- Fuß ---------- */
.site-foot { background: var(--black); color: #b9bcc4; font-size: 14px; }
.foot-inner { max-width: 1180px; margin: 0 auto; padding: 40px 24px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.foot-brand { font: 700 20px/1.2 var(--f-head); color: var(--white); }
.site-foot address { font-style: normal; }
.site-foot a { color: #e3e5ea; }
.foot-meta { text-align: right; }

/* ---------- Zeitungsartikel ---------- */
figure.img { margin: 0; }
figure.img img { box-shadow: 0 10px 40px rgba(0, 0, 0, .3); }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
  .logo img { height: 34px; max-width: 64vw; object-fit: contain; object-position: left; }
  :root { --head-h: 68px; }
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: var(--head-h) 0 0 0; background: var(--black); overflow-y: auto; display: none; padding: 16px 24px 40px; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a, .dd-toggle { display: block; width: 100%; text-align: left; padding: 16px 0; border-bottom: 1px solid #222; }
  .dd { position: static; transform: none; width: 100%; max-height: none; box-shadow: none; border-radius: 0; padding: 0 0 0 12px; grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible; }
  .dd.open { display: block; }
  .has-dd:hover .dd { display: none; }
  .has-dd:hover .dd.open { display: block; }
  .cols-2, .cols-3 { grid-template-columns: 1fr; }
  .row-card { margin-top: 0; }
  .cta { padding: 32px 24px; }
  .tilt img { margin: 0 0 32px; max-height: 420px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-hero { min-height: 70vh; background-position: 78% center; align-items: flex-end; padding-bottom: 48px; }
  .timeline::before, .timeline::after { left: 11px; }
  .tl-item { grid-template-columns: 24px 1fr; column-gap: 16px; padding: 28px 0; }
  .tl-dot { grid-column: 1; grid-row: 1; }
  .tl-left .ribbon, .tl-right .ribbon { grid-column: 2; grid-row: 1; justify-self: start; padding: 0; }
  .tl-left .tl-card, .tl-right .tl-card { grid-column: 2; grid-row: 2; padding: 16px 0 0; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-meta { text-align: left; }
}
@media (max-width: 600px) {
  .tl-card { grid-template-columns: 1fr; }
  .tl-img img { max-width: 220px; }
  .contact { grid-template-columns: 1fr; }
  .txt { font-size: 16px; }
  .row-narrow .txt h2 { margin-top: -20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tilt img, .timeline::after { transition: none; }
}
