/* 24-after-work.css — Sektion „Nach der Arbeit“ (index.html, #nach-der-arbeit)
   Stand 25.11.2026. Links das Acure-Cover als gekippte Karte mit Bauchbinde,
   rechts kurzer Text und vier Hobbys mit animierten Icons.
   Animationen laufen nur, solange die Sektion sichtbar ist (.is-on aus
   js/14-after-work.js) und nie bei prefers-reduced-motion.
   Kontrast: Text --ink / --grey; Markenfarben nur in Icons und Flächen. */

/* Seit 25.11.2026 Teil der Sektion #expertise („Was mich ausmacht“), unter den Karten */
.aw {
  position: relative;
  z-index: 1;
  padding: 10px 0 110px;
}
.aw-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

/* ---------- Bild ---------- */
.aw-visual {
  position: relative;
  margin: 0 0 0 0;
  max-width: 380px;
  justify-self: start;
  width: 100%;
  margin-right: 30%; /* Platz für die herausschauende Vinyl */
}
/* Lime-Fläche hinter dem Cover entfernt (25.11.2026) — dort liegt jetzt die Vinyl. */
.aw-cover {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  transform: rotate(-2deg);
  box-shadow: 0 30px 70px rgba(16, 43, 60, 0.25);
  transition: transform 0.6s var(--ease-smooth);
}
.aw-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* kein Hover am Cover — kein Link (Nico, 25.11.2026) */
/* „Acure · mein Musikprojekt“ (25.11.2026): als „Now playing“-Zeile unter dem
   Cover statt über der Ecke — verdeckt nichts mehr am Bild. */
.aw-tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.aw-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.aw-eq i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--electric);
  transform-origin: bottom;
}
.aw-eq i:nth-child(2) { transform: scaleY(0.55); }
.aw-eq i:nth-child(3) { transform: scaleY(0.8); }
.aw-eq i:nth-child(4) { transform: scaleY(0.4); }

/* ---------- Vinyl ---------- */
.aw-vinyl {
  position: absolute;
  z-index: 0;
  top: 6%;
  left: 54%;
  width: 84%;
  aspect-ratio: 1 / 1;
}
.aw-vinyl-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 31%, rgba(255,255,255,0.05) 31.5% 32%, transparent 32.5%),
    repeating-radial-gradient(circle, #121c22 0 1.6px, #1d2b34 2.2px 3.4px);
  box-shadow: 0 24px 50px rgba(16, 43, 60, 0.3);
}
.aw-vinyl-label {
  position: absolute;
  inset: 33%;
  border-radius: 50%;
  background: conic-gradient(var(--apricot) 0 50%, var(--lime) 50% 100%);
  display: grid;
  place-items: center;
}
.aw-vinyl-label::after {   /* Mittelloch */
  content: "";
  position: absolute;
  width: 9%;
  height: 9%;
  border-radius: 50%;
  background: var(--paper);
}
.aw-vinyl-label span {
  position: absolute;
  top: 16%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #102B3C;
}
/* Lichtreflex dreht NICHT mit — so sieht man die Drehung am Label */
.aw-vinyl-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0deg, rgba(255,255,255,0.13) 25deg, transparent 55deg,
                             transparent 200deg, rgba(255,255,255,0.09) 225deg, transparent 255deg);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .aw.is-on .aw-vinyl-disc { animation: aw-spin 3.6s linear infinite; }
}
@keyframes aw-spin { to { transform: rotate(360deg); } }

/* ---------- Text ---------- */
.aw-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 14px 0 18px;
}
.aw-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 54ch;
  margin: 0 0 34px;
}

/* ---------- Hobbys ---------- */
.aw-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.aw-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform var(--dur-normal) var(--ease-smooth), box-shadow var(--dur-normal) var(--ease-smooth);
}
/* kein Hover an den Hobby-Kacheln — keine Links (Nico, 25.11.2026) */
.aw-icon {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  padding: 10px;
  border-radius: 16px;
  overflow: visible;
}
.aw-item strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  align-self: end;
}
.aw-item span {
  font-size: 14px;
  color: var(--grey);
  align-self: start;
}

