@charset "utf-8";

/*
 * MAY-B.DEsign - main stylesheet
 */

/* ============================================
   WEBFONTS
   ============================================ */

@font-face {
  font-family: 'Museo Custom';
  src: url('../fonts/MuseoModerno-Light-Custom.woff2') format('woff2'),
       url('../fonts/MuseoModerno-Light-Custom.woff') format('woff'),
	   url('../fonts/MuseoModerno-Light-Custom.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Museo Custom';
  src: url('../fonts/MuseoModerno-SemiBold-Custom.woff2') format('woff2'),
       url('../fonts/MuseoModerno-SemiBold-Custom.woff') format('woff'),
	   url('../fonts/MuseoModerno-SemiBold-Custom.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Museo Custom';
  src: url('../fonts/MuseoModerno-Bold-Custom.woff2') format('woff2'),
       url('../fonts/MuseoModerno-Bold-Custom.woff') format('woff'),
	   url('../fonts/MuseoModerno-Bold-Custom.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hind Vadodara';
  src: url('../fonts/HindVadodara-Light.woff2') format('woff2'),
       url('../fonts/HindVadodara-Light.woff') format('woff'),
	   url('../fonts/HindVadodara-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hind Vadodara';
  src: url('../fonts/HindVadodara-Regular.woff2') format('woff2'),
       url('../fonts/HindVadodara-Regular.woff') format('woff'),
	   url('../fonts/HindVadodara-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hind Vadodara';
  src: url('../fonts/HindVadodara-Medium.woff2') format('woff2'),
       url('../fonts/HindVadodara-Medium.woff') format('woff'),
	   url('../fonts/HindVadodara-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hind Vadodara';
  src: url('../fonts/HindVadodara-SemiBold.woff2') format('woff2'),
       url('../fonts/HindVadodara-SemiBold.woff') format('woff'),
	   url('../fonts/HindVadodara-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Hind Vadodara';
  src: url('../fonts/HindVadodara-Bold.woff2') format('woff2'),
       url('../fonts/HindVadodara-Bold.woff') format('woff'),
	   url('../fonts/HindVadodara-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: 'Hind Vadodara', sans-serif;
  font-weight: 300;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-gray-900);
  background: var(--color-gray-100);
  margin: 0;
  overflow-x: clip;
}

[id] {
  scroll-margin-top: 3.125rem;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-red);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-darkred);
}

a:focus-visible,
button:focus-visible {
  outline: 0.125rem solid var(--color-red);
  outline-offset: 0.1875rem;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.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-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-brand-primary);
  color: var(--color-gray-100);
  padding: 8px 20px;
  z-index: 10000;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  top: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Museo Custom', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

h1, h2, .like-h2 {
  font-size: var(--font-size-6xl);
  color: var(--color-darkred);
  padding: 0 0 0.625rem;
}

h3, .like-h3 {
  font-size: var(--font-size-3xl);
  color: var(--color-gray-700);
  padding: 0.625rem 0 0.625rem;
}

h4, .like-h4 {
  font-size: var(--font-size-xl);
  color: var(--color-gray-700);
  padding: 0.625rem 0 0.3125rem 0;
}

h5, h6, .like-h5-h6 {
  font-size: var(--font-size-lg);
  color: var(--color-gray-700);
  padding: 0 0 0.625rem;
}

p {
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-gray-900);
  padding: 0 0 0.625rem;
}

.intro, .like-intro {
  font-family: 'Museo Custom', sans-serif;
  font-weight: 300;
  font-size: var(--font-size-l);
  letter-spacing: 0.025rem;
  line-height: 1.5;
  color: var(--color-gray-900);
  padding: 0 0 1rem;
}

.smaller-body-txt {
  font-size: var(--font-size-xs);
}

.checked-list {
  list-style: none;
  padding: 0 0 0.4375rem 0;
  margin: 0;
}

.checked-list li {
  position: relative;
  padding-left: 1.375rem; /* Platz für das Icon */
  margin-bottom: 0.75rem;
}

.checked-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;  /* vertikale Anpassung */
  width: 1rem;
  height: 1rem;
  background: url('../img/checked.svg') no-repeat center / contain;
  filter: brightness(0) saturate(100%) invert(9%) sepia(98%) saturate(7000%) hue-rotate(346deg) brightness(90%) contrast(105%);
}

.neg .checked-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;  /* vertikale Anpassung */
  width: 1rem;
  height: 1rem;
  background: url('../img/checked.svg') no-repeat center / contain;
  filter: brightness(0.96);
}

ul.darkred-li-dots {
  margin: 0;
  padding: 0 0 0.625rem 0.875rem;
  list-style: disc;
}

ul.darkred-li-dots li {
  margin: 0;
  padding-bottom: 0.5rem;
}

ul.darkred-li-dots li::marker {
  color: var(--color-darkred);
}


/* ============================================
   UTILITY CLASSES
   ============================================ */

.neg, .neg p { color: var(--color-gray-100) !important; font-weight: 400 !important; }
.neg h1, .neg h2, .neg h3, .neg h4, .neg h5, .neg h6 { color: var(--color-gray-100) !important; }
.intro.neg, .neg .intro, .like-intro.neg, .neg .like-intro { color: var(--color-gray-100) !important; font-weight: 300 !important; }
strong { font-weight: 600 !important; }
.neg strong { color: var(--color-gray-100) !important; font-weight: 700 !important; }

.center { text-align: center; }
.no-wrap { white-space: nowrap; }
.red { color: var(--color-red); }
.darkred { color: var(--color-darkred); }
.darkred-bold { font-weight: 600; color: var(--color-darkred); }
.p-top-0 { padding-top: 0; }

.space10 {width: 100%; height: 0.625rem;}
.space20 {width: 100%; height: 1.25rem;}
.space30 {width: 100%; height: 1.875rem;}
.space40 {width: 100%; height: 2.5rem;}
.space50 {width: 100%; height: 3.125rem;}


/* ============================================
   LAYOUT / GRID
   ============================================ */

.wrap {
  max-width: 85rem;
  margin: 0 auto;
}

.text-content {
  padding: 0 1.25rem;
}

.textbox {
  padding: 1.25rem;
}

.flex-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.875rem;
}

.span-1  { grid-column: span 1; }
.span-2  { grid-column: span 2; }
.span-3  { grid-column: span 3; }
.span-4  { grid-column: span 4; }
.span-5  { grid-column: span 5; }
.span-6  { grid-column: span 6; }
.span-7  { grid-column: span 7; }
.span-8  { grid-column: span 8; }
.span-9  { grid-column: span 9; }
.span-10 { grid-column: span 10; }
.span-11 { grid-column: span 11; }
.span-12 { grid-column: span 12; }

section {
  padding: 3.75rem 0;
  background: var(--color-gray-100);
}

.clear-box {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.nowrap { white-space: nowrap; }

.bg-offwhite { background: var(--color-gray-100) !important; }
.bg-gray { background: var(--color-gray-200) !important; }


/* ============================================
   BUTTONS
   ============================================ */

.btn-box {
  display: flex;
  gap: 1.875rem;
  flex-wrap: wrap;
  padding-top: 2.1875rem;
  padding-bottom: 0.3125rem;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Hind Vadodara', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.025rem;
  line-height: 1;
  cursor: pointer;
  border: none;
  color: var(--color-gray-100);
  background: var(--color-red);
  padding: 1rem 1.125rem 1.125rem;
  transition: transform var(--transition-base);
  white-space: nowrap;
  min-width: 12.575rem;
}

.btn-red:hover {
  transform: scale(1.08);
  color: var(--color-gray-100);
}

.btn-icon-svg {
  display: inline;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  margin: -0.125rem 0.3125rem -0.3125rem -0.125rem;
}


/* separate arrow-link */
.service-link {
  margin-top: 0.625rem;
}

.service-link a {
  font-weight: 600;
  color: var(--color-red);
}

.service-link a:hover {
  color: var(--color-darkred);
}

.neg .service-link a {
  font-weight: 700 !important;
  color: var(--color-gray-100);
}

.neg .service-link a:hover {
  color: var(--color-gray-400);
}


/* inline arrow-link */
.inline-link {
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
  color: var(--color-red);
  font-family: 'Hind Vadodara', sans-serif;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  margin-left: 0.125rem;
  margin-right: -0.125rem;
  text-indent: 0;
}

.inline-link .link-arrow-icon {
  margin-right: 0.125rem;
}

.inline-link-label {
  margin-top: -0.35rem;
}

.inline-link:hover {
  color: var(--color-darkred);
}


/* SVG arrow icon 4 links */
.link-arrow-icon {
  width: 0.6875rem;
  height: 0.5625rem;
  vertical-align: middle;
  margin: -0.1875rem 0.125rem 0 0;
  /* White (#FFF) -> red (var(--color-red)) */
  filter: brightness(0) saturate(100%) invert(9%) sepia(98%) saturate(6000%) hue-rotate(346deg) brightness(90%) contrast(105%);
  display: inline;
  transition: filter var(--transition-base);
}
.neg .link-arrow-icon {
  filter: brightness(0.96) !important;
}

a:hover .link-arrow-icon,
button:hover .link-arrow-icon {
  filter: brightness(0) saturate(100%) invert(7%) sepia(70%) saturate(5500%) hue-rotate(350deg) brightness(100%) contrast(115%);
}

.neg a:hover .link-arrow-icon,
.neg button:hover .link-arrow-icon {
  filter: brightness(0.7) !important;
}


/* social media buttons */
.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-100);
  transition: transform var(--transition-base);
}

