/**
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 3 of the License, or (at
 *   your option) any later version.
 *
 *   This program is distributed in the hope that it will be useful, but
 *   WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 *   General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with this program; if not, see <http://www.gnu.org/licenses/>.
 *
 *   @author          Matthias Glienke, letima development
 *   @copyright       2026, Matthias Glienke, letima development
 *   @link            https://diezahntechniker.com
 *   @license         http://www.gnu.org/licenses/gpl.html
 *   @category        Template
 *   @package         Die Zahntechniker
 *
 */

/* =========================================
   DESIGN TOKENS / VARIABLEN
   ========================================= */

:root {
  --max: 1120px;
  --gutter: 48px;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial;
  --lh: 1.6;

  --accent-rgb: 150 26 48;
  --accent: rgb(var(--accent-rgb));
  --accent-05: rgb(var(--accent-rgb) / 0.05);
  --accent-08: rgb(var(--accent-rgb) / 0.08);
  --accent-14: rgb(var(--accent-rgb) / 0.14);
  --accent-25: rgb(var(--accent-rgb) / 0.25);
  --accent-38: rgb(var(--accent-rgb) / 0.38);
  --accent-55: rgb(var(--accent-rgb) / 0.55);
  --accent-62: rgb(var(--accent-rgb) / 0.62);
  --accent-75: rgb(var(--accent-rgb) / 0.75);

  --text: #1f1f1f;
  --sub: #555;
  --panel: rgb(255 255 255 / 1);
  --muted: rgb(255 255 255 / 0.38);

  --border-w: 1px;
  --border-color: var(--accent-14);
  --border-color-soft: var(--accent-08);
  --border-color-inverse: rgb(255 255 255 / 0.65);

  --border: var(--border-w) solid var(--border-color);
  --border-soft: var(--border-w) solid var(--border-color-soft);
  --border-inverse: var(--border-w) solid var(--border-color-inverse);

  --radius: 0.6rem;
  --shadow: 0 0.5rem 3rem -2rem var(--accent-62);

  --header-h: 50px;
  --header-z: 1000;
  --header-bg: rgb(255 255 255 / 0.7);
  --header-bg-strong: rgb(255 255 255 / 0.95);
  --header-blur: 8px;

  --section-y: 80px;
  --gap-1: 12px;
  --gap-2: 18px;
  --gap-3: 26px;

  --hero-min: 78vh;
  --hero-img: url("fraese_close_4.jpg");
  --hero-bottom-gap: 1rem;
  --hero-line-gap: 1rem;

  --hero-red-1: var(--accent-05);
  --hero-red-2: var(--accent-38);
  --hero-red-3: var(--accent-62);

  --bgfx-z: -1;
  --bgfx-blur: 40px;
  --bgfx-opacity: 1;
  --bgfx-duration: 8s;
  --bgfx-shift: 12%;
  --bgfx-scale: 1.12;
  --bgfx1-white-stop: 34%;
  --bgfx1b-white-stop: 40%;
  --bgfx2-white-stop: 30%;
  --bgfx2b-white-stop: 34%;

  --team-stage-w: min(100vw, 920px);
  --team-photo-h: clamp(460px, 48vw, 760px);
  --team-photo-pad: clamp(12px, 1.4vw, 18px);
  --team-card-w: clamp(420px, 38vw, 700px);
  --team-overlap: clamp(64px, 7vw, 180px);
  --team-card-blur: 6px;
}

/* =========================================
   RESET / BASE
   ========================================= */

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

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

html {
  background: var(--accent);
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html {
    overflow-x: hidden;
  }
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--font);
  line-height: var(--lh);
  color: var(--text);
  padding-top: var(--header-h);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
}

figure {
  padding: 0;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

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

/* =========================================
   Fancy Link Effect – nur Content + Footer Panel
   Buttons/CTAs ausdrücklich ausgeschlossen
   ========================================= */

#mContent a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain),
#mFoot
  > section.footer__panel
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain) {
  position: relative;
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  padding: 0 0.08em 0.02em;
  border-radius: 0.22em;
  transform: translateZ(0);
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

/* untere 3D-Basis */
#mContent a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain)::before,
#mFoot
  > section.footer__panel
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain)::before {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.02em;
  bottom: -0.1em;
  height: 0.34em;
  border-radius: 0.18em;
  background: linear-gradient(
    to bottom,
    rgb(var(--accent-rgb) / 0.14),
    rgb(var(--accent-rgb) / 0.05)
  );
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.65) inset,
    0 1px 3px rgb(var(--accent-rgb) / 0.1);
  transform: perspective(10px) rotateX(55deg) scaleY(0.75);
  transform-origin: center bottom;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease,
    opacity 220ms ease;
  z-index: -1;
}

/* feine Lichtkante */
#mContent a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain)::after,
#mFoot
  > section.footer__panel
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain)::after {
  content: "";
  position: absolute;
  left: 0.04em;
  right: 0.04em;
  bottom: -0.02em;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgb(255 255 255 / 0),
    rgb(255 255 255 / 0.75),
    rgb(255 255 255 / 0)
  );
  opacity: 0.45;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: -1;
}

