/* Globale Basis */
:root {
  --text: #333333;
  --muted: #666666;
  --nav-bg: #222222;
  --nav-bg-hover: #111111;
  --nav-text: #ffffff;
  --accent: #fe0000;
  --accent-dark: #c90000;
  --line: #dddddd;
  --soft: #f7f7f7;
  --footer-bg: #2b2b2b;
  --hero-image-height: 430px;
  --mobile-feature-image-gap: 14px;
  --mobile-collapsed-preview-height: 54px;
  --mobile-read-more-text-gap: 0;
  --mobile-after-read-more-gap: 20px;
  --mobile-image-after-read-more-gap: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(254,0,0,.34);
  outline-offset: 3px;
  border-radius: 4px;
}

.button-row {
  display: flex; flex-wrap: wrap; gap: 12px;
}

.claim {
  color: var(--muted);
  font-size: 14px;
  text-align: right;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

.content-block:first-child {
  padding-top: 0;
}

.content-block:last-child {
  padding-bottom: 0;
}

.cta-block {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.04);
  transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}

.cta-block:hover,
.cta-block:focus-within {
  border-color: #d8d8d8;
  box-shadow: 0 16px 34px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.faq details p {
  margin: 0;
  padding: 7px 18px 17px;
}

.faq details {
  background: var(--soft);
  border: 1px solid var(--line);
  margin-top: 12px;
  padding: 0;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transform-origin: 50% 50%;
  transition:
    transform .55s cubic-bezier(.22, .61, .36, 1),
    color .35s ease;
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  padding: 16px 48px 16px 18px;
  position: relative;
}

.faq summary:focus-visible {
  background: rgba(254,0,0,.04);
}

.faq details[open] summary::after {
  content: "−";
  color: var(--accent);
  transform: translateY(-50%) rotate(180deg);
}

.faq details[open] p {
  animation: faq-answer .7s cubic-bezier(.22, .61, .36, 1);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.lead {
  font-size: 18px;
  color: #444;
  margin-top: 0;
}

.logo img {
  display: block;
  height: 76px;
  max-width: 100%;
}

.logo {
  display: block;
  text-decoration: none;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
}

.topbar {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 18px 26px 14px;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  gap: 20px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

a:hover {
  text-decoration: underline;
}

a {
  color: var(--accent-dark); text-decoration: none;
}

h1, h2, h3 {
  margin: 0 0 14px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #fff;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  line-height: 1.55;
}

h2 {
  font-size: 46px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.2;
  color: #222;
}

body.page-index h2,
body.page-fotobox h2,
body.page-hochzeitsfotograf h2 {
  margin: 0 0 18px;
}

body.page-index .content-block > :first-child {
  margin-top: 0;
}

body.page-index .content-block > :last-child {
  margin-bottom: 0;
}

h3 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: #222;
  margin-top: 0;
  padding-top: 14px;
}

.content-block {
  padding: 28px 0;
}

.btn {
  display: inline-block;
  color: #fff;
  background: #747474;
  border: 1px solid #686868;
  border-radius: 6px;
  padding: 11px 18px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  color: #fff;
  background: #5f5f5f;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.14);
}

.btn:focus-visible {
  outline-color: rgba(254,0,0,.42);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.14);
}

.btn:visited,
.btn:active {
  color: #fff;
}

.btn.secondary {
  background: #747474;
  border-color: #686868;
}

.btn.secondary:hover {
  background: #5f5f5f;
}

.hero-image .btn,
.hero-wedding .btn,
.hero-business .btn,
.hero-vorlagen .btn,
.hero-birthday .btn,
.hero-ball .btn {
  color: #222;
  background: rgba(255,255,255,.52);
  border-color: rgba(0,0,0,.22);
}

.hero-image .btn:hover,
.hero-wedding .btn:hover,
.hero-business .btn:hover,
.hero-vorlagen .btn:hover,
.hero-birthday .btn:hover,
.hero-ball .btn:hover {
  color: #222;
  background: rgba(255,255,255,.72);
}

.hero-image .btn:hover,
.hero-wedding .btn:hover,
.hero-business .btn:hover,
.hero-vorlagen .btn:hover,
.hero-birthday .btn:hover,
.hero-ball .btn:hover,
.hero-image .btn:focus-visible,
.hero-wedding .btn:focus-visible,
.hero-business .btn:focus-visible,
.hero-vorlagen .btn:focus-visible,
.hero-birthday .btn:focus-visible,
.hero-ball .btn:focus-visible {
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

.hero-image .btn:visited,
.hero-image .btn:active,
.hero-wedding .btn:visited,
.hero-wedding .btn:active,
.hero-business .btn:visited,
.hero-vorlagen .btn:visited,
.hero-business .btn:active,
.hero-vorlagen .btn:active,
.hero-birthday .btn:visited,
.hero-birthday .btn:active,
.hero-ball .btn:visited,
.hero-ball .btn:active {
  color: #222;
}

.hero-wedding,
.hero-business,
.hero-vorlagen,
.hero-birthday,
.hero-ball {
  min-height: var(--hero-image-height);
  height: var(--hero-image-height);
  box-sizing: border-box;
  background: url("https://www.fototogo.at/images/fototogo-bg.jpg") center center / cover no-repeat;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  padding: 52px 34px;
  color: #fff;
}

.hero-vorlagen {
  background-image: url("../images/fototogo-layouts-hochzeitsgaeste.avif");
  background-position: center 20%;
}

.hero-fotobeispiele {
  background-image: url("../images/fototogo-hochzeit-im-einsatz.avif");
  background-position: center 20%;
}

@media (max-width: 820px) {
  .hero-vorlagen {
    background-position: 30% 20%;
  }

  .hero-fotobeispiele {
    background-position: 60% 20%;
  }
}

.content-hero {
  min-height: var(--hero-image-height);
  height: var(--hero-image-height);
  box-sizing: border-box;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 42px 34px 36px;
}

.content-hero-inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.content-hero h1 {
  color: #222;
  font-size: 48px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.15;
  margin: 0 0 14px;
}

.content-hero .subheadline {
  color: #333;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 14px;
}

.content-hero .intro {
  color: #444;
  font-size: 17px;
  margin: 0;
  max-width: 760px;
}

main {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 34px 38px;
}

body.page-content main {
  padding: 34px 34px 44px;
}

body.page-content .content-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

body.page-content .content-block:last-child {
  border-bottom: 0;
}

body.page-content h2 {
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.25;
  margin-bottom: 12px;
}

body.page-content p {
  max-width: none;
}

body.page-content main a {
  color: #333;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.page-content main a:hover {
  color: #000;
}

body.page-content ul.checks {
  display: block;
  list-style: none;
  margin: 14px 0 0;
  padding: 0 0 0 28px;
}

body.page-content ul.checks li {
  margin: 0 0 8px;
  padding-left: 20px;
  position: relative;
}

body.page-content ul.checks li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

@keyframes faq-answer {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

body {
  animation: page-fade-in .22s ease both;
}

body.page-is-leaving {
  opacity: 0;
  transition: opacity .18s ease;
}

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

  body {
    animation: none;
  }

  body.page-is-leaving {
    opacity: 1;
    transition: none;
  }

  .faq summary::after {
    transition: none;
  }

  .faq details[open] p {
    animation: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cta-block,
  .cta-block:hover,
  .cta-block:focus-within {
    transform: none;
    transition: none;
  }

  .btn,
  .btn:hover,
  .btn:focus-visible {
    transform: none;
    transition: none;
  }
}

@media (min-width: 1600px) {
body.page-index .hero-image {
  background-position: center 45%;
}

}

/* Seitenspezifische Regeln */

body.page-index .hero-image {
  min-height: var(--hero-image-height);
  height: var(--hero-image-height);
  box-sizing: border-box;
  background: url("../images/fotobox-magic-mirror-hochzeit.avif") center center / cover no-repeat;
  background-position: center 45%;
  padding: 46px 34px;
}

body.page-index .hero-content {
  max-width: 720px;
}

body.page-index .hero-content h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 300;
  font-style: normal;
  text-shadow: 0 2px 4px rgba(0,0,0,.35);
  margin-bottom: 12px;
}

body.page-index .subheadline {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.2;
  color: #f4f4f4;
  font-weight: 500;
}

body.page-index .hero-content p.intro {
  color: #f4f4f4;
  font-size: 17px;
  margin: 0 0 22px;
  max-width: 680px;
}

body.page-index .box, body.page-index [aria-labelledby="anlaesse-heading"] .three-col > article, body.page-index [aria-labelledby="warum-heading"] .three-col > article {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 19px 20px;
  height: 100%;
}

body.page-index .box h3 {
  border-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.text-image-flow::after {
  content: "";
  display: block;
  clear: both;
}

body.page-index .image-placeholder {
  background:
  linear-gradient(135deg, rgba(254,0,0,.16), rgba(0,0,0,.12)),
  #e8e8e8;
  border: 1px solid #d1d1d1;
  min-height: 210px;
  display: grid;
  place-items: center;
  color: #555;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  margin-bottom: 18px;
}

.text-image-flow-image {
  display: block;
  float: left;
  width: min(42%, 380px);
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  margin: 0 20px 12px 0;
  border: 1px solid #d1d1d1;
}

.text-image-flow-reverse .text-image-flow-image {
  float: right;
  margin: 0 0 12px 20px;
}

.text-image-flow h2,
.text-image-flow h3 {
  hyphens: auto;
  overflow-wrap: break-word;
}

body.page-index ul.checks {
  list-style: none;
  padding: 0 0 0 28px;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  column-gap: 34px;
}

body.page-index ul.checks li {
  margin: 0 0 8px;
  padding-left: 20px;
  position: relative;
  white-space: normal;
}

body.page-index ul.checks li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
}

body.page-index .index-feature-split {
  margin-bottom: 22px;
}

body.page-index .content-block > .index-feature-split:last-child {
  margin-bottom: 0;
}

body.page-index .index-feature-image {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  border: 1px solid #d1d1d1;
}

body.page-index .index-feature-image-lower {
  object-position: center 72%;
}

body.page-index .index-quality-split {
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
}

body.page-index .index-quality-split .index-feature-image {
  aspect-ratio: 3 / 2;
  height: auto;
}

.mobile-only-image {
  display: none;
}

body.page-kalender .content-hero,
body.page-kalender .content-hero-inner,
body.page-kalender .content-hero .intro,
body.page-login .content-hero,
body.page-login .content-hero-inner,
body.page-login .content-hero .intro {
  text-align: center;
}

body.page-kalender .content-hero .intro,
body.page-login .content-hero .intro {
  margin-left: auto;
  margin-right: auto;
}

body.page-kalender main,
body.page-login main {
  padding-top: 24px;
}

body.page-kalender .content-block,
body.page-login .content-block {
  border-bottom: 0;
  padding-bottom: 0;
}

.calendar-panel,
.login-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  text-align: center;
}

.calendar-panel {
  padding: 24px;
}

.login-panel {
  padding: 26px 24px;
}

.calendar-input-wrap {
  display: grid;
  grid-template-columns: minmax(160px, 180px) minmax(170px, 210px);
  gap: 16px;
  justify-content: center;
  margin: 18px auto 0;
}

.calendar-input-wrap input,
.calendar-input-wrap select,
.calendar-form input,
.calendar-form select,
.calendar-form textarea,
.login-form input[type="text"],
.login-form input[type="password"] {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
  color: var(--text);
}

.calendar-input-wrap input,
.calendar-input-wrap select {
  text-align: center;
}

.calendar-status {
  display: none;
  color: #2f7d32;
  font-size: 22px;
  font-weight: 500;
  margin: 18px 0 0;
}

.calendar-contact {
  display: none;
  margin-top: 24px;
}

.calendar-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  text-align: left;
}