.social-icons a:hover {
  transform: scale(1.5);
}

.social-icons img {
  filter: brightness(0) invert(1); /* white */
}

.content-social-red .social-icons img {
  filter: brightness(0) saturate(100%) invert(9%) sepia(98%) saturate(6000%) hue-rotate(346deg) brightness(90%) contrast(105%); /* red */
}

/* inline-icons (teaser) */ 
.icon {
  max-height: 6.875rem;
  width: auto;
  display: inline;
  margin: 1.25rem 0 -0.625rem -1.25rem;
}


/* ============================================
   NAVIGATION
   ============================================ */

.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 4.375rem;
  background: var(--color-gray-400);
  z-index: 1000;
}

.site-nav .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.375rem;
}

.site-nav nav {
  height: 100%;
}

.site-nav .brand {
  transition: opacity 0.4s ease;
}

/* Homepage: logo starts hidden and fades in on scroll */
.site-nav.logo-hidden .brand {
  opacity: 0;
  pointer-events: none;
}

.site-nav.logo-visible .brand {
  opacity: 1;
  pointer-events: auto;
}

.site-nav .brand img {
  width: 14rem;
  height: auto;
  margin: 0 1.9375rem 0 -1.9375rem;
}

.site-nav nav ul {
  display: flex;
  align-items: stretch;
  height: 4.375rem;
  gap: 0.25rem;
}

.site-nav nav ul li:last-child {
  margin-right: -0.9375rem;
}

.site-nav nav a {
  font-family: 'Hind Vadodara', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--color-gray-900);
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  height: 4.375rem;
  padding: 0.9375rem;
}