/* Hover */
#mContent a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):hover,
#mContent
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):focus-visible,
#mFoot
  > section.footer__panel
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):hover,
#mFoot
  > section.footer__panel
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):focus-visible {
  color: color-mix(in srgb, var(--accent) 88%, black);
  transform: translateY(-1px);
  text-shadow: 0 0.12rem 0.3rem rgb(var(--accent-rgb) / 0.1);
}

#mContent
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):hover::before,
#mContent
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):focus-visible::before,
#mFoot
  > section.footer__panel
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):hover::before,
#mFoot
  > section.footer__panel
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):focus-visible::before {
  background: linear-gradient(
    to bottom,
    rgb(var(--accent-rgb) / 0.2),
    rgb(var(--accent-rgb) / 0.08)
  );
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.75) inset,
    0 2px 5px rgb(var(--accent-rgb) / 0.12);
  transform: perspective(10px) rotateX(55deg) scaleY(0.92);
}

#mContent
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):hover::after,
#mContent
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):focus-visible::after,
#mFoot
  > section.footer__panel
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):hover::after,
#mFoot
  > section.footer__panel
  a:not(.btn):not(.hero-discover):not(.svc__btn):not(#upAgain):focus-visible::after {
  opacity: 0.75;
  transform: scaleX(1.02);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus:not(:focus-visible) {
  outline: none;
}

.container {
  width: min(var(--max), calc(100% - var(--gutter)));
  margin: 0 auto;
}

/* =========================================
   TYPOGRAFIE
   ========================================= */

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--accent);
  font-weight: 300;
  letter-spacing: 0.2px;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  color: var(--accent);
  font-weight: 700;
  padding: 0.2rem 0 2rem 0;
}

h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

h5 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   LISTEN IM CONTENT
   ========================================= */

#mContent ul {
  margin: 1.4rem 0 0.6rem 0;
  padding: 0 0 0 1rem;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

#mContent li {
  position: relative;
  padding-left: 1.9rem;
  line-height: 1.55;
  color: var(--text);
}

#mContent li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(
    circle at center,
    var(--accent) 0 28%,
    rgb(255 255 255 / 0.95) 29% 52%,
    var(--accent-25) 53% 100%
  );
  box-shadow: 0 0 0 1px var(--accent-14),
    0 0.15rem 0.5rem -0.2rem var(--accent-38);
}

/* =========================================
   BACKGROUND FX
   ========================================= */

.background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: var(--bgfx-z);
  opacity: var(--bgfx-opacity);
}

.background::before,
.background::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  filter: blur(var(--bgfx-blur));
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.background::before {
  background: radial-gradient(
      circle at 50% 50%,
      rgb(255 255 255 / 0.95) var(--bgfx1-white-stop),
      rgb(255 80 130 / 0.5) 56%,
      transparent
    ),
    radial-gradient(
      circle at 70% 70%,
      rgb(255 255 255 / 0.8) var(--bgfx1b-white-stop),
      rgb(80 130 255 / 0.5) 66%,
      transparent
    );
  animation: bgMoveA var(--bgfx-duration) ease-in-out infinite;
}

.background::after {
  background: radial-gradient(
      circle at 40% 60%,
      rgb(255 255 255 / 0.9) var(--bgfx2-white-stop),
      rgb(255 150 200 / 0.45) 56%,
      transparent
    ),
    radial-gradient(
      circle at 80% 40%,
      rgb(255 255 255 / 0.85) var(--bgfx2b-white-stop),
      rgb(130 180 255 / 0.45) 61%,
      transparent
    );
  animation: bgMoveB calc(var(--bgfx-duration) * 1.05) ease-in-out infinite;
  animation-delay: calc(var(--bgfx-duration) * -0.35);
}

@keyframes bgMoveA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(
        calc(var(--bgfx-shift) * 0.72),
        calc(var(--bgfx-shift) * 0.72),
        0
      )
      scale(calc(var(--bgfx-scale) * 0.985));
  }
}

@keyframes bgMoveB {
  0%,
  100% {
    transform: translate3d(
        calc(var(--bgfx-shift) * -0.12),
        calc(var(--bgfx-shift) * 0.1),
        0
      )
      scale(1);
  }
  50% {
    transform: translate3d(
        calc(var(--bgfx-shift) * 0.58),
        calc(var(--bgfx-shift) * 0.35),
        0
      )
      scale(calc(var(--bgfx-scale) * 0.98));
  }
}

@media (prefers-reduced-motion: reduce) {
  .background::before,
  .background::after {
    animation: none;
  }
}

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

#mHeader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--header-z);
  background: var(--header-bg);
  border-bottom: var(--border-soft);
  backdrop-filter: blur(var(--header-blur));
  -webkit-backdrop-filter: blur(var(--header-blur));
}

