/* ==========================================================================
   TK Appworks – Stylesheet
   Aufbau:
     1. Design-Tokens
     2. Grundlagen
     3. Kopfbereich, Navigation, Footer
     4. Startbereich (Hero)
     5. Abschnitte & Buttons
     6. Produkte
     7. VIVUNEA im Detail (Galerie, Funktionen)
     8. Studio
     9. Kontakt
    10. Dialoge
    11. Rechtliche Seiten
    12. Responsive Anpassungen
    13. Druckansicht
   ========================================================================== */

/* 1. Design-Tokens -------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --fg: #352d27;
  --muted: #74675d;
  --accent: #80634d;
  --accent-hover: #644b39;
  --on-accent: #ffffff;
  --border: #e5ddd4;
  --line: #b8a898;
  --panel: #f2ebe2;
  --panel-alt: #e9dfd2;
  --section: #fcfaf7;
  --radius-lg: 14px;
  --radius-md: 8px;
  --gutter: 5%;

  font-family: Arial, Helvetica, sans-serif;
  color: var(--fg);
  background: var(--bg);
  font-synthesis: none;
  scroll-behavior: smooth;
}

/* 2. Grundlagen ----------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 6px;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 15px;
  background: var(--accent);
  color: var(--on-accent);
}

.skip:focus {
  top: 15px;
}

.eyebrow {
  margin: 0 0 26px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.accent {
  color: var(--accent);
}

/* 3. Kopfbereich, Navigation, Footer -------------------------------------- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: block;
  width: 230px;
  height: auto;
  max-width: 100%;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.875rem;
}

nav a:hover {
  color: var(--accent);
}

.nav-pill {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
}

.header .legal-back {
  display: inline-block;
  font-size: 0.875rem;
  white-space: nowrap;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin: 0 var(--gutter);
  padding: 28px 0 40px;
  border-top: 1px solid var(--border);
}

footer p {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
}

footer small {
  font-size: 0.75rem;
  color: var(--muted);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.875rem;
}

.legal-nav a,
.footer-contact {
  color: var(--muted);
}

.footer-contact {
  font-size: 0.875rem;
}

.legal-nav a[aria-current="page"] {
  color: var(--fg);
  font-weight: 600;
}

.legal-nav a:hover,
.footer-contact:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* 4. Startbereich (Hero) -------------------------------------------------- */
.hero {
  max-width: 1600px;
  margin: auto;
  padding: 65px var(--gutter) 0;
}

.mini-line {
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: var(--accent);
}

h1 {
  margin: 36px 0 32px;
  font-size: clamp(3.2rem, 7.2vw, 7.3rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--accent);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  padding-bottom: 57px;
}

.hero-bottom .button {
  flex-shrink: 0;
}

.hero-bottom p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

/* 5. Abschnitte & Buttons ------------------------------------------------- */
.section {
  max-width: 1600px;
  margin: auto;
  padding: 95px var(--gutter);
  scroll-margin-top: 24px;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 40px;
}

h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4.3vw, 4.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h2 span {
  color: var(--accent);
}