/* Hover: anthracite line at the bottom edge of the nav bar */
.site-nav nav a:hover {
  color: var(--color-gray-900);
}

.site-nav nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: var(--color-gray-900);
}

/* Active (homepage): text and line dark red */
.site-nav nav a.active {
  color: var(--color-darkred);
}

.site-nav nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: var(--color-darkred);
}

/* Active (subpages): text anthracite, line dark red */
.site-nav nav a.active-sub-page {
  color: var(--color-gray-900);
}

.site-nav nav a.active-sub-page::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.25rem;
  background: var(--color-darkred);
}


/* Home icon */
.nav-home {
  display: flex;
  align-items: center;
}

.nav-home svg {
  display: block;
  transform: translateY(-0.05rem);
}

/* Submenus */
.has-sub {
  position: relative;
}

.has-sub .submenu {
  display: none;
  position: absolute;
  top: 4.375rem;
  left: 0;
  background: var(--color-gray-400);
  padding: 0;
  min-width: 13.75rem;
  z-index: 1001;
}

@media (hover: hover) {
  .has-sub:hover .submenu {
    display: block;
  }
}

.submenu a {
  display: block;
  height: auto;
  padding: 0.375rem 1.25rem 0.25rem !important;
  font-size: 0.875rem;
  color: var(--color-gray-700);
  border-bottom: 0.25rem solid transparent;
}

.submenu a:hover {
  background: var(--color-gray-400);
  color: var(--color-darkred);
  border-bottom-color: var(--color-gray-900);
}

.submenu a.active-sub {
  color: var(--color-darkred);
  font-weight: 600;
  border-bottom-color: var(--color-darkred);
}

/* Submenu links: suppress Nav ::after */
.submenu a::after,
.submenu a:hover::after,
.submenu a.active-sub::after {
  display: none !important;
}

/* Mobile hamburger + submenu chevron */
.nav-toggle,
.submenu-toggle {
  display: none;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  background: var(--color-gray-900);
  margin: 0.3125rem 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/* ============================================
   FOOTER
   ============================================ */

.main-footer {
  background: var(--color-darkred);
  color: var(--color-gray-100) !important;
  padding: 3.75rem 0 1.875rem;
  font-weight: 400 !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 0 1.25rem;
}

.footer-col p, .footer-col a {
  color: var(--color-gray-100) !important;
  text-decoration: none;
}

.footer-col a.active {
  color: var(--color-gray-100) !important;
  font-weight: 700 !important;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-gray-100) !important;
  text-decoration: underline;
}

.footer-links li { margin: 0; }

.footer-contact-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.75rem;
  margin-bottom: 1rem;
}

p.footer-bottom {
  color: var(--color-gray-100);
  margin: 0;
  padding: 3.125rem 0;
}


/* ============================================
   PAGE CTA
   ============================================ */

.sec-page-cta { background: var(--color-gray-100); text-align: center !important; }
.sec-page-cta .btn-box { justify-content: center; align-items: center; }

.contact-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 0.75rem;
  margin-bottom: 1rem;
}

.contact-table a {
  color: var(--color-gray-900) !important;
  text-decoration: none;
}

.contact-table a.active {
  color: var(--color-darkred) !important;
  font-weight: 700 !important;
  text-decoration: none;
}

.contact-table a:hover {
  color: var(--color-gray-900) !important;
  text-decoration: underline;
}


/* ============================================
   HERO - SUBPAGES
   ============================================ */

.page-hero {
  position: relative;
  background: var(--color-gray-100);
  overflow: hidden;
  display: flex;
  min-height: 35rem;
}

.page-hero .hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--hero-image-width-desktop, 55%);
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus-desktop, center top);
  /* Fade out the image softly at the left edge */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 15%, rgba(0,0,0,0.7) 35%, black 55%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 15%, rgba(0,0,0,0.7) 35%, black 55%);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient( to right, var(--color-gray-100) 32%, rgba(var(--color-gray-100-rgb),0.6) 45%, rgba(var(--color-gray-100-rgb),0.2) 60%, rgba(var(--color-gray-100-rgb),0) 75% );
  pointer-events: none;
}

.page-presse {
  --hero-focus-desktop: 56% 24%;
  --hero-focus-mobile: 50% 28%;
}

.page-technik {
  --hero-focus-desktop: 72% 20%;
  --hero-focus-mobile: 64% 22%;
}

.page-infothek {
  --hero-focus-desktop: 56% 24%;
  --hero-focus-mobile: 50% 28%;
}
.page-legal .page-hero, .page-contact .page-hero {
  background: var(--color-gray-200);
  min-height: auto;
  text-align: center;
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero .hero-text {
  max-width: 50rem;
  padding: 0 1.25rem;
}

/* ============================================
   LEGAL PAGES and CONTACT (Impressum, AGB)
   ============================================ */

.sec-legal { padding: 1.875rem 0 3.75rem 0; }
.page-legal h2 { color: var(--color-gray-700); padding-top: 1.875rem; }
.page-legal h3 { padding-top: 1rem; }

.mayb-bg {
  position: relative;
  overflow-x: visible;     /* damit ::after über die Seiten hinausgeht */
  z-index: 1;
}
.before-mayb-bg {z-index: 2;}

.mayb-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 37rem;
  width: calc(37rem * 5/4);           /* Testwert, kann später angepasst werden */
  background: url('../img/may-b-design_marion-bauer_kontakt.jpg') no-repeat center bottom;
  transform: translateY(3.75rem);
  background-size: cover;
  pointer-events: none;
  z-index: -1;
}


/* ============================================
   HERO - HOME (page 1)
   ============================================ */