.calendar-form-row {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.calendar-form label,
.login-form label {
  font-weight: 600;
}

.calendar-form label {
  padding-top: 10px;
}

.calendar-form .messages {
  grid-column: 1 / -1;
}

.calendar-form .form-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 5px;
}

.calendar-submit {
  text-align: right;
}

.email-d {
  display: none;
}

.loadercontainer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.72);
}

.loader {
  position: absolute;
  top: 34%;
  left: calc(50% - 60px);
  width: 120px;
  height: 120px;
  border: 16px solid #f3f3f3;
  border-top: 16px solid #747474;
  border-bottom: 16px solid #747474;
  border-radius: 50%;
  animation: spin 2s linear infinite;
}

.alert {
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #fff;
}

.alert-success {
  border-color: #b7d7b8;
  background: #f1f8f1;
}

.alert-danger {
  border-color: #e2b6b6;
  background: #fff3f3;
}

.login-card {
  width: min(100%, 420px);
  margin: 24px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  text-align: left;
}

.login-card h2 {
  text-align: center;
  margin-bottom: 18px;
}

.login-form {
  display: grid;
  gap: 14px;
}

.login-actions {
  text-align: right;
  margin-top: 4px;
}

.login-info {
  margin-top: 24px;
  text-align: center;
}

.scroll-top-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(254,0,0,.82);
  color: #fff;
  font-size: 0;
  line-height: 1;
  display: grid;
  place-items: center;
  padding-bottom: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease, background .22s ease;
}