#mHeader.is-solid {
  background: var(--header-bg-strong);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

#mNav {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-2);
  padding: 5px 0;
  width: 100%;
}

#logo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

#logo img {
  height: 48px;
  width: auto;
  max-width: 260px;
  display: block;
}

#mNav nav {
  display: flex;
  align-items: center;
}

#mainN.list {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
}

#mainN.list > li.item {
  margin: 0;
  padding: 0;
}

#mainN.list > li.item > a {
  display: inline-block;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--text);
  transition: background 180ms ease, color 180ms ease;
}

#mainN.list > li.item > a:hover {
  background: var(--accent-08);
  color: var(--accent);
}

#mainN.list > li.current_item > a {
  color: var(--accent);
  background: var(--accent-08);
}

#showMenu {
  display: none;
  user-select: none;
  cursor: pointer;
  border: var(--border-soft);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
}

#mContent.preHeader {
  margin-top: -77px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: var(--shadow);
}

.btn:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: none;
}

.btn--small {
  padding: 8px 14px;
  font-size: 0.95rem;
}

/* =========================================
   GENERIC SECTIONS
   ========================================= */

.section {
  padding: var(--section-y) 0;
}

.section--muted {
  background: var(--muted);
}

.section-head {
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.5vw, 36px);
}

.section-head p {
  margin: 0;
  max-width: 60ch;
}

/* =========================================
   HERO
   ========================================= */

.hero--image {
  position: relative;
  min-height: var(--hero-min);
  display: flex;
  align-items: stretch;
  color: #fff;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
}

.hero--image .hero-center--stack {
  align-self: stretch;
  width: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 62% 38%,
    var(--hero-red-1) 0%,
    var(--hero-red-2) 85%,
    var(--hero-red-3) 100%
  );
}

.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

.hero-center--stack {
  position: relative;
  z-index: 2;
  min-height: calc(var(--hero-min) - var(--header-h));
  display: grid;
  grid-template-rows: 1fr auto auto 1fr;
  row-gap: 18px;
  text-align: center;
}

.hero-content {
  grid-row: 2;
  justify-self: center;
  width: min(760px, 100%);
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-logo {
  max-width: min(360px, 70vw);
  height: auto;
  margin-bottom: 6px;
  filter: drop-shadow(0 10px 24px rgb(0 0 0 / 0.18));
}

.hero-title {
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.2px;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.15;
  color: #fff;
}

.hero-title strong {
  font-weight: 800;
}

.hero-lead {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.7;
  color: rgb(255 255 255 / 0.86);
}

.hero-discover-wrap {
  grid-row: 3 / 5;
  justify-self: center;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: var(--hero-bottom-gap);
  min-height: 0;
}

.hero-discover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 18px;
  border-radius: 6px;
  border: var(--border-inverse);
  color: #fff;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: rgb(0 0 0 / 0.06);
  text-shadow: 0 0 0.5rem black;
  box-shadow: 0 0 2rem -0.5rem black;
  backdrop-filter: blur(6px);
}

.hero-line {
  margin-top: var(--hero-line-gap);
  flex: 1;
  width: 1px;
  background: rgb(255 255 255 / 0.55);
}

/* =========================================
   CONTENT MODULES
   ========================================= */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-2);
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 20px;
}

.card p {
  color: var(--sub);
}

.list {
  padding-left: 18px;
  color: var(--sub);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-3);
  align-items: center;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.checkgrid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.check {
  display: flex;
  gap: var(--gap-1);
  padding: 14px;
  background: var(--panel);
  border-radius: var(--radius);
  border: var(--border);
  box-shadow: var(--shadow);
}

.check__dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.steps li {
  background: var(--panel);
  border-radius: var(--radius);
  border: var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
}

.steps span {
  color: var(--sub);
}

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

.quote {
  background: var(--panel);
  border-radius: var(--radius);
  border: var(--border);
  padding: 18px;
  box-shadow: var(--shadow);
}

.quote figcaption {
  color: var(--sub);
}

/* =========================================
   CONTACT / FORM
   ========================================= */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-box {
  margin-top: 16px;
  background: var(--panel);
  border-radius: var(--radius);
  border: var(--border);
  padding: 16px;
  box-shadow: var(--shadow);
}

.form {
  background: var(--panel);
  border-radius: var(--radius);
  border: var(--border);
  padding: 20px;
  box-shadow: var(--shadow);
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 14px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border-radius: var(--radius);
  border: var(--border);
  font-family: inherit;
}

textarea {
  resize: vertical;
}

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

#mFoot {
  position: relative;
  margin-top: var(--section-y);
  padding: 0 0 28px;
  color: var(--sub);
  border-top: var(--border-soft);
}

.footer__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
  padding: 42px 0 28px;
}

.footer__intro {
  max-width: 62ch;
}