/* Farben je Hobby */
.aw-music .aw-icon { background: var(--electric-soft); }
.aw-music .b { fill: var(--electric); transform-box: fill-box; transform-origin: bottom; }
.aw-ai .aw-icon { background: var(--apricot-soft); }
.aw-ai .s { fill: var(--apricot); transform-box: fill-box; transform-origin: center; }
.aw-sport .aw-icon { background: var(--teal-soft); }
.aw-sport .pulse {
  fill: none;
  stroke: var(--teal);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.aw-cook .aw-icon { background: var(--lime-soft); }
.aw-cook .pot { fill: var(--lime); stroke: #102B3C; stroke-width: 2.5; stroke-linejoin: round; }
.aw-cook .lid { stroke: #102B3C; stroke-width: 3; stroke-linecap: round; }
.aw-cook .steam {
  fill: none;
  stroke: var(--grey);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.7;
}

/* ---------- Animationen (nur sichtbar, nur ohne reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .aw.is-on .aw-eq i { animation: aw-eq 1.1s ease-in-out infinite alternate; }
  .aw.is-on .aw-eq i:nth-child(2) { animation-duration: 0.8s; animation-delay: -0.3s; }
  .aw.is-on .aw-eq i:nth-child(3) { animation-duration: 1.3s; animation-delay: -0.6s; }
  .aw.is-on .aw-eq i:nth-child(4) { animation-duration: 0.9s; animation-delay: -0.2s; }

  .aw.is-on .aw-music .b { animation: aw-bar 1.2s ease-in-out infinite alternate; }
  .aw.is-on .aw-music .b2 { animation-duration: 0.9s; animation-delay: -0.4s; }
  .aw.is-on .aw-music .b3 { animation-duration: 1.4s; animation-delay: -0.7s; }
  .aw.is-on .aw-music .b4 { animation-duration: 1s; animation-delay: -0.2s; }

  .aw.is-on .aw-ai .s1 { animation: aw-spark 2.8s ease-in-out infinite; }
  .aw.is-on .aw-ai .s2 { animation: aw-twinkle 1.6s ease-in-out infinite; }

  .aw.is-on .aw-sport .pulse { animation: aw-pulse 2.2s linear infinite; }

  .aw.is-on .aw-cook .steam { animation: aw-steam 2.4s ease-in-out infinite; }
  .aw.is-on .aw-cook .st2 { animation-delay: 0.8s; }
  .aw.is-on .aw-cook .st3 { animation-delay: 1.6s; }
}
@keyframes aw-eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }
@keyframes aw-bar { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
@keyframes aw-spark {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(0.8) rotate(45deg); }
}
@keyframes aw-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(0.5); }
}
/* Herzschlag zeichnet sich, bleibt kurz stehen, zeichnet sich neu */
@keyframes aw-pulse {
  0% { stroke-dashoffset: 100; }
  55%, 100% { stroke-dashoffset: 0; }
}
@keyframes aw-steam {
  0% { opacity: 0; transform: translateY(4px); }
  40% { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .aw-cover { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .aw-inner { grid-template-columns: 1fr; }
  .aw-visual { max-width: 320px; }
}
@media (max-width: 600px) {
  .aw { padding: 0 0 70px; }
  .aw-visual { max-width: 240px; }
  .aw-tag { font-size: 14px; }
  .aw-lede { font-size: 16px; }
  .aw-grid { gap: 10px; }
  .aw-item {
    grid-template-columns: 1fr;
    row-gap: 4px;
    padding: 14px;
  }
  .aw-icon { grid-row: auto; width: 46px; height: 46px; padding: 8px; margin-bottom: 6px; }
  .aw-item strong { font-size: 15px; }
  .aw-item span { font-size: 13px; }
}