.scroll-top-button::before {
  content: "↑";
  display: block;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-2px);
}

.scroll-top-button.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-button:hover,
.scroll-top-button:focus-visible {
  background: rgba(181,0,0,.94);
}

.scroll-top-button:focus-visible {
  outline: 3px solid rgba(254,0,0,.28);
  outline-offset: 3px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body.page-index .steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 24px;
  position: relative;
}

body.page-index .steps::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 23px;
  height: 2px;
  background: var(--line);
}

body.page-index .step {
  padding: 58px 12px 0;
  min-height: 0;
  position: relative;
  text-align: center;
}

body.page-index .step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 46px;
  height: 46px;
  transform: translateX(-50%);
  border: 2px solid #8f8f8f;
  border-radius: 50%;
  background: #fff;
  color: #222;
  display: grid;
  place-items: center;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 0 8px #fff;
}

body.page-index .step h3 {
  font-size: 17px;
  font-weight: 700;
  padding-top: 0;
  margin-bottom: 8px;
}

body.page-index .step h3::before {
  content: none;
}

body.page-index .region-note {
  background: var(--soft);
  border-left: 5px solid #b5b5b5;
  padding: 17px 20px;
  margin-top: 18px;
}

body.page-index .contact-form-preview {
  max-width: 720px;
  margin: 20px auto 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

body.page-index .contact-form-preview label {
  font-weight: 700; font-size: 14px;
}

body.page-index .contact-form-preview input, body.page-index .contact-form-preview textarea {
  width: 100%;
  border: 1px solid #bbb;
  padding: 9px;
  font: inherit;
  background: #fff;
}

body.page-index .contact-form-preview .full {
  grid-column: 1 / -1;
}

body.page-index .contact-form-preview .messages,
body.page-index .contact-form-preview .contact-submit {
  grid-column: 1 / -1;
}

body.page-index .contact-submit {
  text-align: center;
}

.mobile-read-more {
  display: none;
}

.mobile-collapsible-content > :first-child {
  margin-top: 0;
}

.mobile-collapsible-content > :last-child {
  margin-bottom: 0;
}

.mobile-heading,
.mobile-lead {
  display: none;
}

body.page-product .hero-product {
  --product-hero-padding-y: 44px;
  --product-hero-padding-x: 34px;
  --product-hero-image-height: calc(var(--hero-image-height) - (var(--product-hero-padding-y) * 2));
  min-height: var(--hero-image-height);
  height: auto;
  box-sizing: border-box;
  padding: var(--product-hero-padding-y) var(--product-hero-padding-x);
  background: #f7f7f7;
  display: flex;
  align-items: center;
}

body.page-product .hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 34px;
  align-items: center;
}

body.page-product .hero-product h1 {
  font-size: 48px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.15;
  color: #222;
  margin-bottom: 12px;
}

body.page-product .subheadline {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.2;
  color: #444;
  font-weight: 500;
}

body.page-product .hero-product p.intro {
  color: #444;
  font-size: 17px;
  margin: 0 0 22px;
  max-width: 720px;
}

body.page-product .hero-product-image:not(img) {
  background:
  linear-gradient(135deg, rgba(254,0,0,.13), rgba(0,0,0,.09)),
  #e8e8e8;
  border: 1px solid #d1d1d1;
  min-height: 330px;
  display: grid;
  place-items: center;
  color: #555;
  font-weight: 700;
  text-align: center;
  padding: 24px;
}

body.page-product img.hero-product-image {
  display: block;
  align-self: start;
  justify-self: stretch;
  width: 100%;
  min-height: 0;
  height: var(--product-hero-image-height);
  object-fit: cover;
  object-position: center top;
  border: 0;
}

body.page-magic-mirror img.hero-product-image {
  object-position: center 50%;
}

body.page-fotobox-technik img.hero-product-image {
  object-position: center 30%;
}

body.page-product .box, body.page-product .three-col > article {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 19px 20px;
  height: 100%;
}

body.page-product .box h3, body.page-product .three-col > article h3 {
  padding-bottom: 0;
}

@media (max-width: 1140px) and (min-width: 821px) {
  body.page-product .hero-product {
    --product-hero-padding-y: 38px;
    --product-hero-padding-x: 28px;
    min-height: auto;
    height: auto;
  }

  body.page-product .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    gap: 24px 28px;
    align-items: start;
  }

  body.page-product .hero-grid > :not(.hero-product-image) {
    display: contents;
  }

  body.page-product .hero-product h1 {
    grid-column: 1;
    grid-row: 1;
    font-size: 40px;
    line-height: 1.12;
    margin-bottom: 10px;
  }

  body.page-product .subheadline {
    grid-column: 1;
    grid-row: 2;
    font-size: 22px;
    line-height: 1.22;
    margin-bottom: 0;
  }

  body.page-product .hero-product-image {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    align-self: start;
  }

  body.page-product img.hero-product-image {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  body.page-product .hero-product p.intro {
    grid-column: 1 / -1;
    grid-row: 3;
    max-width: none;
    margin: 0;
  }

  body.page-product .button-row {
    grid-column: 1 / -1;
    grid-row: 4;
    flex-direction: row;
    margin-top: 2px;
  }

  body.page-magic-mirror .hero-product-image {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  body.page-magic-mirror .hero-product h1,
  body.page-magic-mirror .subheadline {
    grid-column: 2;
  }
}

body.page-product .image-placeholder {
  background:
  linear-gradient(135deg, rgba(254,0,0,.16), rgba(0,0,0,.12)),
  #e8e8e8;
  border: 1px solid #d1d1d1;
  min-height: 230px;
  display: grid;
  place-items: center;
  color: #555;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  margin-bottom: 18px;
}

body.page-product .product-content-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
}

body.page-product ul.checks, body.page-product ul.tech-list {
  list-style: none;
  padding: 0 0 0 28px;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, max-content));
  grid-auto-flow: row;
  column-gap: 56px;
}

body.page-product ul.checks li, body.page-product ul.tech-list li {
  margin: 0 0 8px;
  padding-left: 20px;
  position: relative;
}

body.page-product ul.checks li::before, body.page-product ul.tech-list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
}

body.page-product .three-col ul.checks {
  grid-template-columns: 1fr;
  column-gap: 0;
}

body.page-product ul.tech-list {
  grid-template-columns: repeat(2, minmax(360px, max-content));
  column-gap: 150px;
}

body.page-product [aria-labelledby="umfang-heading"] ul.checks {
  grid-template-columns: 1fr;
  column-gap: 0;
}

body.page-product .included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  column-gap: 28px;
  row-gap: 16px;
  margin-top: 14px;
}

body.page-product .included-grid h3 {
  font-size: 20px;
  padding-top: 0;
  margin: 14px 0 1px;
}

body.page-product .included-grid h3 + ul.checks {
  margin-top: 6px;
}

body.page-product [aria-labelledby="extras-heading"] .two-col article > p:first-child {
  margin-top: 0;
}

body.page-product .magic-note .lead {
  margin-bottom: 4px;
}

body.page-product .magic-note p + p {
  margin-top: 0;
}

body.page-product .feature-grid {
  margin-top: 22px;
}

body.page-product .fotobox-note .lead {
  margin-bottom: 4px;
}

body.page-product .fotobox-note p + p {
  margin-top: 0;
}

body.page-event .hero-content {
  max-width: 780px;
}

body.page-hochzeiten .hero-wedding {
  background: url("../images/fotobox-hochzeit-gaeste.avif") center center / cover no-repeat;
  background-position: center 20%;
}

body.page-event .hero-content h1 {
  font-size: 48px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0,0,0,.35);
  margin-bottom: 12px;
}

body.page-event .hero-content .subheadline {
  margin: 0 0 22px;
  font-size: 24px;
  line-height: 1.25;
  color: #f4f4f4;
  font-weight: 500;
}

body.page-event .hero-content p.intro {
  color: #f4f4f4;
  font-size: 17px;
  margin: 0 0 22px;
  max-width: 720px;
}

body.page-event .feature-grid {
  margin-top: 22px;
}

body.page-event .box,
body.page-event .three-col > article {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 19px 20px;
  height: 100%;
}

body.page-event .box h3,
body.page-event .three-col > article h3 {
  padding-top: 0;
}

body.page-event .image-placeholder {
  background:
  linear-gradient(135deg, rgba(254,0,0,.16), rgba(0,0,0,.12)),
  #e8e8e8;
  border: 1px solid #d1d1d1;
  min-height: 260px;
  display: grid;
  place-items: center;
  color: #555;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  margin-bottom: 18px;
}

body.page-event .product-content-image {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
  margin-bottom: 18px;
  border: 0;
}


ul.custom-layout-checks {
  margin-left: 20px;
  padding-left: 28px;
}

ul.custom-layout-checks li {
  padding-left: 26px;
}

body.page-fotobeispiele .photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 22px;
}

body.page-fotobeispiele .photo-gallery figure {
  margin: 0;
  background: #f2f2f2;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

body.page-fotobeispiele .photo-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

body.page-fotobeispiele .print-gallery img {
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}

body.page-fotobeispiele .photo-gallery figcaption {
  padding: 12px 14px;
  font-size: 15px;
  color: #333;
}

body.page-fotobeispiele .feature-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: 4px 0 14px;
  border-radius: 6px;
}

body.page-event .wide-image {
  min-height: 340px;
  margin-top: 18px;
}

body.page-hochzeiten section[aria-labelledby="momente-heading"] .wide-image {
  margin-top: 0;
}

body.page-hochzeiten .soft-note {
  background: var(--soft);
  border-left: 5px solid #b5b5b5;
  padding: 17px 20px;
  margin-top: 18px;
}

body.page-hochzeiten ul.checks {
  list-style: none;
  padding: 0 0 0 28px;
  margin: 14px 0 0;
}

body.page-hochzeiten ul.checks li {
  margin: 0 0 8px;
  padding-left: 20px;
  position: relative;
}

body.page-hochzeiten ul.checks li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
}

body.page-event .choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 18px;
}

body.page-event .choice-grid article {
  border: 1px solid var(--line);
  background: var(--soft);
  padding: 20px;
}

body.page-event .choice-grid h3 {
  padding-top: 0;
}

body.page-vorlagen .layout-choice-grid article {
  display: grid;
  grid-template-columns: minmax(120px, 34%) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.page-vorlagen .layout-choice-grid .product-content-image {
  aspect-ratio: 2 / 3;
  margin-bottom: 0;
}

body.page-vorlagen .layout-choice-text > :first-child {
  margin-top: 0;
}

body.page-vorlagen .layout-choice-text > :last-child {
  margin-bottom: 0;
}

body.page-steiermark .location-list {
  margin: 12px 0 0;
  padding-left: 20px;
}

body.page-locations .location-list {
  margin: 0;
  padding-left: 20px;
}

body.page-locations .location-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

body.page-steiermark .content-hero .subheadline,
body.page-steiermark .content-hero .intro {
  max-width: none;
  width: 100%;
}

body.page-steiermark .location-list li,
body.page-locations .location-list li {
  margin-bottom: 6px;
}

body.page-steiermark .event-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.page-steiermark .event-card-grid a {
  color: inherit;
}

body.page-firmenfeiern section[aria-labelledby="eventwirkung-heading"] .wide-image {
  margin-top: 0;
}

body.page-geburtstagsfeier section[aria-labelledby="abend-heading"] .wide-image {
  margin-top: 0;
}

body.page-maturaball section[aria-labelledby="events-heading"] .wide-image {
  margin-top: 0;
}

body.page-hochzeitsfotograf .photo-hero {
  min-height: calc(100vh - 120px);
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.56)),
    url("../images/hochzeitsfotograf-steiermark.avif") center 35% / cover no-repeat;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 72px 34px 138px;
}

body.page-hochzeitsfotograf .photo-hero-content {
  max-width: 880px;
}

body.page-hochzeitsfotograf .photo-hero h1 {
  color: #fff;
  font-size: 56px;
  font-weight: 300;
  font-style: normal;
  line-height: 1.08;
  margin: 0 0 16px;
  text-shadow: 0 2px 5px rgba(0,0,0,.38);
}

body.page-hochzeitsfotograf .photo-hero .subheadline {
  color: #f4f4f4;
  font-size: 24px;
  line-height: 1.3;
  margin: 0;
  max-width: 820px;
  text-shadow: 0 1px 4px rgba(0,0,0,.34);
}

body.page-hochzeitsfotograf .photographer-split {
  align-items: start;
}

body.page-hochzeitsfotograf .photographer-image:not(.text-image-flow-image) {
  display: block;
  width: 100%;
  height: 340px;
  min-height: 340px;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 0;
}

body.page-hochzeitsfotograf .photographer-portrait:not(.text-image-flow-image) {
  display: block;
  width: 100%;
  min-height: 360px;
  height: 360px;
  object-fit: cover;
  object-position: center 18%;
  border: 1px solid #d1d1d1;
  margin-bottom: 0;
}

body.page-hochzeitsfotograf .photographer-portrait.text-image-flow-image {
  object-position: center 18%;
}

body.page-hochzeitsfotograf .feature-grid,
body.page-hochzeitsfotograf .photographer-gallery {
  margin-top: 22px;
}

body.page-hochzeitsfotograf .feature-grid > article {
  background: var(--soft);
  border: 1px solid var(--line);
  padding: 19px 20px;
  height: 100%;
}

body.page-hochzeitsfotograf .photographer-gallery figure {
  margin: 0;
}

body.page-hochzeitsfotograf .photographer-gallery .image-placeholder {
  min-height: 230px;
  margin-bottom: 10px;
}

body.page-hochzeitsfotograf .photographer-gallery img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 10px;
}

body.page-hochzeitsfotograf .photographer-gallery img.gallery-focus-lower {
  object-position: center 12%;
}

body.page-hochzeitsfotograf .photographer-gallery img.gallery-focus-down {
  object-position: center 15% !important;
}

body.page-hochzeitsfotograf .photographer-gallery img.gallery-focus-dance {
  object-position: center 17%;
}

body.page-hochzeitsfotograf .photographer-gallery figcaption {
  color: #444;
  font-size: 15px;
}

body.page-hochzeitsfotograf ul.checks {
  list-style: none;
  padding: 0 0 0 28px;
  margin: 14px 0 0;
}

body.page-hochzeitsfotograf ul.checks li {
  margin: 0 0 8px;
  padding-left: 20px;
  position: relative;
}

body.page-hochzeitsfotograf ul.checks li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
}

main ul.checks,
main ul.tech-list,
main ul.custom-layout-checks,
main ul.location-list {
  list-style: disc !important;
  padding-left: 22px !important;
  color: var(--text);
}

main ul.checks li,
main ul.tech-list li,
main ul.custom-layout-checks li,
main ul.location-list li {
  padding-left: 0 !important;
  position: static !important;
}

main ul.checks li::before,
main ul.tech-list li::before,
main ul.custom-layout-checks li::before,
main ul.location-list li::before {
  content: none !important;
}

@media (max-width: 820px) {
  .button-row {
    flex-direction: column;
    align-items: center;
  }

  .button-row .btn {
    width: min(100%, 230px);
    text-align: center;
  }

  .btn {
    padding: 10px 15px;
    font-size: 15px;
  }

  .claim {
    align-self: flex-end;
    text-align: right;
    white-space: normal;
  }

  .logo img {
    height: 62px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  h2 {
    font-size: 27px;
    line-height: 1.16;
    margin-bottom: 10px;
  }

  body.page-index h2,
  body.page-fotobox h2,
  body.page-hochzeitsfotograf h2 {
    margin: 0 0 14px;
  }

  h3 {
    font-size: 23px;
  }

  .desktop-heading,
  .desktop-lead {
    display: none;
  }

  .mobile-heading,
  .mobile-lead {
    display: inline;
  }

  main {
    padding: 24px 22px 22px;
  }

  body.page-index .hero-image {
    min-height: auto;
    height: auto;
    padding: 34px 24px;
  }

  body.page-index .two-col,
  body.page-index .three-col,
  body.page-index .contact-form-preview {
    grid-template-columns: 1fr;
  }

  body.page-index .index-feature-split {
    gap: var(--mobile-feature-image-gap);
  }

  body.page-index .box {
    display: block;
  }

  .text-image-flow-image {
    float: none;
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    min-height: 0;
    margin: 0 0 18px;
  }

  .text-image-flow-reverse .text-image-flow-image {
    float: none;
    margin: 0 0 18px;
  }

  .text-image-flow {
    display: grid;
  }

  .text-image-flow h2,
  .text-image-flow h3 {
    order: 1;
  }

  .text-image-flow .lead {
    order: 2;
  }

  .text-image-flow .text-image-flow-image {
    order: 3;
  }

  .text-image-flow > p:not(.lead),
  .text-image-flow > .mobile-collapsible {
    order: 4;
  }

  body.page-index .steps {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 22px;
  }

  body.page-index .steps::before {
    content: none;
  }

  body.page-index .step {
    padding: 58px 0 0;
    text-align: center;
  }

  body.page-index .step::before {
    left: 50%;
    width: 42px;
    height: 42px;
    transform: translateX(-50%);
  }

  body.page-index ul.checks {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    column-gap: 0;
  }

  body.page-index ul.checks li {
    white-space: normal;
  }

  body.page-index .mobile-only-image {
    display: block;
    margin: 4px 0 22px;
  }

  body.page-index .mobile-only-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.page-event .choice-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  body.page-vorlagen .layout-choice-grid article {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.page-vorlagen .layout-choice-grid .layout-choice-text {
    display: contents;
  }

  body.page-vorlagen .layout-choice-grid h3 {
    order: 1;
  }

  body.page-vorlagen .layout-choice-grid .product-content-image {
    order: 2;
  }

  body.page-vorlagen .layout-choice-grid p {
    order: 3;
  }

  body.page-vorlagen .layout-choice-grid .product-content-image {
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px;
  }

  body.page-fotobeispiele .photo-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.page-product .two-col,
  body.page-product .three-col,
  body.page-product .included-grid,
  body.page-product ul.checks,
  body.page-product ul.tech-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  body.page-product .two-col {
    row-gap: var(--mobile-feature-image-gap);
  }

  body.page-product .mobile-only-image {
    display: block;
    margin: 4px 0 18px;
  }

  body.page-product .mobile-only-image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  body.page-event .mobile-only-image {
    display: block;
    margin: 4px 0 18px;
  }

  body.page-event .mobile-only-image img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  body.page-fotobeispiele [aria-labelledby="region-heading"] {
    padding-bottom: 0;
  }

  body.page-fotobeispiele [aria-labelledby="region-heading"] .mobile-only-image {
    margin-bottom: 8px;
  }

  body.page-fotobeispiele [aria-labelledby="hinweis-heading"] {
    padding-top: 16px;
  }

  body.page-product .included-grid {
    row-gap: 0;
  }

  body.page-product .included-grid article:nth-child(-n+2) ul.checks {
    margin-top: 0;
  }

  body.page-event .hero-wedding,
  body.page-event .hero-business,
  body.page-event .hero-vorlagen,
  body.page-event .hero-birthday,
  body.page-event .hero-ball {
    min-height: auto;
    height: auto;
    padding: 38px 24px;
  }

  body.page-hochzeiten .hero-wedding {
    background-position: center 20%;
  }

  body.page-event .two-col,
  body.page-event .three-col {
    grid-template-columns: 1fr;
  }

  body.page-event .wide-image {
    min-height: 240px;
  }

  body.page-hochzeitsfotograf .photo-hero {
    min-height: calc(var(--mobile-vh, 100svh) - var(--mobile-header-h, 0px));
    height: calc(var(--mobile-vh, 100svh) - var(--mobile-header-h, 0px));
    padding: 48px 24px 96px;
    background-position: center 35%;
    overflow: hidden;
  }

  body.page-hochzeitsfotograf .photo-hero h1 {
    font-size: 28px;
    line-height: 1.14;
    margin-bottom: 10px;
    font-weight: 400;
    font-style: normal;
  }

  body.page-hochzeitsfotograf .photo-hero .subheadline {
    font-size: 21px;
    line-height: 1.28;
  }

  body.page-index .subheadline,
  body.page-product .subheadline,
  body.page-event .hero-content .subheadline,
  .content-hero .subheadline {
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  body.page-index .subheadline {
    margin-bottom: 0;
  }

  body.page-index .hero-content p.intro {
    margin-bottom: 30px;
  }

  body.page-hochzeitsfotograf .photographer-split,
  body.page-hochzeitsfotograf .photographer-gallery {
    grid-template-columns: 1fr;
  }

  body.page-hochzeitsfotograf .photographer-split {
    row-gap: var(--mobile-feature-image-gap);
  }

  body.page-hochzeitsfotograf .photographer-split > article {
    display: contents;
  }

  body.page-hochzeitsfotograf .photographer-split h2 {
    order: 1;
  }

  body.page-hochzeitsfotograf .photographer-split .lead {
    order: 2;
  }

  body.page-hochzeitsfotograf .photographer-split .photographer-image,
  body.page-hochzeitsfotograf .photographer-split .photographer-portrait {
    order: 3;
    margin: 2px 0 2px;
  }

  body.page-hochzeitsfotograf .photographer-split .mobile-collapsible,
  body.page-hochzeitsfotograf .photographer-split article > p:not(.lead) {
    order: 4;
  }

  body.page-hochzeitsfotograf .photographer-image:not(.text-image-flow-image) {
    height: 260px;
    min-height: 260px;
  }

  body.page-hochzeitsfotograf .photographer-portrait:not(.text-image-flow-image) {
    height: 260px;
    min-height: 260px;
  }

  body.page-index .hero-content h1,
  body.page-product .hero-product h1,
  body.page-event .hero-content h1,
  .content-hero h1 {
    font-size: 27px;
    line-height: 1.14;
    margin-bottom: 10px;
    font-weight: 400;
    font-style: normal;
  }

  .content-hero {
    min-height: auto;
    height: auto;
    padding: 34px 24px 30px;
  }

  body.page-content main {
    padding: 28px 24px 34px;
  }

  body.page-content h2 {
    font-size: 21px;
    line-height: 1.18;
    margin-bottom: 9px;
  }

  .calendar-panel,
  .login-panel,
  .login-card {
    padding: 20px;
  }

  .calendar-input-wrap,
  .calendar-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calendar-input-wrap {
    max-width: 280px;
  }

  .calendar-form label {
    padding-top: 0;
  }

  .calendar-submit,
  .login-actions {
    text-align: left;
  }

  .mobile-collapsible {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .mobile-collapsible-content {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 145px;
    transition: max-height .75s cubic-bezier(.22, .8, .24, 1);
    will-change: max-height;
  }

  .mobile-collapse-short .mobile-collapsible-content {
    max-height: 86px;
  }

  .mobile-collapse-medium .mobile-collapsible-content {
    max-height: 92px;
  }

  body.page-magic-mirror .mirror-intro-collapse:not(.is-open) .mobile-collapsible-content {
    max-height: 138px;
  }

  .mobile-collapse-hidden:not(.is-open) .mobile-collapsible-content {
    max-height: var(--mobile-collapsed-preview-height);
  }

  .mobile-collapsible:not(.is-open) .mobile-collapsible-content::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 64px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 88%);
  }

  .mobile-collapsible.is-open .mobile-collapsible-content {
    max-height: 900px;
  }

  body.page-magic-mirror .mirror-intro-collapse.is-open .mobile-collapsible-content {
    max-height: 900px;
  }

  .mobile-read-more {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 6px 11px;
    border: 1px solid rgba(43, 43, 43, .24);
    border-radius: 6px;
    background: rgba(247, 247, 247, .9);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  .content-block:has(.mobile-collapsible) {
    padding-bottom: 0;
  }

  p:has(+ .mobile-collapsible) {
    margin-bottom: var(--mobile-read-more-text-gap);
  }

  .content-block:has(.mobile-collapsible) + .content-block {
    padding-top: var(--mobile-after-read-more-gap);
  }

  .content-block:has(.mobile-collapsible) + .mobile-only-image {
    margin-top: var(--mobile-image-after-read-more-gap);
  }

  .mobile-read-more:hover,
  .mobile-read-more:focus-visible {
    background: #fff;
    border-color: rgba(43, 43, 43, .36);
    box-shadow: 0 7px 16px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
  }

  .scroll-top-button {
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    font-size: 0;
  }

  .scroll-top-button::before {
    font-size: 26px;
    transform: translateY(-2px);
  }
}

@media (max-width: 950px) {
  .mobile-flow-section {
    display: flex;
    flex-direction: column;
  }

  .mobile-flow-section > h2,
  .mobile-flow-text > h2 {
    order: 0;
  }

  .mobile-flow-layout,
  .mobile-flow-text {
    display: contents;
  }

  .mobile-flow-text .lead {
    order: 1;
  }

  .mobile-flow-image {
    order: 2;
  }

  .mobile-flow-text > p:not(.lead) {
    order: 3;
  }

  .mobile-flow-text > .mobile-collapsible {
    order: 4;
  }

  .mobile-flow-after {
    order: 5;
  }

  .mobile-flow-section .mobile-collapsible {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .mobile-flow-section .mobile-collapsible-content {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 145px;
    transition: max-height .75s cubic-bezier(.22, .8, .24, 1);
    will-change: max-height;
  }

  .mobile-flow-section .mobile-collapse-short .mobile-collapsible-content {
    max-height: 86px;
  }

  .mobile-flow-section .mobile-collapse-medium .mobile-collapsible-content {
    max-height: 92px;
  }

  .mobile-flow-section .mobile-collapse-hidden:not(.is-open) .mobile-collapsible-content {
    max-height: var(--mobile-collapsed-preview-height);
  }

  .mobile-flow-section .mobile-collapsible:not(.is-open) .mobile-collapsible-content::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 64px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 88%);
  }

  .mobile-flow-section .mobile-collapsible.is-open .mobile-collapsible-content {
    max-height: 900px;
  }

  .mobile-flow-section .mobile-read-more {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 6px 11px;
    border: 1px solid rgba(43, 43, 43, .24);
    border-radius: 6px;
    background: rgba(247, 247, 247, .9);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  body.page-magic-mirror .mirror-intro-collapse:not(.is-open) .mobile-collapsible-content {
    max-height: 138px;
  }

  body.page-magic-mirror .mirror-intro-collapse.is-open .mobile-collapsible-content {
    max-height: 900px;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 820px) {
    .scroll-top-button::before {
      transform: translateY(3px);
    }
  }
}

@media (max-width: 820px) {
  body.page-product .hero-product {
    --product-hero-padding-y: 34px;
    --product-hero-padding-x: 24px;
    min-height: auto;
    height: auto;
  }

  body.page-product .hero-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
    column-gap: 0;
  }

  body.page-product .hero-grid > :not(.hero-product-image) {
    display: contents;
  }

  body.page-product .hero-product h1 {
    order: 1;
  }

  body.page-product .subheadline {
    order: 2;
    margin-bottom: 9px;
  }

  body.page-product .hero-product-image {
    order: 3;
    width: 100%;
    min-height: 0;
  }

  body.page-product img.hero-product-image {
    justify-self: stretch;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  body.page-product .hero-product p.intro {
    order: 4;
  }

  body.page-product .button-row {
    order: 5;
  }
}

@media (max-width: 1080px) and (min-width: 821px) {
  body.page-index ul.checks {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    column-gap: 0;
  }
}

@media (max-width: 360px) {
  .btn {
    max-width: 100%;
    text-align: center;
  }

  .topbar {
    padding: 16px 18px 12px;
  }

  h2 {
    font-size: 24px;
    line-height: 1.15;
    margin-bottom: 9px;
  }

  body.page-index h2,
  body.page-fotobox h2,
  body.page-hochzeitsfotograf h2 {
    margin: 0 0 12px;
  }

  h3 {
    font-size: 21px;
  }

  main {
    padding: 22px 16px 20px;
  }

  body.page-index .hero-image {
    min-height: auto;
    height: auto;
    padding: 30px 18px;
  }

  body.page-product .hero-product {
    --product-hero-padding-y: 30px;
    --product-hero-padding-x: 18px;
    min-height: auto;
    height: auto;
  }

  body.page-product .hero-product-image {
    min-height: 0;
  }

  body.page-product img.hero-product-image {
    height: auto;
  }

  body.page-index .box,
  body.page-index .step,
  body.page-index .faq details,
  body.page-index .soft-note,
  body.page-product .box,
  body.page-product .faq details,
  body.page-product .soft-note,
  body.page-product .included-grid li,
  body.page-event .box,
  body.page-event .faq details,
  body.page-event .soft-note {
    overflow-wrap: anywhere;
  }

  body.page-event .hero-wedding,
  body.page-event .hero-business,
  body.page-event .hero-vorlagen,
  body.page-event .hero-birthday,
  body.page-event .hero-ball {
    padding: 32px 18px;
  }

  body.page-hochzeiten .hero-wedding {
    background-position: center 20%;
  }

  body.page-hochzeitsfotograf .photo-hero {
    min-height: calc(var(--mobile-vh, 100svh) - var(--mobile-header-h, 0px));
    height: calc(var(--mobile-vh, 100svh) - var(--mobile-header-h, 0px));
    padding: 42px 18px 88px;
    background-position: center 35%;
    overflow: hidden;
  }

  body.page-hochzeitsfotograf .photo-hero h1 {
    font-size: 25px;
    line-height: 1.14;
  }

  body.page-index .subheadline,
  body.page-product .subheadline,
  body.page-event .hero-content .subheadline,
  body.page-hochzeitsfotograf .photo-hero .subheadline,
  .content-hero .subheadline {
    font-size: 19px;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  body.page-index .hero-content h1,
  body.page-product .hero-product h1,
  body.page-event .hero-content h1,
  .content-hero h1 {
    font-size: 24px;
    line-height: 1.14;
    font-weight: 400;
    font-style: normal;
  }

  .content-hero {
    min-height: auto;
    height: auto;
    padding: 30px 18px 26px;
  }

  body.page-content main {
    padding: 24px 18px 28px;
  }

  body.page-content h2 {
    font-size: 20px;
    line-height: 1.18;
  }
}