.footer__eyebrow {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer__intro h2 {
  margin: 0 0 14px;
  padding: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.footer__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 58ch;
}

.footer__card {
  position: relative;
  background: rgb(255 255 255 / 0.72);
  border: var(--border);
  border-radius: calc(var(--radius) * 1.3);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 22px 22px 20px;
  display: grid;
  gap: 18px;
}

.footer__brand {
  display: grid;
  gap: 14px;
}

.footer__logo img {
  width: min(280px, 100%);
  height: auto;
  display: block;
}

.footer__address {
  font-style: normal;
  line-height: 1.65;
  color: var(--text);
}

.footer__address h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
}

.footer__meta {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: var(--border-soft);
}

.footer__meta p {
  margin: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  line-height: 1.5;
}

.footer__meta strong {
  color: var(--text);
  font-weight: 700;
}

.footer__meta span {
  color: var(--sub);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 20px;
  border-top: var(--border-soft);
}

.footer__copy {
  color: var(--sub);
}

.footer__legal ul,
.footer__legal .list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: var(--border-soft);
  background: rgb(255 255 255 / 0.45);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.footer__legal a:hover {
  color: var(--accent);
  background: var(--accent-08);
  border-color: var(--accent-14);
}

#upAgain {
  position: absolute;
  right: max(
    24px,
    calc((100vw - min(var(--max), calc(100% - var(--gutter)))) / 2)
  );
  top: 0;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: var(--border-soft);
  background: rgb(255 255 255 / 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
}

#upAgain::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-left: 2px solid var(--accent);
  border-top: 2px solid var(--accent);
  transform: rotate(45deg) translate(1px, 1px);
}

/* =========================================
   SERVICES
   ========================================= */

.svc {
  padding: var(--section-y) 0;
  background: transparent;
}

#contSection > .svc:first-of-type {
  padding: 0 0 var(--section-y) 0;
}

.svc__head {
  text-align: center;
  margin-bottom: 34px;
}

.svc__head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.5vw, 40px);
}

.svc__head p {
  margin: 0 auto;
  max-width: 70ch;
}

.svc__grid {
  display: grid;
  gap: var(--gap-2);
  margin-top: 26px;
  grid-template-columns: 1fr;
}

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

.svc__card {
  position: relative;
  overflow: visible;
  min-height: 330px;
  border-radius: var(--radius);
  border: var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 3.4rem 2rem 2rem;
  isolation: isolate;
}

.svc__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms ease;
  z-index: 0;
  border-radius: inherit;
}

.svc__card > * {
  position: relative;
  z-index: 1;
}

.svc__iconBadge {
  position: absolute;
  top: 0;
  left: 1.8rem;
  transform: translateY(-34%);
  z-index: 3;
}

.svc__icon {
  width: 3.9rem;
  height: 3.9rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgb(255 255 255 / 0.92);
  border: 1px solid var(--accent-14);
  box-shadow: 0 0.45rem 1.5rem -1rem var(--accent-38),
    0 0 0 0.25rem rgb(255 255 255 / 0.5);
  color: var(--accent);
  backdrop-filter: blur(6px);
}

.svc__icon svg {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
}

.svc__card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  letter-spacing: 0.3px;
}

.svc__card p {
  margin: 0 0 1.2rem;
}

.svc__card li p {
  margin: 0;
}

.svc__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 800;
  background: transparent;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}

.svc__cardHover:hover::before,
.svc__cardHover:focus-within::before,
.svc__cardHover.is-active::before {
  transform: scaleX(1);
}

.svc__cardHover:hover h3,
.svc__cardHover:hover p,
.svc__cardHover:hover li,
.svc__cardHover:focus-within h3,
.svc__cardHover:focus-within p,
.svc__cardHover:focus-within li,
.svc__cardHover.is-active h3,
.svc__cardHover.is-active p,
.svc__cardHover.is-active li {
  color: rgb(255 255 255 / 0.92);
}

.svc__cardHover:hover .svc__icon,
.svc__cardHover:focus-within .svc__icon,
.svc__cardHover.is-active .svc__icon {
  color: #fff;
  background: rgb(255 255 255 / 0.08);
  border-color: rgb(255 255 255 / 0.28);
  box-shadow: 0 0.45rem 1.5rem -1rem rgb(0 0 0 / 0.25),
    0 0 0 0.25rem rgb(255 255 255 / 0.08);
}

.svc__cardHover:hover .svc__btn,
.svc__cardHover:focus-within .svc__btn,
.svc__cardHover.is-active .svc__btn {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

.svc__cardHover:hover li::before,
.svc__cardHover:focus-within li::before,
.svc__cardHover.is-active li::before {
  background: radial-gradient(
    circle at center,
    rgb(255 255 255 / 0.95) 0 28%,
    rgb(255 255 255 / 0.22) 29% 52%,
    rgb(255 255 255 / 0.45) 53% 100%
  );
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.22),
    0 0.15rem 0.5rem -0.2rem rgb(0 0 0 / 0.18);
}

/* =========================================
   TEAM
   ========================================= */

#team {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  #team {
    overflow-x: hidden;
  }
}

.team.team--center {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  row-gap: clamp(24px, 4vw, 40px);
}

.team-head {
  text-align: center;
  margin-bottom: 0.5rem;
}

.team-head p {
  margin-left: auto;
  margin-right: auto;
}

.team-stage {
  position: relative;
  width: var(--team-stage-w);
  max-width: 100%;
  margin: 0 auto;
  height: var(--team-photo-h);
}

.team-photo {
  position: relative;
  width: min(100%, var(--team-stage-w));
  margin: 0 auto;
  height: auto;
  padding: var(--team-photo-pad);
  display: grid;
  place-items: center;
  background: rgb(255 255 255 / 0.55);
  border-radius: calc(var(--radius) * 1.4);
  box-shadow: var(--shadow);
  z-index: 1;
}

.team-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: calc(var(--radius) * 1.2);
}

.team-person {
  position: absolute;
  text-align: left;
  top: 50%;
  z-index: 3;
  width: var(--team-card-w);
  max-width: calc(100vw - 2rem);
  background: rgb(255 255 255 / 0.92);
  border: var(--border);
  border-radius: calc(var(--radius) * 1.2);
  padding: 26px 28px 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(var(--team-card-blur));
}

.team-person h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.team-person p {
  margin: 0;
  color: var(--sub);
  line-height: 1.6;
}

.team-person--annika {
  left: 0;
  transform: translateX(calc(-1 * var(--team-overlap))) translateY(62%);
}

.team-person--timo {
  right: 0;
  transform: translateX(var(--team-overlap)) translateY(100%);
}

.team-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

/* =========================================
   STATEMENT
   ========================================= */

.statement {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 70vh, 820px);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
}

.statement-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.statement-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.statement-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    circle at 50% 40%,
    rgb(255 255 255 / 0.12),
    var(--accent-55) 70%,
    var(--accent-75) 100%
  );
}

.statement-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: min(820px, 90vw);
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.statement-eyebrow {
  margin: 0;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: rgb(255 255 255 / 0.85);
}

.statement-title {
  color: rgba(255, 255, 255, 1);
  margin: 0;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.2px;
  font-size: clamp(32px, 4.8vw, 56px);
}

.statement-title strong {
  font-weight: 800;
}

/* =========================================
   LEGACY / SIMPLE IMAGE START
   ========================================= */

.cG_simpleImgStart {
  margin: 0 0 2em 0;
  color: white;
  text-align: center;
  line-height: 0;
}

#cG_simpleImgStart_5 {
  background: url(images/header_back.png) repeat-x center bottom / auto 100%;
}

.cG_simpleImgStart header {
  padding: 1em 0;
  line-height: 1.4em;
}

.cG_simpleImgStart h3 {
  margin: 0 auto 1em auto;
  color: white;
}

.cG_simpleImgStart figure {
  position: relative;
  padding: 0;
  margin: var(--header-h) auto 0 auto;
  width: 100vw;
  max-width: 1200px;
}

.cG_simpleImgStart img {
  margin: 0;
  width: 100%;
  height: auto;
}

.cG_simpleImgStart figcaption {
  position: absolute;
  font-size: 1em;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 1.4em;
  text-align: center;
  padding: 0.5em;
}

.cG_simpleImgStart figcaption p {
  padding: 0 0 0.4em 0;
}

.cG_simpleImgStart .contRight figcaption {
  left: auto;
  right: 0;
}

.cG_simpleImgStart h4 {
  font-size: 1.4em;
  font-family: "Mate SC", sans-serif;
  color: #debd47;
  padding: 0.2em 0;
}

.cG_simpleImgStart a {
  border: 0 none;
}

.cG_simpleImgStart a img {
  width: 22px;
  height: auto;
}

.cG_simpleImgStart p a img {
  margin: 1em;
  width: 44px;
  height: auto;
}

/* =========================================
   CATGALLERY Z SLIDER / HERO LAYOUT
   ========================================= */

.cG_zS {
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: 400px;
  height: calc(82vh - var(--header-h, 40px));
  max-height: 800px;
  overflow: hidden;
  padding: 0;
}

.cG_zS figure {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 400px;
  height: calc(82vh - var(--header-h, 40px));
  max-height: 800px;
  background-color: rgba(255, 255, 255, 1);
  overflow: hidden;
  opacity: 0;
  transform: translate3d(100vw, 0, 0);
  transition: transform 0.5s ease-in, opacity 0.5s ease-in;
  display: block;
}

.cG_zS figure.hide {
  transform: translate3d(-100vw, 0, 0);
}

.cG_zS figure.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.cG_zS_media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.cG_zS_fitHeight .cG_zS_media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: auto;
  width: auto;
  height: 100%;
  min-width: 0;
  max-width: none;
  max-height: 100%;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center center;
}

.cG_zS figure::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  z-index: 1;
  background: radial-gradient(
    circle at 62% 38%,
    var(--hero-red-1, rgb(150 26 48 / 0.05)) 0%,
    var(--hero-red-2, rgb(150 26 48 / 0.38)) 85%,
    var(--hero-red-3, rgb(150 26 48 / 0.62)) 100%
  );
}

.cG_zS figure.cG_zS_fitHeight::before {
  opacity: 0;
}

.cG_zS_cont,
.cG_zS_stage {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - var(--gutter)));
  height: 100%;
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  padding-top: clamp(90px, 14vh, 140px);
  padding-bottom: calc(
    var(--hero-bottom-gap, 1rem) + 52px + clamp(28px, 9vh, 110px)
  );
  background: none;
  box-shadow: none;
}

.cG_zS figure.cG_zS_figleft .cG_zS_cont,
.cG_zS figure.cG_zS_figleft .cG_zS_stage {
  justify-content: flex-start;
  text-align: left;
}

.cG_zS figure.cG_zS_figcenter .cG_zS_cont,
.cG_zS figure.cG_zS_figcenter .cG_zS_stage {
  justify-content: center;
  text-align: center;
}

.cG_zS figure.cG_zS_figright .cG_zS_cont,
.cG_zS figure.cG_zS_figright .cG_zS_stage {
  justify-content: flex-end;
  text-align: right;
}

.cG_zS figure.cG_zS_postop .cG_zS_cont,
.cG_zS figure.cG_zS_postop .cG_zS_stage {
  align-items: flex-start;
}

.cG_zS figure.cG_zS_poscenter .cG_zS_cont,
.cG_zS figure.cG_zS_poscenter .cG_zS_stage {
  align-items: center;
}

.cG_zS figure.cG_zS_posbottom .cG_zS_cont,
.cG_zS figure.cG_zS_posbottom .cG_zS_stage {
  align-items: flex-end;
}

.cG_zS figure.cG_zS_poscenter .cG_zS_cont,
.cG_zS figure.cG_zS_poscenter .cG_zS_stage {
  padding-top: clamp(84px, 12vh, 130px);
  padding-bottom: calc(
    var(--hero-bottom-gap, 1rem) + 52px + clamp(22px, 7vh, 88px)
  );
}

.cG_zS_cont .hero-content,
.cG_zS_stage .hero-content {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0;
}

.cG_zS figure.cG_zS_figleft .hero-content {
  align-items: flex-start;
}

.cG_zS figure.cG_zS_figcenter .hero-content {
  align-items: center;
}

.cG_zS figure.cG_zS_figright .hero-content {
  align-items: flex-end;
}

.cG_zS_cont p {
  margin: 0;
}

.cG_zS_cont > .hero-content > p:first-child {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.88);
}

.cG_zS_cont h1,
.cG_zS_cont h2 {
  margin: 0;
  padding: 0;
  font-weight: 300;
  letter-spacing: 0.2px;
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.15;
  color: #fff;
}

.cG_zS_cont h1 strong,
.cG_zS_cont h2 strong {
  font-weight: 800;
}

.cG_zS_cont .hero-content > p:last-child,
.cG_zS_cont h1 + p,
.cG_zS_cont h2 + p {
  max-width: 58ch;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.7;
  color: rgb(255 255 255 / 0.86);
}

.cG_zS_cont img {
  display: block;
  width: auto;
  max-width: min(360px, 70vw);
  height: auto;
  filter: drop-shadow(0 10px 24px rgb(0 0 0 / 0.18));
}

.cG_zS .hero-discover-wrap {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  transform: translateX(-50%);
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: var(--hero-bottom-gap, 1rem);
  min-height: 0;
}

.cG_zS .hero-line {
  margin-top: var(--hero-line-gap, 1rem);
  height: clamp(28px, 9vh, 110px);
  width: 1px;
  flex: none;
  background: rgb(255 255 255 / 0.55);
}