.hero-home {
  position: relative;
  overflow: hidden;
  height: calc(100vh - 4.375rem);
  display: flex;
  padding: 3.75rem 0 1.25rem 0;
  color: var(--color-gray-100);
  background: var(--color-darkred);
  background: url("../img/may-b-design_marion-bauer_titleHome.jpg") no-repeat 30% 30% / cover, var(--color-darkred);
}

.hero-home .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  container-type: size;
}

/* Title */

.hero-home .hero-title { text-align: center; }

.hero-home .hero-title h1 {
  font-size: clamp(2.375rem, 6vw, 5.9375rem);
  line-height: 1.1;
  color: var(--color-gray-400);
}

.hero-home .hero-subtitle {
  display: block;
  font-family: 'Museo Custom', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 3rem);
  color: var(--color-gray-400);
  margin: 0;
}

/* Logo */

.hero-home .hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-home .hero-logo img {
  width: clamp(12.5rem, 15vw, 20rem);
  height: auto;
}

/* Bottom area */

.hero-home .hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 0;
}

.hero-home .hero-claim {
  font-family: 'Museo Custom', sans-serif;
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: var(--color-gray-400);
  letter-spacing: 0.01rem;
  padding: 0 1.25rem;
}

/* Teaser-card */

.hero-card {
  background: var(--color-gray-400);
  color: var(--color-darkred);
  padding: var(--font-size-lg);
}

.hero-card h3 {
  font-size: clamp(1.25rem, 3vh, 2rem);
  font-weight: 700;
  letter-spacing: 0.01rem;
  color: var(--color-darkred);
  padding-top: 0;
  margin-top: -0.125rem;
}

.hero-card p {
  font-size: var(--font-size-lg);
  line-height: 1.45;
  letter-spacing: 0.025rem;
  font-family: 'Museo Custom', sans-serif;
  font-weight: 300;
  color: var(--color-darkred);
  margin: 0;
}

.hero-card p.cta-link {
  font-weight: 600;
  color: var(--color-red);
  text-align: right;
  margin: 1rem 0 -0.3125rem 0;
  padding: 0;
}

.hero-card p.cta-link a {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.375rem;
  text-align: left;
}

.hero-card p.cta-link a .link-arrow-icon {
  width: 0.875rem;
  height: 0.6875rem;
  margin: 0.375rem 0 0 0;
  flex: 0 0 auto;
}

.hero-card .cta-link:hover {
  color: var(--color-darkred);
}


/* ============================================
   CONTENT - HOME SECTIONS (page 1)
   ============================================ */

/* HOME-SECTION: MARKETING (Keine Zeit für Marketing) */

.sec-marketing h2 { text-align: center; padding-inline: 1.25rem; }

/* HOME-SECTION: SOLUTION (Was Sie jetzt brauchen?) */

.sec-solution { background: var(--color-gray-200); padding: 0; }
.sec-solution .flex-grid { align-items: stretch; }
.sec-solution .span-4 { position: relative; min-height: 25rem; }

.sec-solution .textbox { padding: 3.75rem 2.5rem; }

.sec-solution h2 { text-align: left; }
.sec-solution .intro { max-width: 45rem; }

.sec-solution .solution-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HOME-SECTION: QUOTE (Zitat) */

.sec-quote { padding: 3.75rem 0; }
.sec-quote p {
  font-size: var(--font-size-xl);
  line-height: 1.6;
  letter-spacing: 0.0875rem;
  font-family: 'Museo Custom', sans-serif;
  font-weight: 300;
  color: var(--color-gray-700);
  text-align: center;
  padding-bottom: 0.25rem;
}

/* HOME-SECTION: WHY (Warum May-B.design?) */

.sec-why {
  position: relative;
  background:
    linear-gradient(to right, rgba(var(--color-gray-200-rgb),1) 40%, rgba(var(--color-gray-200-rgb),0) 75%), url("../img/may-b-design_marion-bauer_beraten.jpg") no-repeat no-repeat right center;
  background-size: auto 100%;
}
.sec-why .text-content { max-width: 55%; }

.sec-why h2 { text-align: left; }
.sec-why .inline-logo {
  display: inline;
  height: 1.3em;
  width: auto;
  vertical-align: -0.55em;
  margin: 0 0.125em;
}

/* HOME-SECTION: WORKFLOW (Ablauf Zusammenarbeit) */

.sec-workflow {
  background-color: var(--color-darkred);
  background-image: url("../img/may-b-design_marion-bauer_briefingBg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--color-gray-100);
}
.sec-workflow .wrap { padding: 0 1.25rem; }
.sec-workflow .two-col-grid { padding: 0; }

.sec-workflow h2 { padding-bottom: 1.25rem; }
.sec-workflow .checked-list:first-child li { margin-bottom: 1.25rem; }
.sec-workflow .service-link { margin: 0.625rem 0 1.25rem 0; }

/* HOME-SECTION: Services (Was bedeutet das?) */

.sec-services { background: var(--color-gray-200); }
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.875rem;
  margin-bottom: 3.75rem;
}
.service-row:last-child { margin-bottom: 0; }

.service-label {
  display: block;
  background: none;
  position: sticky;
  top: 4.375rem;
  align-self: start;
  font-family: 'Museo Custom', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 3rem);
  line-height: 1.15;
  text-align: right;
  color: var(--color-gray-400);
  padding: 0;
  margin: 2.5rem 1.25rem;
  z-index: 1;
}
.service-row:nth-of-type(2) .service-label {
  order: +1;
  text-align: left;
}

.service-content { padding: 1.25rem; z-index: 2;}
.service-subblock { display: flex; }

