/* Prodifystudio · Seiteninhalte der neuen Seiten (Kopf/Footer: site-shell.css)
   Aufbau 1:1 nach cytrus.de (weißer Kopf, Banner, zentrierte Begrüßung, vier Leistungen,
   Projekt-Raster, Kundenstimme, Zusagen-Zeile, Footer mit Adresse und Kontaktsatz).
   Farben nach benderwire.group: Petrol, Mint, Türkis, helles Grau. Keine Effekte außer leisen Übergängen. */

@view-transition { navigation: auto; }

:root {
  --petrol: #24616b;
  --petrol-dark: #1c4f57;
  --mint: #46b384;
  --cyan: #32b7be;
  --green-text: #2c8a62;   /* Mint-Ton für Überschriften auf Weiß (große Schrift, AA) */
  --green-btn: #2a805b;    /* Button-Grün mit weißer Schrift (AA) */
  --green-btn-hover: #226b4c;
  --gray-bg: #f5f7f7;
  --line: #dfe5e6;
  --text: #3d4749;
  --muted: #6c7779;
  --white: #ffffff;

  --font: 'Satoshi', 'Helvetica Neue', Arial, sans-serif;
  --container: 1170px;
  --gutter: 20px;
  --hd-h: 96px;
  --ease: cubic-bezier(.25, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--font); font-size: 18px; line-height: 1.5; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--text); padding: .6rem 1rem; }
.skip:focus { top: 12px; }