.section-intro {
  margin: 0 0 7px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.section-intro span {
  display: block;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 54px;
  padding: 18px 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 600;
}

.button-plus {
  font-size: 1.5rem;
  line-height: 1;
}

.primary {
  background: var(--accent);
  color: var(--on-accent);
}

.primary:hover {
  background: var(--accent-hover);
}

.primary:focus-visible {
  outline-color: var(--fg);
}

.outline {
  margin-top: 15px;
  border-color: var(--line);
  background: transparent;
  color: var(--fg);
}

.outline:hover {
  background: var(--panel);
}

.text-link {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 6. Produkte ------------------------------------------------------------- */
.products {
  background: var(--section);
  border-radius: 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border-radius: var(--radius-lg);
  color: var(--fg);
}

.vivunea {
  background: var(--panel);
}

.butter {
  background: var(--panel-alt);
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.number {
  padding: 9px 10px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1rem;
}

.product-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 234px;
  padding: 53px 0 25px;
}

.product-icon {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 22px;
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(53, 45, 39, 0.18);
}

.product-icon--plain {
  border-radius: 0;
  box-shadow: none;
}

.product-title h3 {
  margin: 0;
  font-size: clamp(2.6rem, 5.1vw, 5.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.vivunea .product-title h3 {
  font-size: clamp(2.3rem, 4.8vw, 5.1rem);
}

.product-title p {
  margin: 22px 0 0;
  font-size: 0.95rem;
}

.product-description {
  max-width: 420px;
  margin: 20px 0 28px;
  line-height: 1.6;
}

.product-description p {
  margin: 0;
}

.product-description p:first-child {
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 600;
}

.product-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.status {
  font-size: 0.75rem;
  line-height: 1.5;
}

.detail-button {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}

.detail-button span[aria-hidden] {
  font-size: 1.4rem;
}

.product a:focus-visible,
.product button:focus-visible {
  outline-color: currentColor;
}

/* 7. VIVUNEA im Detail ---------------------------------------------------- */
.vivunea-detail {
  padding-top: 35px;
}

.screenshot-gallery {
  margin: 45px 0 55px;
}

.gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
}

.gallery-heading h3 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.gallery-heading p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.screenshot-card {
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--section);
}

.screenshot-card figcaption > span {
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  color: var(--accent);
  text-transform: uppercase;
}

.screenshot-card h4 {
  margin: 14px 0 12px;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.screenshot-card figcaption > p {
  min-height: 78px;
  margin: 0 0 22px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.screenshot-trigger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fg);
}

.screenshot-trigger img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.zoom-label {
  font-size: 0.875rem;
  color: var(--accent);
}

.screenshot-trigger:hover .zoom-label {
  text-decoration: underline;
}

.gallery-note {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.gallery-note .eyebrow {
  margin-bottom: 12px;
  font-size: 0.75rem;
}

.gallery-note p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-grid article {
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.feature-grid span {
  font-size: 0.8rem;
  color: var(--accent);
}

.feature-grid h3,
.vivunea-highlight h3 {
  margin: 14px 0 10px;
  font-size: 1.15rem;
  line-height: 1.4;
}

.feature-grid p,
.vivunea-highlight p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.vivunea-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.vivunea-highlight h3 {
  margin-top: 0;
}

.vivunea-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.vivunea-links .outline {
  margin-top: 0;
}

.vivunea-links > span {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Butter up!-Vorschau */
.butter-teaser {
  padding-top: 0;
}

.butter-teaser-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 50px;
  border-radius: 20px;
  background: var(--panel-alt);
}

.butter-teaser-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 25px 0 28px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--fg);
}

.butter-teaser .button {
  gap: 20px;
}

.butter-teaser-copy > p.butter-teaser-hint {
  margin: 18px 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.butter-teaser-hint a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.butter-teaser h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  text-wrap: balance;
}

.butter-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 18px;
}

.butter-shot:nth-child(2) {
  margin-top: 48px;
}

.butter-shot img {
  width: 100%;
  max-height: none;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(53, 45, 39, 0.22);
}

/* 8. Studio --------------------------------------------------------------- */
.studio {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 65px;
  margin-top: 5px;
  border-top: 1px solid var(--border);
}

.founder-card {
  position: sticky;
  top: 25px;
  margin-top: 35px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.founder-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 5px 0 40px;
  border-radius: 10px;
  aspect-ratio: 1;
  object-fit: cover;
}

.founder-avatar {
  display: grid;
  place-items: center;
  width: 132px;
  aspect-ratio: 1;
  margin: 5px 0 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.founder-name {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.founder-card p {
  margin: 10px 0 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.founder-card > span {
  font-size: 0.875rem;
  color: var(--muted);
}

.studio-copy h2 {
  font-size: clamp(2.15rem, 3.6vw, 3.7rem);
}

.studio-copy > p {
  max-width: 650px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.studio-copy > p:first-of-type {
  margin-top: 35px;
}

.origin-story {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.origin-story .eyebrow {
  display: block;
  margin: 0 0 12px;
  font-size: 0.75rem;
  color: var(--accent);
}

.origin-story h3 {
  margin: 0 0 15px;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.origin-story p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}

.origin-story blockquote {
  margin: 25px 0;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
  font-size: 1.65rem;
  line-height: 1.4;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid var(--border);
}

.principles span {
  font-size: 0.75rem;
  color: var(--accent);
}

.principles h3 {
  margin: 16px 0 10px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.principles p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* 9. Kontakt -------------------------------------------------------------- */
.contact {
  padding-top: 70px;
  padding-bottom: 85px;
  border-top: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.contact-intro {
  max-width: 390px;
  margin: 25px 0 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.contact-panel {
  min-width: 0;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--panel);
}

.contact-person {
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-email {
  display: block;
  margin: 25px 0 28px;
  font-size: clamp(1.15rem, 2.3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.contact-panel > p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.contact-topics a {
  min-height: 44px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  font-size: 0.875rem;
}

.contact-topics a:hover {
  border-color: var(--accent);
}

.contact-panel .contact-hint {
  margin: 25px 0 15px;
  font-size: 0.875rem;
  color: var(--muted);
}

.contact-privacy {
  font-size: 0.875rem;
  line-height: 1.6;
  text-decoration: underline;
}

/* 10. Dialoge ------------------------------------------------------------- */
dialog {
  width: calc(100% - 32px);
  max-width: 580px;
  max-height: 85vh;
  padding: 50px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
}

dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(7px);
}

dialog h2 {
  font-size: 2.7rem;
}

dialog p {
  color: var(--muted);
}

dialog .eyebrow,
.dialog-tagline {
  color: var(--accent);
}

dialog .button {
  margin-top: 15px;
}

.close {
  position: absolute;
  top: 12px;
  right: 20px;
  padding: 4px 8px;
  border: 0;
  background: transparent;
  color: var(--fg);
  font-size: 2rem;
}

.screenshot-dialog {
  max-width: 950px;
  max-height: 92vh;
  padding: 35px;
}

.screenshot-dialog h2 {
  padding-right: 35px;
  font-size: 1.3rem;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.screenshot-dialog > p {
  margin: 8px 0 20px;
  font-size: 0.875rem;
}

.screenshot-dialog > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 65vh;
  margin: auto;
  object-fit: contain;
}

.screenshot-dialog .button {
  display: flex;
  justify-content: center;
  max-width: 250px;
  margin: 22px auto 0;
}

/* 11. Rechtliche Seiten --------------------------------------------------- */
.legal-page {
  max-width: 1000px;
  margin: auto;
  padding: 65px var(--gutter) 85px;
}

.legal-page h1 {
  margin: 22px 0;
  font-size: clamp(2.2rem, 5vw, 4.1rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.legal-date {
  margin-bottom: 40px;
  font-size: 0.875rem;
  color: var(--muted);
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin: -15px 0 35px;
}

.legal-print {
  min-height: 44px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
  font-size: 0.875rem;
}

.legal-print:hover {
  background: var(--panel);
}

.legal-actions a {
  font-size: 0.875rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page section {
  margin: 35px 0;
  scroll-margin-top: 25px;
}

.legal-page h2 {
  margin-bottom: 16px;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.legal-page p {
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.legal-page p.eyebrow {
  font-size: 0.8rem;
  line-height: 1.7;
}

.legal-page p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin: 35px 0;
  padding: 25px;
  border-left: 4px solid var(--accent);
  border-radius: 5px;
  background: var(--panel);
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.legal-toc {
  display: block;
  margin: 30px 0;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--section);
}

.legal-toc ol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
  margin-bottom: 0;
  padding-left: 20px;
}

.legal-toc a {
  font-size: 0.95rem;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-group-heading {
  margin: 30px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
}

.legal-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.legal-link-grid a {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--section);
  line-height: 1.5;
}

.legal-link-grid a:hover {
  border-color: var(--accent);
}

.legal-link-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.legal-link-grid span {
  font-size: 0.875rem;
  color: var(--muted);
}

.rights-note {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--section);
}

.rights-note h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  line-height: 1.5;
}

.rights-note p {
  margin: 0;
}

.legal-page .legal-sources {
  margin-top: 45px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
}

/* Fehlerseite */
.error-page {
  max-width: 900px;
  margin: auto;
  padding: 90px var(--gutter) 110px;
}

.error-page p:not(.eyebrow) {
  max-width: 520px;
  margin: 25px 0 32px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Platzhalter, die vor der Veröffentlichung ersetzt werden müssen */
.todo {
  padding: 1px 6px;
  border-radius: 4px;
  background: #fff1a8;
  color: #4a3b00;
  font-weight: 600;
}

/* 12. Responsive Anpassungen ---------------------------------------------- */
@media (min-width: 1500px) {
  .header,
  footer {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 900px) {
  .header nav {
    gap: 22px;
  }

  .hero {
    padding-top: 50px;
  }

  .section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .vivunea-detail {
    padding-top: 35px;
  }

  .product {
    padding: 24px;
  }

  .product-title {
    min-height: 220px;
  }

  .screenshot-grid {
    gap: 16px;
  }

  .screenshot-card {
    padding: 18px;
  }

  .gallery-heading {
    display: block;
  }

  .gallery-heading p {
    margin-top: 12px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .butter-teaser-panel {
    gap: 30px;
    padding: 35px;
  }

  .studio {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .studio-label .eyebrow {
    margin: 0;
  }

  .founder-card {
    position: static;
    max-width: 400px;
    margin-top: 25px;
  }

  .founder-photo {
    max-width: 300px;
  }

  .principles {
    gap: 18px;
  }

  .contact-layout {
    gap: 35px;
  }

  .contact-panel {
    padding: 25px;
  }
}

@media (max-width: 600px) {
  .header {
    flex-wrap: wrap;
    gap: 0;
  }

  .brand-logo {
    width: 175px;
  }

  nav {
    gap: 16px;
    font-size: 0.8rem;
  }

  .header > nav {
    gap: 14px;
    margin-left: auto;
  }

  .header .nav-pill {
    display: inline-flex;
    padding: 9px 12px;
  }

  .header .legal-back {
    font-size: 0.8rem;
  }

  .legal-nav {
    gap: 16px;
    font-size: 0.875rem;
  }

  footer {
    align-items: start;
  }

  footer p {
    width: 100%;
    margin: 0;
  }

  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.09em;
  }

  .hero {
    padding-top: 38px;
  }

  h1 {
    margin-top: 27px;
    font-size: clamp(2.85rem, 10.3vw, 4rem);
    line-height: 1.08;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: start;
    gap: 28px;
    padding-bottom: 38px;
  }

  .hero-bottom p {
    font-size: 1rem;
  }

  .hero-foot {
    gap: 20px;
    font-size: 0.65rem;
    line-height: 1.6;
  }

  .hero-foot span:last-child {
    text-align: right;
  }

  .section {
    scroll-margin-top: 16px;
  }

  .section-top {
    display: block;
    margin-bottom: 30px;
  }

  .section-intro {
    margin-top: 23px;
  }

  .section-intro span {
    display: inline;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-title {
    min-height: 225px;
  }

  .product-title h3,
  .vivunea .product-title h3 {
    font-size: 3.7rem;
  }

  .product-foot {
    gap: 9px;
  }

  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-card {
    padding: 25px;
  }

  .screenshot-card figcaption > p {
    min-height: 0;
  }

  .screenshot-trigger img {
    max-height: 510px;
  }

  .screenshot-cash .screenshot-trigger img {
    width: 100%;
  }

  .gallery-note {
    margin-top: 24px;
  }

  .feature-grid,
  .vivunea-highlight {
    grid-template-columns: 1fr;
  }

  .vivunea-highlight {
    gap: 28px;
    padding: 24px;
  }

  .vivunea-links {
    flex-direction: column;
    align-items: stretch;
  }

  .vivunea-links .button {
    justify-content: center;
  }

  .vivunea-links > span {
    text-align: center;
  }

  .butter-teaser-panel {
    grid-template-columns: 1fr;
    padding: 28px 24px 36px;
  }

  .butter-shots {
    gap: 12px;
  }

  .butter-shot:nth-child(2) {
    margin-top: 28px;
  }

  .butter-teaser .button {
    justify-content: center;
    width: 100%;
  }

  .studio-copy h2 {
    font-size: 2.25rem;
  }

  .founder-card {
    max-width: none;
  }

  .founder-photo {
    max-width: 300px;
    margin-bottom: 25px;
  }

  .founder-avatar {
    width: 104px;
    margin-bottom: 25px;
    font-size: 2.4rem;
  }

  .origin-story blockquote {
    font-size: 1.4rem;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .principles div {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
  }

  .principles h3 {
    margin: 0;
  }

  .principles p {
    grid-column: 2;
  }

  .principles span {
    padding-top: 3px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-email {
    font-size: 1.45rem;
  }

  .contact-panel {
    padding: 25px;
  }

  dialog {
    padding: 38px 24px;
  }

  dialog h2 {
    font-size: 2.3rem;
  }

  .screenshot-dialog {
    padding: 30px 20px;
  }

  .legal-page {
    padding-top: 38px;
  }

  .legal-page p.eyebrow {
    font-size: 0.75rem;
  }

  .legal-note {
    padding: 20px;
  }

  .legal-toc ol,
  .legal-link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand-logo {
    width: 165px;
  }

  .header > nav {
    justify-content: space-between;
    width: 100%;
    padding-top: 5px;
  }

  .header .legal-back {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}

/* 13. Druckansicht -------------------------------------------------------- */
@media print {
  html,
  body {
    background: white !important;
    color: black !important;
    font-size: 11pt;
  }

  .skip,
  .header,
  .legal-actions,
  .legal-toc,
  footer {
    display: none !important;
  }

  .legal-page {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .legal-page h1 {
    margin: 0 0 12pt;
    font-size: 24pt;
    line-height: 1.2;
  }

  .legal-page h2 {
    font-size: 14pt;
    break-after: avoid;
  }

  .legal-page h3 {
    font-size: 12pt;
    break-after: avoid;
  }

  .legal-page p {
    font-size: 11pt;
    line-height: 1.5;
  }

  .legal-date {
    margin: 0 0 16pt;
    font-size: 10pt;
    color: black;
  }

  .legal-note,
  .rights-note,
  .legal-link-grid a {
    padding: 12pt;
    border: 1px solid #777;
    background: white !important;
    color: black;
    box-shadow: none;
  }

  .legal-note,
  .rights-note,
  .legal-sources {
    break-inside: avoid;
  }

  .legal-page a,
  .legal-link-grid span {
    color: black !important;
  }

  .legal-link-grid {
    display: block;
  }

  .legal-link-grid a {
    display: block;
    margin: 8pt 0;
    break-inside: avoid;
  }

  .legal-link-grid a[href^="https://"]::after {
    content: attr(href);
    display: block;
    margin-top: 4pt;
    font-size: 9pt;
    overflow-wrap: anywhere;
  }
}

/* Butter up!: Galerie unter der Vorschau */
.butter-gallery {
  margin-top: 55px;
}