.cG_zS > span {
  position: absolute;
  display: block;
  bottom: 2.2rem;
  left: 0;
  right: 0;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0 auto;
  border: 0.1rem solid rgba(247, 249, 254, 1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: rgba(14, 20, 31, 1) 0 0 1.5rem -0.25rem;
  z-index: 5;
  cursor: pointer;
  animation: cG_zSButton 3s ease-out infinite;
}

.cG_zS > span::before {
  content: "";
  display: block;
  position: absolute;
  top: 0.7rem;
  left: 0.95rem;
  width: 0.75rem;
  height: 0.75rem;
  border-bottom: 1px solid rgba(247, 249, 254, 1);
  border-right: 1px solid rgba(247, 249, 254, 1);
  transform: rotate(45deg);
}

@keyframes cG_zSButton {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.8rem);
  }
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 980px) {
  .split,
  .contact,
  .svc__grid.svc__grid--2,
  .cards,
  .quotes,
  .footer__panel {
    grid-template-columns: 1fr;
  }

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

  .footer__intro {
    max-width: none;
  }

  .svc__card {
    min-height: unset;
  }

  .svc__iconBadge {
    left: 1.4rem;
    transform: translateY(-28%);
  }

  .team-person {
    position: static;
    transform: none;
    width: min(720px, 100%);
    margin: 0 auto;
  }

  .team-person--annika,
  .team-person--timo {
    transform: none;
  }

  .team.team--center {
    row-gap: 18px;
  }

  .cG_zS,
  .cG_zS figure {
    min-height: 400px;
    height: calc(72svh - var(--header-h, 40px));
    max-height: 760px;
  }

  .cG_zS_cont,
  .cG_zS_stage {
    width: calc(100% - 32px);
    padding-top: clamp(82px, 11vh, 112px);
    padding-bottom: calc(
      var(--hero-bottom-gap, 1rem) + 48px + clamp(18px, 6vh, 72px)
    );
  }

  .cG_zS figure.cG_zS_poscenter .cG_zS_cont,
  .cG_zS figure.cG_zS_poscenter .cG_zS_stage {
    padding-top: clamp(78px, 10vh, 104px);
    padding-bottom: calc(
      var(--hero-bottom-gap, 1rem) + 48px + clamp(16px, 5vh, 60px)
    );
  }

  .cG_zS_cont h1,
  .cG_zS_cont h2 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .cG_zS .hero-line {
    height: clamp(18px, 6vh, 72px);
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 32px;
    --bgfx-blur: 30px;
    --bgfx-duration: 10s;
    --bgfx-scale: 1.08;
  }

  #showMenu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  #mNav nav {
    display: none;
  }

  #mHeader.is-open #mNav nav,
  #mNav.is-open nav,
  #mNav nav.is-open {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--header-bg-strong);
    backdrop-filter: blur(var(--header-blur));
    -webkit-backdrop-filter: blur(var(--header-blur));
    border-bottom: var(--border-soft);
    padding: 10px 0;
  }

  #mHeader.is-open #mainN.list,
  #mNav.is-open #mainN.list,
  #mNav nav.is-open #mainN.list {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 0;
    width: min(var(--max), calc(100% - var(--gutter)));
    margin: 0 auto;
  }

  #mainN.list > li.item > a {
    padding: 12px 12px;
  }

  .brand-logo {
    height: 40px;
  }

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

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

  .footer__meta p {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  #upAgain {
    right: 16px;
  }

  .hero-logo {
    max-width: min(300px, 78vw);
  }

  .statement {
    min-height: 60vh;
  }

  .statement-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .svc__card {
    padding: 3rem 1.35rem 1.35rem;
  }

  .svc__iconBadge {
    left: 1.2rem;
    transform: translateY(-24%);
  }

  .svc__icon {
    width: 3.4rem;
    height: 3.4rem;
  }

  .svc__icon svg {
    width: 1.55rem;
    height: 1.55rem;
  }

  .cG_zS,
  .cG_zS figure {
    height: calc(68svh - var(--header-h, 40px));
    min-height: 400px;
    max-height: 700px;
  }

  .cG_zS_cont,
  .cG_zS_stage {
    width: calc(100% - 24px);
    padding-top: clamp(74px, 9vh, 96px);
    padding-bottom: calc(
      var(--hero-bottom-gap, 1rem) + 46px + clamp(12px, 4vh, 44px)
    );
  }

  .cG_zS figure.cG_zS_poscenter .cG_zS_cont,
  .cG_zS figure.cG_zS_poscenter .cG_zS_stage {
    padding-top: clamp(70px, 8vh, 90px);
    padding-bottom: calc(
      var(--hero-bottom-gap, 1rem) + 46px + clamp(10px, 3vh, 32px)
    );
  }

  .cG_zS figure.cG_zS_figleft .cG_zS_cont,
  .cG_zS figure.cG_zS_figcenter .cG_zS_cont,
  .cG_zS figure.cG_zS_figright .cG_zS_cont,
  .cG_zS figure.cG_zS_figleft .cG_zS_stage,
  .cG_zS figure.cG_zS_figcenter .cG_zS_stage,
  .cG_zS figure.cG_zS_figright .cG_zS_stage {
    justify-content: center;
    text-align: center;
  }

  .cG_zS figure.cG_zS_figleft .hero-content,
  .cG_zS figure.cG_zS_figcenter .hero-content,
  .cG_zS figure.cG_zS_figright .hero-content {
    align-items: center;
  }

  .cG_zS_cont > .hero-content > p:first-child {
    letter-spacing: 0.14em;
  }

  .cG_zS .hero-line {
    height: clamp(10px, 3vh, 32px);
  }

  .cG_zS > span {
    bottom: 1.4rem;
    width: 2.4rem;
    height: 2.4rem;
  }

  .cG_zS > span::before {
    top: 0.55rem;
    left: 0.8rem;
    width: 0.65rem;
    height: 0.65rem;
  }
}

@media (max-width: 520px) {
  :root {
    --gutter: 24px;
  }

  .header-inner {
    padding: 12px 0;
  }

  .svc__head {
    margin-bottom: 24px;
  }

  .svc__card {
    padding: 2.75rem 1.2rem 1.2rem;
  }

  .svc__iconBadge {
    left: 1rem;
  }
}