.textlink { color: var(--petrol); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.textlink:hover { color: var(--green-text); }

/* ---------- Banner (wie cytrus' Header-Bild, in Petrol) ---------- */
.banner { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--petrol) 0%, #215a63 55%, var(--petrol-dark) 100%); color: var(--white); --dur: 7000ms; --i: 0; }
.banner__lines { position: absolute; top: 0; left: 0; width: 112%; height: 100%; transform: translateX(calc(var(--i) * -2%)); transition: transform 1.6s var(--ease); }
.banner__kicker { font-size: .85rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #9fe0c2; }
.banner__title { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
.banner__lead { font-size: 1.1rem; color: rgba(255, 255, 255, .88); max-width: 30rem; margin-bottom: .5rem; }
.banner__art { width: 240px; height: 240px; }
.banner__check { stroke-dasharray: 64; stroke-dashoffset: 64; transition: stroke-dashoffset .7s var(--ease) .9s; }
.slide.is-active .banner__check { stroke-dashoffset: 0; }

/* Folien liegen übereinander; die Höhe richtet sich nach der höchsten */
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition-delay: 0s; }
.slide__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 3rem; min-height: 470px; padding-block: 3.25rem 5.5rem; }
.slide__txt { display: grid; gap: 1rem; justify-items: start; max-width: 540px; }
.slide__txt > * { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .7s var(--ease); }
.slide.is-active .slide__txt > * { opacity: 1; transform: none; }
.slide.is-active .slide__txt > :nth-child(1) { transition-delay: .15s; }
.slide.is-active .slide__txt > :nth-child(2) { transition-delay: .25s; }
.slide.is-active .slide__txt > :nth-child(3) { transition-delay: .35s; }
.slide.is-active .slide__txt > :nth-child(4) { transition-delay: .45s; }
.slide__media { position: relative; padding: 0 0 7% 8%; opacity: 0; transform: translateX(36px); transition: opacity .8s var(--ease) .1s, transform 1s var(--ease) .1s; }
.slide.is-active .slide__media { opacity: 1; transform: none; }
.slide__media--art { display: flex; justify-content: center; padding: 0; }

/* Geräte-Rahmen */
.device { border-radius: 8px; overflow: hidden; background: #0d2a2f; box-shadow: 0 40px 70px -35px rgba(4, 20, 23, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.device__bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; background: #e9eeee; }
.device__bar i { width: 8px; height: 8px; border-radius: 50%; background: #c6d1d2; }
.device__screen { aspect-ratio: 16 / 10; overflow: hidden; background: #dfe6e6; }
.device__screen img { width: 100%; height: auto; will-change: transform; }
.phone { position: absolute; left: 0; bottom: 0; width: 23%; min-width: 92px; padding: 6px; border-radius: 22px; background: #0b2226; box-shadow: 0 26px 50px -20px rgba(4, 20, 23, .85), 0 0 0 1px rgba(255, 255, 255, .1); transform: translateY(14px); transition: transform 1s var(--ease) .35s; }
.slide.is-active .phone { transform: none; }
.phone__screen { aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 17px; background: #dfe6e6; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Steuerung: Fortschritt, Pause, Pfeile */
.slider__ctrl { position: absolute; left: 0; right: 0; bottom: 1.25rem; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.slider__dots { display: flex; gap: 4px; }
.slider__dots button { width: 46px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.slider__dots span { position: relative; display: block; height: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.slider__dots span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.slider__dots button:hover span { background: rgba(255, 255, 255, .5); }
.slider__dots button[aria-current="true"] span::after { animation: dotFill var(--dur) linear forwards; }
.banner.is-paused .slider__dots button[aria-current="true"] span::after { animation-play-state: paused; }
.banner.is-stopped .slider__dots button[aria-current="true"] span::after { animation: none; transform: scaleX(1); }
@keyframes dotFill { to { transform: scaleX(1); } }
.slider__btns { display: flex; gap: 8px; }
.slider__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: var(--white); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.slider__btn:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.slider__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Begrüßung + vier Leistungen ---------- */
.intro { padding-block: 4.5rem 4rem; }
.intro__inner { text-align: center; max-width: 900px; display: grid; gap: 1rem; }
.intro h1 { font-size: 2rem; font-weight: 600; color: #2d3537; line-height: 1.3; }
.intro__inner p { font-size: 1.05rem; color: var(--text); }
.teasers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; margin-top: 3.5rem; }
.teaser { display: grid; justify-items: center; align-content: start; gap: .8rem; text-align: center; text-decoration: none; color: var(--text); padding: .5rem .25rem; }
.teaser__icon { width: 64px; height: 64px; fill: none; stroke: var(--petrol); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.teaser:hover .teaser__icon { transform: translateY(-3px); }
.teaser h2 { font-size: 1.4rem; font-weight: 600; color: var(--green-text); margin-top: .4rem; }
.teaser p { font-size: 1rem; line-height: 1.45; max-width: 15rem; }
.teaser:hover h2 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Projekt-Raster (wie cytrus' Instagram-Raster) ---------- */
.work { padding-block: 1rem 4rem; }
.work__title { text-align: center; font-size: 1.5rem; font-weight: 600; color: #2d3537; margin-bottom: 1.75rem; }
.work__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-inline: 10px; }
.tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--gray-bg); }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .6s var(--ease); }
.work__grid li:nth-child(3) .tile img { object-position: 35% top; }
.tile__info {
  position: absolute; inset: auto 0 0 0; display: grid; gap: .1rem; padding: 1.1rem 1.2rem;
  background: linear-gradient(180deg, rgba(28, 79, 87, 0), rgba(28, 79, 87, .92) 45%); color: var(--white); font-size: .92rem;
  transform: translateY(35%); opacity: 0; transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.tile__info strong { font-size: 1.15rem; font-weight: 700; }
.tile__tag { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #9fe0c2; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.03); }
.tile:hover .tile__info, .tile:focus-visible .tile__info { transform: none; opacity: 1; }
@media (hover: none) {
  /* Touch: Beschriftung unter dem Bild statt darüber */
  .tile { aspect-ratio: auto; background: var(--petrol); }
  .tile img { aspect-ratio: 1 / 1; height: auto; }
  .tile__info { position: static; transform: none; opacity: 1; background: var(--petrol); padding: .7rem .85rem .85rem; }
}
.work__more { text-align: center; margin-top: 1.75rem; }

/* ---------- Kundenstimme (wie cytrus) ---------- */
.quote { background: var(--gray-bg); padding-block: 3.5rem; }
.quote__inner { max-width: 940px; display: grid; gap: 1.25rem; }
.quote__head, .quote__foot { display: flex; align-items: center; gap: 1rem; }
.quote__head::after, .quote__foot::before { content: ""; flex: 1; height: 1px; background: #c5cfd0; }
.quote__head h2 { order: 2; font-size: .95rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-inline: .5rem; }
.quote__head::after { order: 3; }
.quote__head .quote__mark { order: 1; }
.quote__mark { font-size: 4rem; line-height: .6; height: .45em; font-weight: 700; color: var(--mint); font-family: Georgia, 'Times New Roman', serif; }
.quote__foot { justify-content: space-between; }
.quote__foot::before { order: 2; }
.quote__dots { order: 1; display: flex; gap: 4px; }
.quote__dots button { width: 30px; height: 30px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.quote__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--petrol); transition: background-color .25s var(--ease); }
.quote__dots button[aria-current="true"]::before { background: var(--petrol); }
.quote__src { order: 3; font-size: .9rem; color: var(--petrol); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; white-space: nowrap; }
.quote__foot .quote__mark--end { order: 4; }
.quote__stage { display: grid; }
.q { grid-area: 1 / 1; margin: 0; text-align: center; display: grid; gap: 1rem; align-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s linear .7s; }
.q.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.q blockquote { margin: 0; }
.q blockquote p { font-size: 1.15rem; line-height: 1.65; max-width: 46rem; margin-inline: auto; }
.q figcaption { font-size: .95rem; color: var(--muted); }
.q figcaption strong { color: var(--text); font-weight: 600; }
.q__stars { color: #e3a21a; letter-spacing: .08em; }

/* ---------- Zusagen-Zeile (statt Logo-Wand) ---------- */
.promises { padding-block: 3.5rem 4.5rem; }
.promises__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
.promises li { display: grid; justify-items: center; align-content: start; gap: .3rem; text-align: center; color: var(--muted); }
.promises svg { width: 44px; height: 44px; fill: none; stroke: #8f9a9c; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; margin-bottom: .4rem; }
.promises strong { color: #4f5b5d; font-size: 1.02rem; font-weight: 600; }
.promises span { font-size: .88rem; }

/* ---------- Animationen: Laden + Scrollen ----------
   Laden: site-shell.js setzt html.is-loaded → Seitenkopf/Banner bauen sich gestaffelt auf.
   Scrollen: site.js markiert Inhalte mit [data-rv]; was gemeinsam ins Bild kommt, erscheint
   nacheinander (Verzögerung --rv-d je Element). Bei „Bewegung reduzieren“ und ?static=1 ist alles sofort da. */
@media (prefers-reduced-motion: no-preference) {
  /* Inhalte beim Scrollen */
  /* translate/scale statt transform: eigene Hover-Bewegungen der Karten bleiben unberührt */
  html.js:not(.static) [data-rv] { opacity: 0; translate: 0 34px; }
  html.js:not(.static) [data-rv].in {
    opacity: 1; translate: none;
    transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--rv-d, 0ms), translate 1s cubic-bezier(.2, .7, .2, 1) var(--rv-d, 0ms),
      transform .25s var(--ease), box-shadow .25s var(--ease);
  }
  /* Bilder in Karten: leichtes Heranzoomen beim Erscheinen */
  html.js:not(.static) .tile[data-rv] img,
  html.js:not(.static) .refcard[data-rv] .refcard__img img { scale: 1.12; }
  html.js:not(.static) .tile[data-rv].in img,
  html.js:not(.static) .refcard[data-rv].in .refcard__img img { scale: 1; transition: scale 1.4s cubic-bezier(.2, .7, .2, 1) var(--rv-d, 0ms), transform .6s var(--ease); }
  /* Häkchen-Listen: kürzerer Weg, seitlich */
  html.js:not(.static) .checks > [data-rv] { translate: -10px 0; }

  /* Laden: Banner der Startseite (erste Folie) */
  html.js:not(.static):not(.is-loaded) .slide.is-active .slide__txt > * { opacity: 0; transform: translateY(18px); transition: none; }
  html.js:not(.static):not(.is-loaded) .slide.is-active .slide__media { opacity: 0; transform: translateX(36px); transition: none; }
  html.js:not(.static):not(.is-loaded) .slider__ctrl { opacity: 0; }
  html.js.is-loaded:not(.is-settled) .slider__ctrl { transition: opacity .8s ease .9s; }
  /* Laden: Seitenkopf der Unterseiten. Versteckt bis html.is-loaded, Übergänge nur bis html.is-settled */
  html.js:not(.static):not(.is-loaded) .pagehead__txt > *,
  html.js:not(.static):not(.is-loaded) .refhead__txt > * { opacity: 0; translate: 0 22px; }
  html.js:not(.static):not(.is-loaded) .pagehead__art { opacity: 0; scale: .82; rotate: -6deg; }
  html.js:not(.static):not(.is-loaded) .pagehead .banner__lines { opacity: 0; translate: -3% 0; }
  html.js.is-loaded:not(.is-settled) .pagehead__txt > *,
  html.js.is-loaded:not(.is-settled) .refhead__txt > * { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), translate .9s cubic-bezier(.2, .7, .2, 1); }
  html.js.is-loaded:not(.is-settled) .pagehead__txt > :nth-child(1), html.js.is-loaded:not(.is-settled) .refhead__txt > :nth-child(1) { transition-delay: .25s; }
  html.js.is-loaded:not(.is-settled) .pagehead__txt > :nth-child(2), html.js.is-loaded:not(.is-settled) .refhead__txt > :nth-child(2) { transition-delay: .37s; }
  html.js.is-loaded:not(.is-settled) .pagehead__txt > :nth-child(n+3), html.js.is-loaded:not(.is-settled) .refhead__txt > :nth-child(n+3) { transition-delay: .49s; }
  html.js.is-loaded:not(.is-settled) .pagehead__art { transition: opacity 1s ease .5s, scale 1.2s cubic-bezier(.2, .7, .2, 1) .5s, rotate 1.2s cubic-bezier(.2, .7, .2, 1) .5s; }
  /* Linien im Seitenkopf gleiten langsam ein */
  html.js.is-loaded:not(.is-settled) .pagehead .banner__lines { transition: opacity 1.4s ease .2s, translate 2.2s cubic-bezier(.2, .7, .2, 1) .2s; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  :root { --hd-h: 76px; }
  .slide__inner { grid-template-columns: 1fr; gap: 2rem; min-height: 0; padding-block: 2.75rem 5rem; }
  .slide__media { max-width: 600px; width: 100%; justify-self: center; }
  .banner__art { width: 170px; height: 170px; }
  .teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.75rem; }
  .work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .banner__title { font-size: 1.85rem; }
  .banner__lead { font-size: 1rem; }
  .slide__inner { gap: 1.5rem; padding-block: 2.25rem 4.75rem; }
  .banner__art { width: 130px; height: 130px; }
  .slider__dots button { width: 34px; }
  .intro { padding-block: 3rem 3rem; }
  .intro h1 { font-size: 1.7rem; }
  .intro__inner br { display: none; }
  .teasers { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 2.5rem; }
  .work__grid { gap: 6px; padding-inline: 6px; }
  .promises__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q blockquote p { font-size: 1.02rem; }
  .quote__foot { flex-wrap: wrap; }
  .quote__foot::before { display: none; }
}

/* =====================================================================
   UNTERSEITEN (Vorlagen nach cytrus.de)
   ===================================================================== */

/* Seitenkopf in Petrol (wie das Startseiten-Banner, niedriger) */
.pagehead { position: relative; overflow: hidden; background: linear-gradient(115deg, var(--petrol) 0%, #215a63 55%, var(--petrol-dark) 100%); color: var(--white); }
.pagehead .banner__lines { width: 100%; transform: none; }
.pagehead__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2.5rem; padding-block: 3.25rem 3.5rem; }
.pagehead__txt { display: grid; gap: .9rem; max-width: 640px; }
.pagehead h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
.pagehead__sub { font-size: 1.2rem; font-weight: 600; color: #9fe0c2; }
.pagehead__intro { font-size: 1.08rem; color: rgba(255, 255, 255, .88); }
.pagehead__art { width: 190px; height: 190px; }
.pagehead__art .ic { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.pagehead__art .ic-mint { fill: none; stroke: #46b384; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

/* Inhalt: Text links, Kasten rechts */
.content { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; padding-block: 4rem; }
.prose { display: grid; gap: 1.1rem; }
.prose h2 { font-size: 1.45rem; font-weight: 600; color: var(--petrol); margin-top: .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 1.05rem; line-height: 1.7; }
.prose a { color: var(--petrol); font-weight: 600; }
.infobox { border: 1px solid var(--line); background: var(--white); position: sticky; top: calc(var(--hd-h) + 1.5rem); }
.infobox__head { background: var(--petrol); color: var(--white); font-weight: 600; padding: .85rem 1.2rem; }
.infobox__body { display: grid; gap: 1rem; padding: 1.2rem; }
.checks { display: grid; gap: .65rem; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; font-size: .98rem; line-height: 1.45; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: .15rem; background: no-repeat center / 18px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%232c8a62' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.meta { display: grid; gap: .35rem; font-size: .95rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.meta dt { font-weight: 600; color: var(--petrol); }
.meta dd { margin: 0 0 .4rem; }
.infobox .btn { width: 100%; }

/* Abschluss-Zeile (cytrus: „Sprechen wir doch einmal darüber …“) */
.ctaline { background: var(--gray-bg); }
.ctaline__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding-block: 2.5rem; }
.ctaline p { font-size: 1.25rem; font-weight: 600; color: var(--petrol); }
.ctaline__btns { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.ctaline__tel { color: var(--petrol); font-weight: 600; }

/* Abschnitts-Überschrift zentriert */
.sechead { text-align: center; display: grid; gap: .6rem; max-width: 760px; margin: 0 auto 2.25rem; }
.sechead h2 { font-size: 1.6rem; font-weight: 600; color: #2d3537; }
.sechead p { color: var(--text); }
.section { padding-block: 4rem; }
.section--gray { background: var(--gray-bg); }

/* Liste „Passende Referenzen“ (cytrus: „Unsere Referenzen zum Thema“) */
.reflist { max-width: 900px; margin-inline: auto; border-top: 1px solid var(--line); }
.reflist a { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; padding: .9rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.reflist img { width: 120px; height: 72px; object-fit: cover; object-position: left top; }
.reflist strong { display: block; color: var(--petrol); font-size: 1.05rem; }
.reflist span { font-size: .9rem; color: var(--muted); }
.reflist .go { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--petrol); white-space: nowrap; }
.reflist a:hover .go { color: var(--green-text); }

/* Leistungs-Kacheln (cytrus: „Weblösungen“) */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.svc a { display: grid; justify-items: center; align-content: start; gap: .8rem; padding: 2rem 1.5rem 1.75rem; background: var(--white); text-align: center; text-decoration: none; color: var(--text); box-shadow: 0 1px 3px rgba(28, 79, 87, .08); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.svc a:hover { box-shadow: 0 14px 30px -18px rgba(28, 79, 87, .45); transform: translateY(-2px); }
.svc h3 { font-size: 1.35rem; font-weight: 600; color: var(--petrol); }
.svc p { font-size: 1rem; line-height: 1.5; }
.svc .round { display: grid; place-items: center; width: 44px; height: 44px; margin-top: .4rem; border-radius: 50%; background: var(--mint); color: #0e3439; font-size: 1.2rem; font-weight: 700; transition: background-color .2s; }
.svc a:hover .round { background: #5cc596; }

/* Branchen-Reihe */
.branches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.branches a { display: grid; gap: .3rem; padding: 1.2rem 1.25rem; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--text); transition: border-color .2s var(--ease); }
.branches a:hover { border-color: var(--mint); }
.branches strong { color: var(--petrol); font-size: 1.05rem; }
.branches span { font-size: .92rem; color: var(--muted); }

/* Referenz-Raster (Übersicht) */
.refgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.refgrid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.refcard { display: grid; gap: .8rem; text-decoration: none; color: var(--text); }
.refcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-bg); }
.refcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .6s var(--ease); }
.refcard:hover .refcard__img img { transform: scale(1.03); }
.refcard__tag { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green-text); }
.refcard strong { display: block; font-size: 1.25rem; color: var(--petrol); }
.refcard span { font-size: .95rem; color: var(--muted); }

/* Referenz-Detail: Kopf mit Geräten */
.refhead { background: var(--gray-bg); padding-block: 3rem 3.5rem; }
.refhead__txt { text-align: center; display: grid; gap: .5rem; margin-bottom: 2.5rem; }
.refhead__tag { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--green-text); }
.refhead h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); font-weight: 700; color: #2d3537; }
.refhead__sub { font-size: 1.15rem; color: var(--muted); }
.devices { position: relative; max-width: 920px; margin-inline: auto; padding: 0 0 6% 7%; }
.devices .phone { transform: none; transition: none; width: 21%; }
.quote-inline { margin: .5rem 0 0; padding: 1.1rem 1.3rem; border-left: 3px solid var(--mint); background: var(--gray-bg); }
.quote-inline p { font-size: 1.02rem; font-style: normal; }
.quote-inline footer { margin-top: .5rem; font-size: .9rem; color: var(--muted); }
.note { padding: 1rem 1.2rem; border: 1px dashed #c5cfd0; background: var(--white); font-size: .95rem; color: var(--muted); }
.refnav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem 3.5rem; }
.refnav a { color: var(--petrol); font-weight: 600; text-decoration: none; }
.refnav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Über uns: Zahlen und Fakten */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; text-align: center; }
.facts strong { display: block; font-size: 2.6rem; font-weight: 700; color: var(--petrol); line-height: 1.1; }
.facts span { font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.slot { position: relative; display: grid; place-content: center; gap: .3rem; text-align: center; min-height: 340px; border: 1.5px dashed #c5cfd0; background: repeating-linear-gradient(135deg, rgba(36, 97, 107, .04) 0 10px, transparent 10px 20px); color: var(--muted); }
.slot strong { color: var(--petrol); font-size: 1.1rem; }
.slot__tag { position: absolute; top: .8rem; left: .8rem; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .2rem .5rem; background: #fbf3e4; color: #8a5a12; }

/* Ablauf: Zeitleiste */
.timeline { max-width: 860px; margin-inline: auto; display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 64px 1fr; gap: 1.5rem; position: relative; padding-bottom: 2.5rem; }
.tl::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: var(--line); }
.tl:last-child::before { display: none; }
.tl__n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--mint); color: var(--petrol); font-size: 1.4rem; font-weight: 700; background: var(--white); }
.tl:first-child .tl__n { background: var(--mint); color: #0e3439; }
.tl__body { display: grid; gap: .6rem; padding-top: .9rem; }
.tl__body h2 { font-size: 1.4rem; font-weight: 600; color: var(--petrol); }
.tl__body p { font-size: 1.05rem; line-height: 1.7; }
.tl__meta { font-size: .9rem; color: var(--green-text); font-weight: 600; }
.duration { max-width: 860px; margin: 0 auto; padding: 1.5rem 1.75rem; background: var(--gray-bg); border-left: 3px solid var(--mint); }
.duration h2 { font-size: 1.2rem; color: var(--petrol); margin-bottom: .4rem; }

/* Kontakt */
.ways { display: grid; gap: 1rem; }
.way { display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; align-items: start; padding: 1.4rem; border: 1px solid var(--line); background: var(--white); }
.way--main { border-color: var(--mint); box-shadow: inset 4px 0 0 var(--mint); }
.way svg { width: 44px; height: 44px; fill: none; stroke: var(--petrol); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.way h2 { font-size: 1.25rem; font-weight: 600; color: var(--petrol); }
.way p { margin-top: .3rem; }
.way .btn { margin-top: .9rem; }
.way__big { display: inline-block; margin-top: .3rem; font-size: 1.35rem; font-weight: 700; color: var(--petrol); text-decoration: none; }
.way__big:hover { text-decoration: underline; text-underline-offset: 4px; }
.addr { font-style: normal; line-height: 1.7; }
.addr a { color: var(--petrol); }

/* Wo wir arbeiten */
.places { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.places a { padding: 1.1rem 1.2rem; border: 1px solid var(--line); background: var(--white); text-decoration: none; color: var(--petrol); font-weight: 600; transition: border-color .2s; }
.places a:hover { border-color: var(--mint); }
.places span { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: .2rem; }

/* „Passt zu“-Kacheln ohne Link und Ratgeber-Liste ohne Bilder */
.branches--static > div { display: grid; gap: .3rem; padding: 1.2rem 1.25rem; border: 1px solid var(--line); background: var(--white); }
.branches--static strong { color: var(--petrol); font-size: 1.05rem; }
.branches--static span { font-size: .92rem; color: var(--muted); }
.reflist--text { background: var(--white); border: 1px solid var(--line); border-bottom: 0; }
.reflist--text a { grid-template-columns: minmax(0, 1fr) auto; padding: 1rem 1.25rem; }


@media (max-width: 991px) {
  .pagehead__inner { grid-template-columns: 1fr; }
  .pagehead__art { display: none; }
  .content { grid-template-columns: 1fr; gap: 2.5rem; padding-block: 3rem; }
  .infobox { position: static; }
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branches, .places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .refgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
}
@media (max-width: 600px) {
  .svc, .refgrid, .refgrid--2 { grid-template-columns: 1fr; }
  .branches, .places { grid-template-columns: 1fr; }
  .reflist a { grid-template-columns: 88px minmax(0, 1fr); }
  .reflist img { width: 88px; height: 56px; }
  .reflist .go { display: none; }
  .ctaline p { font-size: 1.1rem; }
  .tl { grid-template-columns: 48px 1fr; gap: 1rem; }
  .tl__n { width: 48px; height: 48px; font-size: 1.15rem; }
  .tl::before { left: 23px; top: 48px; }
  .tl__body { padding-top: .5rem; }
  .way { grid-template-columns: 1fr; }
  .slot { min-height: 220px; }
}