.sec-services h2 {
  text-align: center;
  margin-bottom: 1.5625rem;
  padding-inline: 1.25rem;
}
.sec-services p.subhead { font-weight: 600; padding-top: 1rem; }

.service-label .catch {
  font-family: 'Museo Custom', sans-serif;
  font-weight: 600;
  font-size: clamp(2.375rem, 5vw, 5.9375rem);
  line-height: 1.1;
  margin: 0;
}

/* HOME-SECTION: CTA (Passt das?) */

.cta {
  position: relative;
  color: var(--color-gray-100);
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(to left, rgba(var(--color-darkred-rgb),1) 0%, rgba(var(--color-darkred-rgb),0) 20%),
    url("../img/may-b-design_marion-bauer_match.jpg") no-repeat left center / auto 100%,
    var(--color-darkred);
}
.cta .flex-grid { position: relative; gap: 0; }
.cta .cta-text {
  padding: 3.75rem 3.75rem 3.75rem 1.875rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* HOME-SECTION: KUNDENSTIMMEN */

.sec-testimonials h2 { text-align: center; }

.testimonials-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonials-slider {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.testimonial-page {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
}
.testimonial-page.active { display: grid; }

.testimonial-card {
  background: none;
  padding: 0;
  min-width: 0;
  margin-top: 1.2rem;
}

.testimonial-text {
  overflow: hidden;
  position: relative;
  height: calc(5* 1.1875rem * 1.5 + 0.69rem); /*3 Zeilen * Schriftgröße (1.1875rem) * Zeilenhöhe (1.5) + (Padding-bottom - 2px = 11px  => 0.6875rem  => aufrunden) (damit die div box kleiner ist)*/ ;
}
.testimonial-text.expanded { overflow: visible; height: auto; max-height: none; }

.testimonial-more {
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
  color: var(--color-red);
  font-family: 'Hind Vadodara', sans-serif;
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  display:inline-flex;
  align-items:center;
  margin-left: 0.125rem;
  margin-right: -0.125rem;
}
.testimonial-more .link-arrow-icon {
  margin-right: 0.125rem;
}
.testimonial-more .link-arrow-icon.rotate {
  transform: rotate(180deg);
  margin-left: 0;
  margin-right: 0.25rem;
}
.testimonial-more-label { margin-top: -0.3rem; }
.testimonial-more:hover { color: var(--color-darkred); }

.testimonial-card p {
  font-family: 'Museo Custom', sans-serif;
  font-weight: 300;
  color: var(--color-gray-900);
  font-size: var(--font-size-l);
  line-height: 1.5;
}
.testimonial-card p:last-child { padding-bottom: 0; }

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 0;
}
.testimonial-card .author img {
  width: 4.0625rem;
  height: 4.0625rem;
  border-radius: 50%;
  object-fit: cover;
  border: 0.1875rem solid var(--color-red);
}
.testimonial-card .author-info {
  line-height: 1.4;
  color: var(--color-gray-900);
  margin: -0.3125rem 0;
}
.testimonial-card .author-info strong {
  display: block;
  color: var(--color-gray-900);
  font-size: var(--font-size-base);
}

.testimonial-arrow {
  width: 2.5rem;
  height: 3rem;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity var(--transition-base);
  padding: 0;
  opacity: 0.5;
}
.testimonial-arrow img {
  width: 1.625rem;
  height: 3rem;
  filter: brightness(1) brightness(0.77);
}
.testimonial-arrow:hover { opacity: 1; }
.testimonial-arrow:hover img { filter: brightness(0.77) ; }

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.875rem;
}
.testimonial-dots span {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--color-white);
  cursor: pointer;
  transition: background var(--transition-base);
}
.testimonial-dots span.active { background: var(--color-gray-300); }
.testimonial-dots span:hover { transform: scale(1.35); }

/* HOME-SECTION: ABOUT */

.sec-about { background: var(--color-gray-200); padding: 0; overflow: hidden; }
.sec-about .wrap { padding: 0; max-width: none; }
.sec-about .flex-grid { align-items: stretch; gap: 0; }
.sec-about .flex-grid .span-6:first-child {
  position: relative;
  min-height: 31.25rem;
  margin-right: 1.875rem;
}
.sec-about .textbox {
  padding: 3rem 0 4.375rem 2rem;
  max-width: 34rem;
}

.sec-about .about-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================
   CONTENT - SUBPAGES
   ============================================ */

/* 3-column / 2-column content */

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.75rem;
  padding: 0 1.25rem;
}
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.75rem;
  padding: 0 1.25rem;
}
.one-two-col-grid, .two-one-col-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.75rem;
  padding: 0 0 0 1.25rem;
}
.two-one-col-grid { grid-template-columns: 2fr 1fr; }
.wrapped-h { padding-inline: 1.25rem; }

/* EXTRA-SECTION (Weitere kreative Leistungen) */

.sec-extra {
  background-color: var(--color-gray-900);
  background-image: url("../img/may-b-design_marion-bauer_weitereLeistungenBg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--color-gray-100);
}
.sec-extra .text-content { max-width: 48rem; }
.sec-extra ul { padding: 1.25rem 0; }

/* TECHNIK-PAGE */
#programmierung, #produktion {
  scroll-margin-top: 5rem;
}

/* PUBLIC-/PRESS-PAGE (in der Öffentlichkeit - offline/online) */

.sec-press-grid { padding: 0; overflow: hidden; }
.press-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  max-width: 85rem;
  margin: 0 auto;
}

/* Offline column: offwhite */
.press-col:first-child {
  background: var(--color-gray-100);
  padding: 3.75rem 2.5rem 3.75rem 1.25rem;
  position: relative;
}
/* Online column: light gray */
.press-col:last-child {
  background: var(--color-gray-200);
  padding: 3.75rem 0 3.75rem 2.5rem;
  position: relative;
}
.press-col:last-child::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100%;
  width: 100vw;
  background: var(--color-gray-200);
}

.press-entry { margin-bottom: 1.25rem; padding-bottom: 1.25rem; }
.press-online-entry {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
}

.press-col h2 { color: var(--color-gray-700); }
.press-col .like-intro { padding: 0 0 0.4rem; }
.press-meta { font-size: var(--font-size-xs); color: var(--color-gray-700); font-weight: 400; }

.press-online-logo img {
  width: 4.0625rem;
  height: 4.0625rem;
  border-radius: 50%;
  object-fit: cover;
  border: 0.1875rem solid var(--color-red);
}

/* FAQ PAGE */

.faq-list { display: flex; flex-direction: column; gap: 2rem; margin-top: 2rem; }
@media (min-width: 1025px) { .h4-top-correction { margin-Top: -0.9375rem; } }
#faq h3 { text-align: center; padding-top: 3.125rem; }



/* ============================================
   RESPONSIVE: TABLET (max 1024px)
   ============================================ */

@media (max-width: 1024px) {
  
  /* Utility*/
  .center { text-align: left; }
  .space10, .space20, .space30, .space40, .space50 { height: 0; }
  
  
  /* Mobile nav */  
  .site-nav {
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
  }  
  .site-nav .wrap {
    height: 4.0625rem;
    flex-wrap: wrap;
    padding: 0.6875rem 1.25rem 0.75rem 0;
    overflow: hidden;
  }
  .nav-placeholder.active { height: 3.75rem; }

  .site-nav .brand img { margin-left: 0.5625rem; width: 13.25rem;}
  .site-nav.logo-hidden .brand { opacity: 1; pointer-events: auto; }

  .nav-toggle { display: block; transition: transform var(--transition-slow); }
  .nav-toggle[aria-expanded="true"] { transform: rotate(90deg); }
  
  #mainMenu {
    max-height: calc(100vh - 4.0625rem);
    overflow-y: scroll;
  }

  .site-nav nav {
    display: none;
    width: 100%;
    height: auto;
    padding-top: 0;
    background: var(--color-gray-400);
  }

  .site-nav nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0;
    background: var(--color-gray-400);
  }

  .site-nav nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    height: auto !important;
  }

  .site-nav nav li {
    width: 100%;
    border-top: 0.125rem solid var(--color-gray-100);
    padding: 0.625rem 1.25rem;
    margin: 0;
  }

  /* has-sub: link + chevron side by side */
  .site-nav nav .has-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-nav nav .has-sub > a {
    flex: 1;
  }

  .submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-900);
    transition: transform var(--transition-base);
  }

  .has-sub.open .submenu-toggle {
    transform: rotate(180deg);
  }

  .site-nav nav a {
    display: block;
    padding: 0.625rem 0;
    height: auto;
    position: static;
  }

  .site-nav nav a::after,
  .site-nav nav a:hover::after,
  .site-nav nav a.active::after,
  .site-nav nav a.active-sub-page::after,
  .submenu a::after,
  .submenu a:hover::after,
  .submenu a.active-sub::after {
    display: none !important;
  }
  
  .has-sub:hover .submenu a,
  .has-sub .submenu:hover a, 
  .submenu a.active-sub {
    border-color: var(--color-gray-400);
  }
  
  @media (hover: hover) {
    .has-sub:hover .submenu {
      display: none;
    }
  }
  
  .site-nav .active-sub-page, 
  .site-nav .active,
  .site-nav nav a:hover {
    font-weight: 600 !important;
  }

  .has-sub .submenu {
    position: static;
    box-shadow: none;
    padding: 0;
    width: 100%;
    display: none;
    background: var(--color-gray-400);
  }
  .has-sub.open .submenu { display: block; }
  
  
  /* Home - HERO */
  .hero-home { 
    min-height: 100vh; height: auto; padding: 0;
    background-position: top center;
    background-size: auto 100%;
  }
  .hero-home .wrap {
    padding: 5.5rem 1.25rem 1.25rem;
    gap: 1.5rem;
    height: auto;
    grid-template-rows: auto auto auto;
  }
  .hero-home .hero-bottom {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-home .hero-card {
    margin-bottom: 0;
  }
  .hero-home .hero-claim { display: none; }

   /* Home-Section Service */
  .service-row { 
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.875rem;
    margin-bottom: 3.75rem;
  } 
  .service-row:nth-of-type(2) { grid-template-columns: 2fr 1fr; }
  
  /* Home-Section CTA */
  .cta .flex-grid { grid-template-columns: 1fr; }  
  .cta .cta-text { padding: 3.75rem; }
  .cta {
    position: relative;
    background: linear-gradient(to left, rgba(var(--color-darkred-rgb),1) 0%, rgba(var(--color-darkred-rgb),0) 20%), url("../img/may-b-design_marion-bauer_match.jpg") no-repeat no-repeat calc(-12.5rem) center / auto 100%, var(--color-darkred);
  }

  
  /* Subpages - HERO */
  .page-hero .wrap {
    padding-top: 3.75rem;
  }
  
  /* Subpages - Content */
  .three-col-grid { grid-template-columns: 1fr; gap: 0; }
  .two-col-grid { grid-template-columns: 1fr; gap: 0; }

  /* Subpage - Public/Press */
  .press-columns { grid-template-columns: 1fr; gap: 0; }
  
  .press-col:last-child { order: -1; }                 /* Mobile: online before offline */
  .press-col:first-child, .press-col:last-child { padding: 2.5rem; }
  .press-col:first-child::before, .press-col:last-child::after { display: none; }

  /* Subpage - Contact */
  .mayb-bg::after {
     height: 27rem;
     width: calc(27rem * 5/4); 
  }

}


/* ============================================
   RESPONSIVE: RANGE (min 769px) and (max 1440px)
   ============================================ */

@media (min-width: 769px) and (max-width: 1440px) { 
  /* Utility */
  .wrap { max-width: 100%; margin: 0; padding: 0 2.5rem; }
  .one-two-col-grid { grid-template-columns: 2fr 3fr; padding: 0 1.25rem; }
  .two-one-col-grid { grid-template-columns: 3fr 2fr; }
  
  /* Home - Sections Workflow & Testimonials */
  .sec-workflow .wrap { padding: 0 3.75rem; }
  .sec-testimonials .wrap { padding: 0 0.5rem; }
}


/* ============================================
   RESPONSIVE: RANGE (min 1025px) and (max 1440px)
   ============================================ */

@media (min-width: 1025px) and (max-width: 1440px) {
  /* Home - Section CTA */
  .cta {
    position: relative;
    background:
     url("../img/may-b-design_marion-bauer_match_mobile.jpg") no-repeat no-repeat calc(100% - 5vw) center, var(--color-darkred);
    background-size: cover;
  }
  
  /* Subpage Public/Press */
  .press-col:last-child {
    padding: 3.75rem 2.5rem 3.75rem 2.5rem;
  }
}


/* ============================================
   RESPONSIVE: RANGE (min 769px) and (max 1220px)
   ============================================ */

@media (min-width: 769px) and (max-width: 1220px) {
  /* Home - Sections Why & About */
  .sec-why {
    position: relative;
    background:
      linear-gradient(to right, var(--color-gray-200) 45%, rgba(var(--color-gray-200-rgb),0) 75%), url("../img/may-b-design_marion-bauer_beraten.jpg") no-repeat no-repeat calc(100% + 15.625rem) center;
    background-size: cover;
  }
  
  .sec-about .flex-grid { gap: 2.5rem; }
  .sec-about .flex-grid .span-6:first-child { min-height: auto; margin-right: 0; }  
  .sec-about .textbox { padding: 2.5rem 2.5rem 2.5rem 0; max-width: 100%; }
  
   /* Subpage - Heros */
  .page-hero .hero-text {
    max-width: 65%;
    padding: 0 1.25rem;
  }
  
  .page-kreativ .page-hero .hero-bg {
    right: -6.25rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 35%,  black 45%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 35%, black 45%);
  }
  
  .page-infothek .page-hero .hero-bg {
    right: -6.25rem;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 45%);
    mask-image: linear-gradient(to right, transparent 0%, black 45%);
  }
}


/* ============================================
   RESPONSIVE: MOBILE (max 768px)
   ============================================ */


@media (max-width: 768px) {
  /* Utility */
  .wrap { padding: 0 1.25rem; }
  .one-two-col-grid, .two-one-col-grid { grid-template-columns: 1fr; gap: 0; padding: 0 1.25rem; }
  .two-one-col-grid .col:first-of-type { order: +1; }
  [class*="span-"] { grid-column: span 12; }
  .flex-grid { gap: 0; }
   section { padding: 2.55rem 0; }
  .nowrap { white-space: normal; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr;  }
  .footer-bottom { text-align: center; }
  
  /* Home - Hero */
  .hero-home { 
    min-height: 100vh; 
    min-height: max(100svh, 33.5rem); 
    height: auto; padding: 0;
    background-position: left -6.5rem bottom 10rem;
    background-size: auto 24.5rem;
  }
  .hero-card { max-width: 100%; }
  .hero-card p.cta-link { margin-top: 0.3125rem; }
  .hero-card .cta-link a { overflow-wrap: anywhere; }
  
  /* Home - Section Marketing */
  .sec-marketing h2 { text-align: left; }
  .sec-marketing .textbox { padding: 0 1.25rem 2rem; }
  
  .sec-marketing .span-6:last-child {
    margin: 0 -1.25rem;
    width: calc(100% - 2.5rem);
    margin-inline: auto;
  }
  .sec-marketing .span-6:last-child img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center 34%;
    padding-bottom: 0.625rem;
  }

  /* Home - Section Solution (Was Sie brauchen?) */
  .sec-solution .flex-grid { padding: 0 1.25rem; }
  .sec-solution .span-4 {
    order: 2;
    width: calc(100% - 2.5rem);
    min-height: clamp(17.5rem, 58vw, 23.75rem);
    margin-inline: auto;
    margin-bottom: 3.125rem;
  }
  .sec-solution .solution-img { object-position: center 18%; }
  .sec-solution .textbox { order: 1; padding: 2.5rem 1.25rem 1.25rem; }
  
  /* Home - Section Why */
  .sec-why .text-content, .sec-why .text-content p { max-width: 100%; }
  .sec-why {
    position: relative;
    background: var(--color-gray-200);
    overflow: hidden;
    padding-bottom: 0;
  }
  .sec-why::after {
    content: '';
    display: block;
    width: 100%;
    height: 18.75rem;
    background: linear-gradient(to bottom, var(--color-gray-200), rgba(var(--color-gray-200-rgb),0.3) 50%, rgba(var(--color-gray-200-rgb),0.7) 100%), url("../img/may-b-design_marion-bauer_beraten.jpg") no-repeat center 26%;
    background-size: cover;
    margin-top: -6.25rem;
  }
  .sec-why .wrap { padding-bottom: 0; }
  .sec-why .text-content { max-width: 100%; padding-bottom: 2rem; }

  /* Home - Section Workflow */ 
  .sec-workflow .wrap { padding: 0 2.5rem; } 
  
  /* Home - Section Services */
  .service-row, .service-row:nth-of-type(2) {  grid-template-columns: 1fr; }
  .service-label {
    position: static;
    padding: 1rem 0.125rem 0.5rem;
    text-align: left;
    font-size: clamp(1.625rem, 5vw, 2.25rem);
    line-height: 0.4;
    margin: -2.5rem 0 -3rem -1.5rem;
    opacity: 0.5;
  }
  .service-row:nth-of-type(2) .service-label { order: 0; }  
  .service-label .catch { font-size: clamp(3.75rem, 5vw, 5.9375rem); }
  .service-content { padding: 0 1.25rem; order: 0; }
  
  .sec-services h2 { text-align: left; padding-inline: 1.25rem; }
  .service-subblock .icon {
    width: clamp(3.5rem, 14vw, 5.9375rem);
    height: auto;
    max-height: none;
    margin: 0.625rem 0 -0.4375rem -0.9375rem;
    flex-shrink: 0;
  } 

  /* Home - Section CTA */
  .cta {
    position: relative;
    background:
      url("../img/may-b-design_marion-bauer_match_mobile.jpg") no-repeat no-repeat center center;
    background-size: cover;
  }
  .cta .flex-grid { min-height: auto; }
  .cta .cta-text { padding: 2.5rem; }

  /* Home - Section Testimonials */
  .testimonial-page { grid-template-columns: 1fr; gap: 2.5rem; padding:0 1.25rem; }
  .testimonial-text { height: auto; }
  
  /* Home - Section About */
  .sec-about .flex-grid { max-width: none;  }
  .sec-about .flex-grid .span-6:first-child {
    position: relative;
    min-height: 21.875rem;
    margin-right: 0;
  }
  .sec-about .textbox { padding: 2.5rem; max-width: none;}
  .sec-about .about-img { position: absolute; }
  

  /* Subpage - Hero */
  .page-hero { align-items: flex-end; padding-top: 3.5rem; padding-bottom: 18.75rem; }
  
  .page-hero .hero-bg {
    width: 100%;
    height: 25rem;
    margin-inline: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
    margin-top: -6.25rem;
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
  }
  .page-hero::after {
    background: none;
  }

  /* Subpage - Public/Press */
  .press-online-entry {
    grid-template-columns: 3.75rem 1fr;
    gap: 0.75rem;
  }
  
  /* Subpage - Infothek */
  .page-infothek .page-hero .hero-bg {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,1) 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 25%, rgba(0,0,0,1) 100%);
    bottom: -6.25rem;
  }

  /* Subpage - Kreativ - Extra-Section */
  .sec-extra ul { padding-left: 0; }
  
  
  /* Legal Pages & Contact*/
  .page-legal .page-hero, .page-contact .page-hero {
    min-height: auto;
    padding-bottom: 1.25rem;
  }
  .page-legal .page-hero::after { content: none; }
  
  .page-legal .two-col-grid { padding: 0 1.25rem; }
  .page-hero .wrap { padding-top: 2.5rem; }
  
  .mayb-bg::after {
    transform: translateY(2rem);
    left: auto;
    right: -30%;
  }
  .mayb-bg p.intro + p.intro {
    max-width: 50%;
  }
}

@media (max-width: 585px) {
  .mayb-bg::after { 
    height: 23.5rem;
    width: calc(23.5rem * 5/4);
    -webkit-mask-image: linear-gradient( to bottom, rgba(0,0,0,0.9) 35%, rgba(0,0,0,0.3) 65%, rgba(0,0,0,0.2) 100% );
    mask-image: linear-gradient( to bottom, rgba(0,0,0,0.9) 35%, rgba(0,0,0,0.3) 65%, rgba(0,0,0,0.2) 100% );
  }
  .mayb-bg p.intro + p.intro {
    max-width: 100%;
  }
}

@media (max-width: 480px) {

  .btn-box {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin: 0 0 0.625rem;
  }
  
  /* Home - Hero */
   .hero-home {
    min-height: 100vh; 
    min-height: max(100svh, 43rem);
    height: auto;
    padding: 0;
    background-position: left -8.5rem bottom 14.5rem;
    background-size: auto 24.5rem;
  }
  .hero-home .hero-title h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-card h3 { font-size: var(--font-size-l); }  
  .hero-card p { margin-right: -0.3125rem; line-height: 1.4; }
  .hero-card p.cta-link { text-align: center; margin-right: -1rem; }
  .hero-card p.cta-link a { gap: 0.1rem; text-align: center; }
  .hero-card p.cta-link a .link-arrow-icon { width: 0.7rem; height: 0.55rem; margin-left: -1rem; }

  /* Home - Section Kundenstimmen */
  .sec-testimonials h2 { text-align: left; padding-inline: 1.25rem; }
  .testimonial-arrow { /* display: none;*/ margin: 0 -1.25rem; }
  .testimonial-arrow img { width: 1.354rem; height: 2.5rem; }
  .testimonials-wrapper { gap: 0; }
  
  /* Subpage - Public/Press */
  .press-online-entry { grid-template-columns: 1fr; }
  
  /* Contact */
  .mayb-bg::after { 
    -webkit-mask-image: linear-gradient( to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100% );
    mask-image: linear-gradient( to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 100% );
  }

}

@media print {
  @page { margin: 1.5cm 0.75cm; }
	
  * {
    overflow: visible !important;
    display: block !important;
  }

  body, html { height: auto; }
  header, footer, .skip-link, .nav-placeholder { display: none !important; }
}