@media (max-height: 820px) {
  .cG_zS_cont,
  .cG_zS_stage {
    padding-bottom: calc(
      var(--hero-bottom-gap, 1rem) + 50px + clamp(16px, 5vh, 56px)
    );
  }

  .cG_zS figure.cG_zS_poscenter .cG_zS_cont,
  .cG_zS figure.cG_zS_poscenter .cG_zS_stage {
    padding-bottom: calc(
      var(--hero-bottom-gap, 1rem) + 50px + clamp(12px, 4vh, 44px)
    );
  }

  .cG_zS .hero-line {
    height: clamp(16px, 5vh, 56px);
  }
}

@media (max-height: 700px) {
  .cG_zS_cont,
  .cG_zS_stage {
    padding-bottom: calc(var(--hero-bottom-gap, 1rem) + 56px);
  }

  .cG_zS .hero-line {
    height: 0;
    margin-top: 10px;
    opacity: 0;
  }
}

@media (min-width: 375px) {
  .cG_simpleImgStart p a img {
    margin: 1em;
    width: 72px;
    height: auto;
  }
}

@media (min-width: 480px) {
  .cG_simpleImgStart figcaption {
    font-size: 1.4em;
    padding: 1em;
  }

  .cG_simpleImgStart h4 {
    font-size: 2em;
  }
}

@media (min-width: 768px) {
  .cG_simpleImgStart p a img {
    width: 144px;
  }
}

@media (min-width: 960px) {
  .cG_simpleImgStart a img {
    width: 44px;
  }
}

@media (min-width: 1024px) {
  .cG_simpleImgStart figcaption {
    font-size: 1.6em;
  }

  .cG_simpleImgStart h4 {
    font-size: 2.4em;
  }

  .cG_simpleImgStart figcaption p {
    padding: 0.2em 0 0.8em 0;
  }
}

@media (min-width: 1920px) {
  .cG_simpleImgStart h4 {
    font-size: 3.6em;
  }

  .cG_simpleImgStart figcaption {
    font-size: 1em;
  }
}

@media (display-mode: standalone) {
  body {
    background: var(--accent);
  }
}
.form-check {
  position: relative;
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.9rem;
  align-items: start;
  margin: 0.25rem 0 0.35rem;
  font-weight: 400;
  cursor: pointer;
}

.form-check__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-check__box {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  border: 1px solid var(--accent-25);
  border-radius: 0.35rem;
  background: rgb(255 255 255 / 0.78);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.7) inset,
    0 0.2rem 0.7rem -0.45rem var(--accent-25);
  transition: border-color 180ms ease, background 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}

.form-check__box::after {
  content: "";
  position: absolute;
  left: 0.36rem;
  top: 0.16rem;
  width: 0.34rem;
  height: 0.62rem;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0.75);
  opacity: 0;
  transition: opacity 160ms ease, transform 180ms ease;
}

.form-check__text {
  line-height: 1.5;
  color: var(--text);
}

.form-check .field-error {
  grid-column: 2;
  margin-top: 0.2rem;
}

.form-check__input:checked + .form-check__box {
  background: linear-gradient(
    180deg,
    rgb(var(--accent-rgb) / 0.92),
    rgb(var(--accent-rgb) / 0.76)
  );
  border-color: var(--accent);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.2) inset,
    0 0.35rem 0.9rem -0.45rem var(--accent-38);
}

.form-check__input:checked + .form-check__box::after {
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.form-check:hover .form-check__box {
  border-color: var(--accent-38);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.75) inset,
    0 0.35rem 0.9rem -0.5rem var(--accent-25);
}

.form-check__input:focus-visible + .form-check__box {
  outline: 2px solid rgb(var(--accent-rgb) / 0.22);
  outline-offset: 3px;
}

.form-check.has-error .form-check__box,
.form-check__input.is-invalid + .form-check__box {
  border-color: #c63b4d;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.75) inset,
    0 0 0 0.18rem rgb(198 59 77 / 0.08);
}

/* ---- Footer Card: dezenter Akzent statt rotem BG ---- */
.footer__card {
  background: rgb(255 255 255 / 0.92);
  border: var(--border);
  border-top: 3px solid var(--accent); /* <-- roter Top-Stripe */
  border-radius: calc(var(--radius) * 1.3);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 22px 22px 20px;
  display: grid;
  gap: 18px;
}

/* ---- Öffnungszeiten als Chip-Grid ---- */
.footer__hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 14px;
  border-top: var(--border-soft);
}

.footer__hour-chip {
  background: var(--accent-05);
  border: 1px solid var(--accent-14);
  border-radius: 0.5rem;
  padding: 8px 10px;
}

.footer__hour-chip .day {
  font-size: 0.73rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.footer__hour-chip .time {
  font-size: 0.88rem;
  color: var(--text);
  margin-top: 2px;
}

/* Zeiten-Zeile aus .footer__meta entfernen (wird durch Chips ersetzt) */
.footer__meta .zeiten-row {
  display: none;
}
