/* Produktseite knipsdeal.at. Leitidee: der Aushang-Zettel mit Abreißstreifen vom Schwarzen Brett. */
:root { --blau: #1f6feb; --tinte: #10233f; --brett: #e6ecf4; --papier: #fff; --marker: #ffdd55; --grau: #4a5a70; --linie: #c5d0de; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--brett); color: var(--tinte); font: 18px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--blau); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1.2rem; }
h3 { font-size: 1.35rem; font-weight: 750; margin-bottom: .5rem; }
p { margin: 0 0 1rem; max-width: 62ch; }
main > section, .kopf, .fuss { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }
main > section { margin-top: clamp(3.5rem, 9vw, 6.5rem); }

.kopf { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; }
.marke { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.25rem; color: var(--tinte); text-decoration: none; }
.anmelden { font-weight: 600; }

/* Bühne: Zettel + Handy */
main > .buehne { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr minmax(200px, 300px); gap: clamp(1rem, 4vw, 3rem); align-items: end; }
.zettel { background: var(--papier); box-shadow: 0 1px 0 #b9c4d3, 0 18px 30px -18px rgba(16, 35, 63, .45); transform: rotate(-1.2deg); position: relative; }
.zettel::before { content: ""; position: absolute; top: -13px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #6ea3ff, var(--blau) 55%, #1348a8); box-shadow: 0 5px 6px rgba(16, 35, 63, .35); }
.zettel-text { padding: clamp(1.6rem, 5vw, 3.2rem) clamp(1.3rem, 5vw, 3.2rem) 1.6rem; }
.rubrik { font-weight: 700; margin-bottom: 1rem; display: inline-block; background: var(--marker); padding: .1rem .55rem; transform: rotate(-1deg); }
h1 { font-size: clamp(2.7rem, 9vw, 5.6rem); font-weight: 900; letter-spacing: -0.045em; line-height: .95; margin-bottom: 1.4rem; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); max-width: 34ch; }
.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin: 1.6rem 0 0; max-width: none; }
.knopf { display: inline-block; background: var(--blau); color: #fff; font-weight: 700; text-decoration: none; padding: .85rem 1.4rem; border-radius: 10px; }
.knopf:hover { background: #1558c7; }
.klein { font-size: .9rem; color: var(--grau); }
.abreisser { list-style: none; margin: 0; padding: 0; display: flex; border-top: 2px dashed var(--linie); }
.abreisser li { flex: 1; writing-mode: vertical-rl; font-size: .8rem; font-weight: 600; color: var(--grau); padding: .7rem 0 1rem; text-align: left; border-left: 2px dashed var(--linie); display: flex; align-items: center; background: var(--papier); min-height: 7.2rem; }
.abreisser li:first-child { border-left: 0; }
.abreisser li:nth-child(6) { transform: rotate(2.5deg); transform-origin: top; }
.abreisser li.ab { background: var(--brett); box-shadow: inset 0 6px 6px -6px rgba(16, 35, 63, .35); }
.handy { border-radius: 22px; border: 6px solid var(--tinte); background: var(--tinte); display: block; }
.buehne .handy.vorn { transform: rotate(2deg); margin-bottom: 1rem; box-shadow: 0 24px 36px -20px rgba(16, 35, 63, .6); }

/* Ablauf: echte Reihenfolge, daher nummeriert */
.ablauf ol { list-style: none; margin: 0; padding: 0; counter-reset: schritt; display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
.ablauf li { counter-increment: schritt; display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: clamp(1.2rem, 5vw, 3.5rem); align-items: center; }
.ablauf li:nth-child(even) { grid-template-columns: 1fr minmax(150px, 230px); }
.ablauf li:nth-child(even) .handy { order: 2; }
.ablauf h3::before { content: counter(schritt); display: block; font-size: clamp(3rem, 8vw, 5rem); font-weight: 900; line-height: 1; color: var(--blau); letter-spacing: -0.05em; margin-bottom: .4rem; }

.dabei dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; border-top: 2px solid var(--tinte); }
.dabei dl > div { padding: 1.2rem 0; border-bottom: 1px solid var(--linie); }
.dabei dt { font-weight: 750; font-size: 1.15rem; }
.dabei dd { margin: .3rem 0 0; color: var(--grau); }

main > .kontrolle { background: var(--tinte); color: #fff; padding: clamp(2rem, 6vw, 3.5rem); border-radius: 4px; }
.kontrolle h2 { color: var(--marker); }
.kontrolle p { font-size: 1.15rem; margin: 0; }

.geraete table { width: 100%; border-collapse: collapse; background: var(--papier); }
.geraete th, .geraete td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.geraete thead th { background: var(--tinte); color: #fff; font-weight: 600; }

.fragen details { border-top: 1px solid var(--linie); padding: 1rem 0; }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { font-weight: 700; font-size: 1.15rem; cursor: pointer; }
.fragen details p { margin: .7rem 0 0; }

.schluss p { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; max-width: none; }
.zweit { font-weight: 600; }
.fuss { margin-top: 5rem; padding: 1.5rem 0 2.5rem; border-top: 2px solid var(--tinte); font-size: .95rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.fuss p { margin: 0; max-width: none; }
.fuss a { margin-right: 1.2rem; }

/* Herbert, der Marder: oben neben dem Zettel und im Schlussabschnitt */
.figur { display: block; filter: drop-shadow(0 16px 12px rgba(16, 35, 63, .3)); }
.buehne .figur { width: 100%; max-width: 290px; justify-self: center; }
main > .schluss { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.schluss .figur { width: auto; height: clamp(180px, 26vw, 300px); }
@media (max-width: 720px) {
  body { font-size: 17px; }
  .buehne .figur { width: 46%; margin: -2.2rem 1rem 0 auto; position: relative; }
  main > .schluss { grid-template-columns: 1fr; }
  .schluss .figur { justify-self: end; margin-top: -1rem; }
  main > .buehne { grid-template-columns: 1fr; }
  .buehne .handy.vorn { width: 62%; margin: -1.5rem auto 0; position: relative; }
  .ablauf li, .ablauf li:nth-child(even) { grid-template-columns: 110px 1fr; align-items: start; }
  .ablauf li:nth-child(even) .handy { order: 0; }
  .handy { border-width: 4px; border-radius: 14px; }
  .dabei dl { grid-template-columns: 1fr; }
  .abreisser li:nth-child(n+7) { display: none; }
  .geraete th, .geraete td { padding: .7rem .6rem; font-size: .95rem; }
}

/* Preisseite: drei Zettel am Brett, der mittlere ist das Abo */
.kopfnav { display: flex; gap: 1.4rem; align-items: center; }
.kopfnav a { font-weight: 600; }
.kopfnav a[aria-current] { color: var(--tinte); text-decoration-thickness: 3px; text-decoration-color: var(--marker); }
main > .preiskopf { margin-top: 2rem; }
.preiskopf h1 { font-size: clamp(2.3rem, 7vw, 4.2rem); }
.preiskopf .lead { max-width: 46ch; }
.hinweis { background: var(--marker); padding: .9rem 1.1rem; max-width: 62ch; transform: rotate(-.4deg); }
main > .preise { display: grid; grid-template-columns: 1fr 1.15fr 1.25fr; gap: 2.2rem 1.6rem; align-items: start; margin-top: 3.5rem; }
.preis { padding: 2rem 1.5rem 1.4rem; transform: rotate(-.8deg); }
.preis.haupt { transform: rotate(.6deg); border-top: 10px solid var(--blau); }
.preis.firma { transform: rotate(-.3deg); }
.preis h2 { font-size: 1.5rem; margin-bottom: .6rem; }
.betrag { margin-bottom: .3rem; color: var(--grau); }
.betrag b { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; letter-spacing: -0.04em; color: var(--tinte); line-height: 1; }
.oder { font-size: .95rem; color: var(--grau); }
.preis ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.preis li { margin: .25rem 0; }
.preis table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-variant-numeric: tabular-nums; }
.preis th, .preis td { text-align: left; padding: .45rem 0; border-bottom: 1px solid var(--linie); }
.preis th { font-size: .9rem; font-weight: 600; color: var(--grau); }
.preis td:last-child, .preis th:last-child { text-align: right; }
.preis .klein { margin: 0; }
.fuss a { display: inline-block; }
@media (max-width: 860px) { main > .preise { grid-template-columns: 1fr; max-width: 460px; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }
