/* /public_html/rmufoto2025/style/template.css */
/* RMU Foto – ruhiges, responsives Hauptdesign. */

:root {
  color-scheme: dark;

  --bg: #000000;
  --bg-2: #050505;
  --surface: rgba(8, 8, 8, .86);
  --surface-2: rgba(16, 14, 10, .86);
  --surface-soft: rgba(255, 255, 255, .025);

  --text: #f6eddc;
  --text-soft: rgba(246, 237, 220, .74);
  --muted: rgba(246, 237, 220, .54);

  --accent: #85714D;
  --accent-2: #85714D;
  --accent-3: #d0ba84;
  --accent-soft: rgba(133, 113, 77, .12);
  --accent-line: rgba(133, 113, 77, .28);

  --danger: #e07c7c;
  --success: #9bcf9b;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 34px;

  --shadow: 0 16px 42px rgba(0, 0, 0, .28);
  --shadow-strong: 0 28px 90px rgba(0, 0, 0, .52);

  --page-max: 1180px;
  --page-pad: clamp(18px, 4vw, 42px);

  --logo-field-height: 320px;
  --logo-image-width: 920px;
  --logo-image-height: 230px;
  --logo-scale: 2.5;

  --font-main: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Book Antiqua", Georgia, serif;
}

/* Grundlayout */

html {
  min-width: 0 !important;
  width: 100%;
  min-height: 100%;
  background: #000;
  scroll-behavior: smooth;
}

body {
  min-width: 0 !important;
  width: 100%;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 0%, rgba(133, 113, 77, .14), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(208, 186, 132, .08), transparent 30rem),
    linear-gradient(180deg, #000 0%, #050505 48%, #000 100%);
  color: var(--text);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .012) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .35), transparent 70%);
}

::selection {
  background: rgba(208, 186, 132, .32);
  color: #fff;
}

a {
  color: var(--accent-3);
  text-decoration: none;
}

a:hover {
  color: #f1dca7;
}

strong,
b {
  font-weight: 850;
}

small {
  color: var(--muted);
}

hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--accent-line);
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

.wrap,
.rmu-wrap,
.container,
.page-wrap {
  width: min(var(--page-max), calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
}

main.wrap,
#main.wrap {
  padding-top: clamp(26px, 5vw, 54px);
  padding-bottom: clamp(44px, 7vw, 84px);
}

/* Alte WebSite-X5-Struktur neutralisieren */

#imPageExtContainer,
#imPageIntContainer,
#imPage,
#imContent,
#imContentGraphics,
#imHeader,
#imFooter,
#imSideBar {
  min-width: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
  position: relative;
}

#imHeaderBg,
#imFooterBg,
#imHeaderObjects,
#imFooterObjects,
#imSideBarObjects,
#imStickyBarContainer,
#imStickyBarGraphics,
#imStickyBar,
#imStickyBarObjects {
  display: none !important;
}

#imContent {
  overflow-x: clip;
}

#imPageToTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 5000;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: rgba(8, 8, 8, .78);
  color: var(--accent-3);
  box-shadow: var(--shadow);
  opacity: .78;
}

#imPageToTop:hover {
  opacity: 1;
  cursor: pointer;
}

/* Header */

.topbar,
.site-header,
.rmu-header {
  position: relative;
  z-index: 3000;
  width: 100%;
  padding: 18px 14px 14px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .96), rgba(0, 0, 0, .88));
  border-bottom: 1px solid rgba(133, 113, 77, .22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .20);
}

.header-spacer {
  display: block;
  height: 26px;
}

.head-inner,
.header-inner,
.site-header__inner,
.rmu-header-inner,
.topbar-inner,
.site-head-inner {
  width: 100%;
  max-width: min(var(--page-max), calc(100vw - 28px));
  margin-inline: auto;
  display: grid;
  gap: 10px;
  align-items: stretch;
}

.logo-box,
.logo-field {
  width: 100%;
  max-width: 100%;
  min-height: var(--logo-field-height);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(133, 113, 77, .22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 48%, rgba(208, 186, 132, .13), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,.030), rgba(255,255,255,.010)),
    #050505;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .30);
  text-decoration: none;
}

.logo-box a {
  width: 100%;
  height: 100%;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-box img,
.site-logo {
  display: block;
  width: min(calc(var(--logo-image-width) * var(--logo-scale)), 96%);
  max-width: 96%;
  height: auto;
  max-height: calc(var(--logo-image-height) * var(--logo-scale));
  object-fit: contain;
  pointer-events: none;
  filter: none;
  backface-visibility: hidden;
}

.logo-fallback {
  color: var(--accent-3);
  font-size: clamp(4rem, 16vw, 12rem);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: .85;
  text-transform: uppercase;
}

.brand-line,
.brandline {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid rgba(133, 113, 77, .22);
  border-radius: 999px;
  background: rgba(0, 0, 0, .28);
  color: rgba(246, 237, 220, .76);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.header-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.site-menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brand,
.site-brand,
.rmu-brand,
.logo,
.logo-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand a,
.site-brand a,
.rmu-brand a,
.logo a,
.logo-wrap a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--text);
}

.brand img,
.site-brand img,
.rmu-brand img,
.logo img,
.logo-wrap img,
.header-logo,
.rmu-logo {
  width: min(920px, 96%);
  height: auto;
  max-width: 96%;
  object-fit: contain;
}

.brand-title,
.site-title,
.rmu-title {
  display: block;
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}

.brand-claim,
.site-claim,
.rmu-claim,
.claim {
  display: block;
  margin-top: 5px;
  color: var(--accent-3);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Navigation */

nav,
.main-nav,
.site-nav,
.rmu-nav {
  min-width: 0;
}

.nav-toggle {
  display: none;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(133, 113, 77, .34);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, .025);
  box-shadow: none;
  font-size: .9rem;
  font-weight: 800;
}

.nav-toggle:hover {
  color: #111;
  background: linear-gradient(180deg, var(--accent-3), var(--accent-2));
}

.nav-toggle-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle-icon span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.nav {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
  padding: 0;
}

.main-nav {
  width: 100%;
}

.main-nav ul,
.site-nav ul,
.rmu-nav ul,
.nav-list {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a,
.main-nav a,
.site-nav a,
.rmu-nav a,
.nav-link,
.lang-link,
.language-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(133, 113, 77, .26);
  background: rgba(255, 255, 255, .020);
  color: var(--text-soft);
  font-size: .84rem;
  font-weight: 760;
  line-height: 1.1;
  outline: none;
  box-shadow: none;
  white-space: nowrap;
  text-decoration: none;
}

.nav a:hover,
.main-nav a:hover,
.site-nav a:hover,
.rmu-nav a:hover,
.nav-link:hover,
.lang-link:hover,
.language-link:hover {
  color: #111;
  background: linear-gradient(180deg, var(--accent-3), var(--accent-2));
  border-color: transparent;
  transform: translateY(-1px);
}

.nav a.active,
.nav a[aria-current="page"],
.main-nav a[aria-current="page"],
.site-nav a[aria-current="page"],
.rmu-nav a[aria-current="page"],
.nav-link.is-active,
.nav-link.active {
  color: #111;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(208, 186, 132, .10);
}

.langbar,
.language-switch,
.lang-switch,
.rmu-lang {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0;
}

.langbar a {
  width: 44px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(133, 113, 77, .32);
  border-radius: 8px;
  background: rgba(255, 255, 255, .020);
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}

.langbar a:hover {
  background: rgba(133, 113, 77, .14);
  border-color: rgba(133, 113, 77, .85);
  transform: translateY(-1px);
}

.langbar a.active {
  background: rgba(133, 113, 77, .18);
  border-color: var(--accent-3);
  box-shadow: 0 0 0 2px rgba(133, 113, 77, .10);
}

.langbar svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Typografie */

h1,
h2,
h3,
h4 {
  color: var(--text);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5.5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

h4 {
  font-size: 1.05rem;
}

p {
  color: var(--text-soft);
}

ul,
ol {
  color: var(--text-soft);
}

.lead,
.hero-lead,
.intro-text {
  max-width: 760px;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.75;
}

.kicker,
.topline,
.eyebrow,
.section-kicker,
.about-topline,
.camera-topline {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid rgba(199, 171, 118, .28);
  border-radius: 999px;
  background: rgba(133, 113, 77, .08);
  color: var(--accent-3);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .11em;
  text-transform: uppercase;
}

/* Panels / Karten */

.panel,
.card,
.box,
.rmu-card,
.rmu-panel,
.content-card,
.hero,
.page-hero {
  border: 1px solid rgba(133, 113, 77, .24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .030), rgba(255, 255, 255, .012)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero,
.page-hero {
  padding: clamp(24px, 4vw, 46px);
}

.panel,
.rmu-panel,
.content-card {
  padding: clamp(18px, 3vw, 28px);
}

.card,
.rmu-card,
.box {
  padding: clamp(16px, 3vw, 24px);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* Buttons */

.btn,
.button,
.rmu-btn,
button.btn,
input[type="submit"],
input[type="button"],
.checkout-button,
.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid rgba(133, 113, 77, .30);
  border-radius: 999px;
  background: rgba(255, 255, 255, .025);
  color: var(--text-soft);
  font: inherit;
  font-size: .93rem;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    box-shadow .18s ease;
}

.btn:hover,
.button:hover,
.rmu-btn:hover,
button.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.checkout-button:hover,
.cart-button:hover {
  transform: translateY(-1px);
  border-color: rgba(208, 186, 132, .50);
  background: var(--accent-soft);
  color: var(--accent-3);
}

.btn-primary,
.button-primary,
.rmu-btn-primary,
.primary,
input[type="submit"] {
  border-color: transparent;
  background: linear-gradient(180deg, var(--accent-3), var(--accent-2));
  color: #111;
  box-shadow: 0 9px 22px rgba(133, 113, 77, .16);
}

.btn-primary:hover,
.button-primary:hover,
.rmu-btn-primary:hover,
.primary:hover,
input[type="submit"]:hover {
  border-color: transparent;
  color: #111;
  background: linear-gradient(180deg, #ead39d, var(--accent-2));
}

.btn-danger,
.button-danger {
  border-color: rgba(224, 124, 124, .34);
  background: rgba(122, 33, 33, .15);
  color: #ffd6d6;
}

.btn-danger:hover,
.button-danger:hover {
  border-color: rgba(238, 146, 146, .58);
  background: rgba(150, 45, 45, .24);
  color: #fff;
}

/* Formulare */

form {
  min-width: 0;
}

label {
  display: block;
  margin: 0 0 6px;
  color: var(--text-soft);
  font-size: .88rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(133, 113, 77, .28);
  border-radius: 14px;
  background: rgba(0, 0, 0, .34);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

textarea {
  min-height: 130px;
  line-height: 1.55;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(208, 186, 132, .9) 50%),
    linear-gradient(135deg, rgba(208, 186, 132, .9) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(208, 186, 132, .58);
  box-shadow: 0 0 0 3px rgba(208, 186, 132, .12);
}

input::placeholder,
textarea::placeholder {
  color: rgba(246, 237, 220, .40);
}

.form-row,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-full {
  grid-column: 1 / -1;
}

.form-note,
.help-text {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

/* Tabellen */

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(133, 113, 77, .22);
  border-radius: 18px;
  background: rgba(0, 0, 0, .15);
}

table {
  width: 100%;
  color: var(--text-soft);
  font-size: .92rem;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(133, 113, 77, .16);
}

th {
  color: var(--accent-3);
  font-weight: 850;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

/* Portfolio / Serien / Bilder */

.portfolio-grid,
.series-grid,
.gallery-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.portfolio-card,
.series-card,
.photo-card,
.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(133, 113, 77, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .020);
  box-shadow: var(--shadow);
}

.portfolio-card a,
.series-card a,
.photo-card a,
.gallery-card a {
  display: grid;
  color: inherit;
  text-decoration: none;
}

.portfolio-card img,
.series-card img,
.photo-card img,
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #070707;
}

.portfolio-card:hover,
.series-card:hover,
.photo-card:hover,
.gallery-card:hover {
  border-color: rgba(208, 186, 132, .42);
  transform: translateY(-2px);
}

.card-body,
.portfolio-card__body,
.series-card__body,
.photo-card__body,
.gallery-card__body {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.card-title,
.portfolio-card__title,
.series-card__title,
.photo-card__title,
.gallery-card__title {
  color: var(--text);
  font-weight: 900;
  line-height: 1.2;
}

.card-meta,
.portfolio-card__meta,
.series-card__meta,
.photo-card__meta,
.gallery-card__meta {
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

/* Neue Inhaltsseiten: Über mich / Meine Kamera */

.about-page,
.camera-page {
  display: grid;
  gap: 18px;
}

.about-section,
.camera-section {
  display: grid;
  gap: 16px;
}

.about-card,
.camera-card {
  display: grid;
  align-content: start;
  gap: 10px;
}

.about-card h2,
.camera-card h2,
.camera-card h3,
.about-final h2,
.camera-final h2 {
  margin: 0;
  color: var(--accent-3);
  line-height: 1.18;
}

.about-card p,
.camera-card p {
  margin: 0;
}

.camera-features {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.camera-features li {
  position: relative;
  padding-left: 18px;
  color: rgba(246, 237, 220, .78);
  font-size: .94rem;
  line-height: 1.35;
}

.camera-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .56em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-3);
  box-shadow: 0 0 0 3px rgba(208, 186, 132, .12);
}

/* Warenkorb / Bestellbereiche */

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 20px;
  align-items: start;
}

.cart-summary,
.checkout-summary,
.order-summary {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(199, 171, 118, .30);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(199, 171, 118, .11), transparent 14rem),
    rgba(8, 8, 8, .72);
}

.price,
.total,
.cart-total,
.order-total {
  color: var(--accent-3);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
}

.notice,
.alert,
.message,
.rmu-notice {
  padding: 14px 16px;
  border: 1px solid rgba(199, 171, 118, .26);
  border-radius: 16px;
  background: rgba(133, 113, 77, .085);
  color: var(--text-soft);
  line-height: 1.62;
}

.notice-success,
.alert-success {
  border-color: rgba(155, 207, 155, .32);
  background: rgba(36, 92, 36, .14);
  color: #d8f5d8;
}

.notice-error,
.alert-error {
  border-color: rgba(224, 124, 124, .34);
  background: rgba(122, 33, 33, .15);
  color: #ffd6d6;
}

/* Footer */

.site-footer,
.rmu-footer,
footer {
  border-top: 1px solid rgba(133, 113, 77, .22);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .96));
}

.footer-inner,
.site-footer__inner,
.rmu-footer-inner {
  width: min(var(--page-max), calc(100% - (var(--page-pad) * 2)));
  margin-inline: auto;
  padding: clamp(28px, 5vw, 52px) 0;
  display: grid;
  gap: 22px;
}

.footer-brand,
.rmu-footer-brand {
  display: grid;
  gap: 8px;
}

.footer-title,
.rmu-footer-title {
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -.035em;
}

.footer-claim,
.rmu-footer-claim {
  color: var(--accent-3);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links,
.footer-legal,
.rmu-footer-links,
.rmu-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-legal a,
.rmu-footer-links a,
.rmu-footer-legal a {
  color: var(--text-soft);
  font-size: .9rem;
  font-weight: 750;
}

.footer-links a:hover,
.footer-legal a:hover,
.rmu-footer-links a:hover,
.rmu-footer-legal a:hover {
  color: var(--accent-3);
}

.footer-copy,
.rmu-footer-copy,
.copyright {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

/* Hilfsklassen */

.muted {
  color: var(--muted);
}

.text-soft {
  color: var(--text-soft);
}

.accent {
  color: var(--accent-3);
}

.center {
  text-align: center;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack-sm {
  display: grid;
  gap: 10px;
}

.stack-lg {
  display: grid;
  gap: 24px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}

/* Responsive */

@media (max-width: 1060px) {
  :root {
    --logo-field-height: 260px;
    --logo-image-width: 920px;
    --logo-image-height: 230px;
    --logo-scale: 2.15;
  }

  .header-controls {
    display: block;
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto 10px;
  }

  .site-menu {
    display: block;
    padding: 12px;
    border: 1px solid rgba(133, 113, 77, .22);
    border-radius: 18px;
    background: rgba(8, 8, 8, .94);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
  }

  .js .site-menu {
    display: none;
  }

  .js .site-menu.is-open {
    display: block;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: center;
    gap: 7px;
    padding: 0 0 11px;
  }

  .nav a {
    min-height: 42px;
    padding: 8px 9px;
    font-size: .77rem;
    white-space: normal;
    text-align: center;
  }

  .langbar {
    justify-content: center;
  }

  .grid-4,
  .portfolio-grid,
  .series-grid,
  .gallery-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-summary,
  .order-summary {
    position: static;
  }
}

@media (max-width: 860px) {
  .main-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --page-pad: clamp(14px, 5vw, 24px);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .main-nav ul,
  .site-nav ul,
  .rmu-nav ul,
  .nav-list {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }
}

@media (max-width: 620px) {
  :root {
    --logo-field-height: 210px;
    --logo-image-width: 920px;
    --logo-image-height: 230px;
    --logo-scale: 1.55;
  }

  main.wrap,
  #main.wrap {
    padding-top: 22px;
    padding-bottom: 54px;
  }

  .topbar,
  .site-header,
  .rmu-header {
    padding: 10px 10px 10px;
  }

  .head-inner,
  .header-inner,
  .site-header__inner,
  .rmu-header-inner,
  .topbar-inner,
  .site-head-inner {
    max-width: calc(100vw - 20px);
  }

  .logo-box,
  .logo-field {
    border-radius: 22px;
  }

  .logo-box a {
    padding: 10px 12px;
  }

  .brand-line,
  .brandline {
    border-radius: 20px;
    font-size: .72rem;
    letter-spacing: .08em;
    padding: 7px 11px;
  }

  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav a {
    min-width: 0;
    font-size: .8rem;
  }

  .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .langbar a {
    width: 42px;
    height: 27px;
  }

  .hero,
  .page-hero,
  .panel,
  .rmu-panel,
  .content-card,
  .card,
  .rmu-card,
  .box {
    border-radius: 20px;
  }

  .portfolio-grid,
  .series-grid,
  .gallery-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .actions,
  .pricing-actions,
  .contact-actions,
  .cookie-actions,
  .imprint-actions,
  .privacy-actions,
  .terms-actions,
  .about-actions,
  .camera-actions {
    flex-direction: column;
  }

  .btn,
  .button,
  .rmu-btn,
  .actions a,
  .actions button,
  .pricing-btn,
  .contact-btn,
  .cookie-btn,
  .imprint-btn,
  .privacy-btn,
  .terms-btn {
    width: 100%;
  }

  #imPageToTop {
    right: 14px;
    bottom: 14px;
  }
}

/* Druck */

@media print {
  :root {
    color-scheme: light;
  }

  html,
  body {
    background: #fff !important;
    color: #000 !important;
  }

  body::before,
  .topbar,
  .site-header,
  .rmu-header,
  .site-footer,
  .rmu-footer,
  #imPageToTop {
    display: none !important;
  }

  .wrap,
  .rmu-wrap,
  .container,
  .page-wrap {
    width: 100% !important;
    max-width: none !important;
  }

  a {
    color: #000 !important;
    text-decoration: underline;
  }

  .panel,
  .card,
  .box,
  .rmu-card,
  .rmu-panel,
  .content-card,
  .hero,
  .page-hero {
    box-shadow: none !important;
    background: #fff !important;
    border: 1px solid #bbb !important;
    break-inside: avoid;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  li,
  td,
  th,
  small {
    color: #000 !important;
  }
}

/* Bewegungen reduzieren */

@media (prefers-reduced-motion: reduce) {
  .btn,
  .button,
  .rmu-btn,
  .nav a,
  .main-nav a,
  .site-nav a,
  .rmu-nav a,
  .portfolio-card,
  .series-card,
  .photo-card,
  .gallery-card {
    transition: none !important;
  }

  .btn:hover,
  .button:hover,
  .rmu-btn:hover,
  .nav a:hover,
  .portfolio-card:hover,
  .series-card:hover,
  .photo-card:hover,
  .gallery-card:hover {
    transform: none !important;
  }
}