
@font-face { font-family: 'Sora'; src: url('../fonts/sora-var.woff') format('woff'); font-weight: 100 800; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans'; src: url('../fonts/plex-var.woff') format('woff'); font-weight: 100 700; font-display: swap; }

    :root {
      --green-900: #0F4331;
      --green-800: #185340;
      --green-700: #21614B;
      --khaki-100: #EDF0DE;
      --lime: #DDE298;

      --khaki-200: #E2E6CD;
      --paper: #FBFBF7;
      --ink: #16241C;
      --ink-soft: #45564B;
      --on-dark: #F3F5EC;
      --on-dark-soft: #B9C7BB;
      --font-head: 'Sora', system-ui, sans-serif;
      --font-body: 'IBM Plex Sans', system-ui, sans-serif;
    }
    * { box-sizing: border-box; }
    body { margin: 0; background: var(--paper); font-family: var(--font-body); color: var(--ink); }
    a { color: var(--green-800); text-decoration: none; }
    a:hover { color: var(--green-700); }
    h1, h2 { font-family: var(--font-head); color: var(--ink); margin: 0; }
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      font-family: var(--font-body); font-weight: 600; font-size: 15px;
      padding: 14px 26px; border-radius: 8px; white-space: nowrap;
    }
    .btn-primary { background: var(--green-900); color: var(--on-dark); }
    .btn-ghost { background: transparent; color: var(--on-dark); border: 1.5px solid rgba(243,245,236,0.55); }
    .section { padding: 96px 80px; }
    .eyebrow {
      font-family: var(--font-body); font-weight: 600; font-size: 13px;
      letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-800);
    }
    .module-tile { width: 88px; height: 150px; perspective: 900px; }
    .module-tile-inner {
      position: relative; width: 100%; height: 100%; transform-style: preserve-3d;
      transition: transform 0.55s cubic-bezier(.4,.2,.2,1);
    }
    .module-tile:hover .module-tile-inner { transform: rotateY(180deg); }
    .module-face {
      position: absolute; inset: 0; backface-visibility: hidden; border-radius: 4px;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
    }
    .module-front {
      background: linear-gradient(155deg, rgba(237,240,222,0.22), rgba(237,240,222,0.06) 70%);
      border: 1px solid rgba(237,240,222,0.45);
    }
    .module-back {
      background: var(--green-700); border: 1px solid rgba(237,240,222,0.45);
      transform: rotateY(180deg); gap: 8px; padding: 10px; text-align: center;
    }
    .module-back span {
      font-size: 9.5px; line-height: 1.3; color: var(--khaki-100); font-weight: 500;
    }
  
/* ---- Ergänzungen zum Entwurf: Links, Fokus, mobile Darstellung ---- */
html { scroll-behavior: smooth; }
a.btn { text-decoration: none; }
.btn-primary:hover { filter: brightness(1.12); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; }
.module-tile:focus-within .module-tile-inner { transform: rotateY(180deg); }
.m-tile-grid .module-tile { width: 116px; height: 198px; }
.m-tile-grid .module-back span { font-size: 12px; }
/* Grafik-Idee: 10 ruhige Glasmodule, über die ein Sonnenreflex wandert; nur 2 Module zeigen echte Projekte und drehen sich von selbst */
.module-tile--glass .module-tile-inner { transform: none !important; }
.module-tile--glass .module-front { overflow: hidden; }
/* Zellstruktur wie ein echtes Modul (6 x 10 Zellen) */
.module-tile--glass .module-front::before { content: ""; position: absolute; inset: 6px; pointer-events: none;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 100' preserveAspectRatio='none'><g fill='%23082F21' fill-opacity='0.55'><rect x='0.7' y='0.7' width='8.6' height='8.6' rx='0.6'/><rect x='0.7' y='10.7' width='8.6' height='8.6' rx='0.6'/><rect x='0.7' y='20.7' width='8.6' height='8.6' rx='0.6'/><rect x='0.7' y='30.7' width='8.6' height='8.6' rx='0.6'/><rect x='0.7' y='40.7' width='8.6' height='8.6' rx='0.6'/><rect x='0.7' y='50.7' width='8.6' height='8.6' rx='0.6'/><rect x='0.7' y='60.7' width='8.6' height='8.6' rx='0.6'/><rect x='0.7' y='70.7' width='8.6' height='8.6' rx='0.6'/><rect x='0.7' y='80.7' width='8.6' height='8.6' rx='0.6'/><rect x='0.7' y='90.7' width='8.6' height='8.6' rx='0.6'/><rect x='10.7' y='0.7' width='8.6' height='8.6' rx='0.6'/><rect x='10.7' y='10.7' width='8.6' height='8.6' rx='0.6'/><rect x='10.7' y='20.7' width='8.6' height='8.6' rx='0.6'/><rect x='10.7' y='30.7' width='8.6' height='8.6' rx='0.6'/><rect x='10.7' y='40.7' width='8.6' height='8.6' rx='0.6'/><rect x='10.7' y='50.7' width='8.6' height='8.6' rx='0.6'/><rect x='10.7' y='60.7' width='8.6' height='8.6' rx='0.6'/><rect x='10.7' y='70.7' width='8.6' height='8.6' rx='0.6'/><rect x='10.7' y='80.7' width='8.6' height='8.6' rx='0.6'/><rect x='10.7' y='90.7' width='8.6' height='8.6' rx='0.6'/><rect x='20.7' y='0.7' width='8.6' height='8.6' rx='0.6'/><rect x='20.7' y='10.7' width='8.6' height='8.6' rx='0.6'/><rect x='20.7' y='20.7' width='8.6' height='8.6' rx='0.6'/><rect x='20.7' y='30.7' width='8.6' height='8.6' rx='0.6'/><rect x='20.7' y='40.7' width='8.6' height='8.6' rx='0.6'/><rect x='20.7' y='50.7' width='8.6' height='8.6' rx='0.6'/><rect x='20.7' y='60.7' width='8.6' height='8.6' rx='0.6'/><rect x='20.7' y='70.7' width='8.6' height='8.6' rx='0.6'/><rect x='20.7' y='80.7' width='8.6' height='8.6' rx='0.6'/><rect x='20.7' y='90.7' width='8.6' height='8.6' rx='0.6'/><rect x='30.7' y='0.7' width='8.6' height='8.6' rx='0.6'/><rect x='30.7' y='10.7' width='8.6' height='8.6' rx='0.6'/><rect x='30.7' y='20.7' width='8.6' height='8.6' rx='0.6'/><rect x='30.7' y='30.7' width='8.6' height='8.6' rx='0.6'/><rect x='30.7' y='40.7' width='8.6' height='8.6' rx='0.6'/><rect x='30.7' y='50.7' width='8.6' height='8.6' rx='0.6'/><rect x='30.7' y='60.7' width='8.6' height='8.6' rx='0.6'/><rect x='30.7' y='70.7' width='8.6' height='8.6' rx='0.6'/><rect x='30.7' y='80.7' width='8.6' height='8.6' rx='0.6'/><rect x='30.7' y='90.7' width='8.6' height='8.6' rx='0.6'/><rect x='40.7' y='0.7' width='8.6' height='8.6' rx='0.6'/><rect x='40.7' y='10.7' width='8.6' height='8.6' rx='0.6'/><rect x='40.7' y='20.7' width='8.6' height='8.6' rx='0.6'/><rect x='40.7' y='30.7' width='8.6' height='8.6' rx='0.6'/><rect x='40.7' y='40.7' width='8.6' height='8.6' rx='0.6'/><rect x='40.7' y='50.7' width='8.6' height='8.6' rx='0.6'/><rect x='40.7' y='60.7' width='8.6' height='8.6' rx='0.6'/><rect x='40.7' y='70.7' width='8.6' height='8.6' rx='0.6'/><rect x='40.7' y='80.7' width='8.6' height='8.6' rx='0.6'/><rect x='40.7' y='90.7' width='8.6' height='8.6' rx='0.6'/><rect x='50.7' y='0.7' width='8.6' height='8.6' rx='0.6'/><rect x='50.7' y='10.7' width='8.6' height='8.6' rx='0.6'/><rect x='50.7' y='20.7' width='8.6' height='8.6' rx='0.6'/><rect x='50.7' y='30.7' width='8.6' height='8.6' rx='0.6'/><rect x='50.7' y='40.7' width='8.6' height='8.6' rx='0.6'/><rect x='50.7' y='50.7' width='8.6' height='8.6' rx='0.6'/><rect x='50.7' y='60.7' width='8.6' height='8.6' rx='0.6'/><rect x='50.7' y='70.7' width='8.6' height='8.6' rx='0.6'/><rect x='50.7' y='80.7' width='8.6' height='8.6' rx='0.6'/><rect x='50.7' y='90.7' width='8.6' height='8.6' rx='0.6'/></g></svg>") center / 100% 100% no-repeat;
  box-shadow: 0 0 0 1px rgba(221,226,152,.22); border-radius: 2px; }

.module-front::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 42%, rgba(221,226,152,.20) 50%, transparent 58%); transform: translateX(-120%); animation: glare 9s ease-in-out infinite; animation-delay: var(--d, 0s); pointer-events: none; }
.m-tile-grid .module-front { overflow: hidden; }
@keyframes glare { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.m-tile-grid > .module-tile:nth-child(4n+2) { --d: .25s; } .m-tile-grid > .module-tile:nth-child(4n+3) { --d: .5s; } .m-tile-grid > .module-tile:nth-child(4n+4) { --d: .75s; }
.m-tile-grid > .module-tile:nth-child(n+5) .module-front { --dd: .3s; }
.module-tile--photo:hover .module-tile-inner, .module-tile--photo:focus-visible .module-tile-inner { transform: rotateY(180deg); }

.module-tile--photo .module-front { box-shadow: inset 0 0 0 1.5px rgba(221,226,152,.55); }
.module-tile--photo .module-front::after { display: none; }
.module-place { gap: 6px !important; }
.module-place span { font-family: var(--font-head); font-size: 14px !important; font-weight: 700 !important; color: var(--lime) !important; }
.module-place small { font-size: 11px; color: var(--on-dark-soft); }
@media (prefers-reduced-motion: reduce) { .module-front::after { display: none; } }
.ref-photo, .ref-photo span { font-family: var(--font-body); }
.check { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; color: var(--ink); }
.check::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-900) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23DDE298' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.step-card { border: 1px solid rgba(237,240,222,.22); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 8px; background: rgba(255,255,255,.03); }
.step-n { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--lime); }
.step-t { font-family: var(--font-head); font-weight: 700; font-size: 17px; color: #fff; }
.step-d { font-size: 14.5px; line-height: 1.6; color: var(--on-dark-soft); }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8,30,22,.97); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.45); cursor: default; animation: lbIn .25s ease-out; }
.lightbox figcaption { color: var(--lime); font: 600 15px var(--font-body); }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(221,226,152,.5); background: transparent; color: var(--lime); font-size: 28px; line-height: 1; cursor: pointer; }
.module-tile--photo { cursor: zoom-in; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lightbox img { animation: none; } }
.module-photo { padding: 0 !important; overflow: hidden; }
.module-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.module-photo span { position: relative; width: 100%; padding: 6px 4px; background: rgba(15,67,49,.82); color: var(--lime) !important; font-size: 11px !important; font-weight: 600 !important; }
.m-tile-grid .module-back svg { width: 26px; height: 26px; }
@media (max-width: 1240px) and (min-width: 981px) { .m-tile-grid { grid-template-columns: repeat(4, 96px) !important; grid-auto-rows: 164px !important; } .m-tile-grid .module-tile { width: 96px; height: 164px; } }
.hero-pause { position:absolute; right:16px; bottom:14px; background:rgba(15,67,49,.75); color:var(--on-dark); border:1px solid rgba(237,240,222,.4); border-radius:999px; padding:5px 12px; font:500 12px var(--font-body); cursor:pointer; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .module-tile-inner { transition: none; } .hero-pause { display:none; } }
.calc-table, .chip-row { min-width: 0; }

@media (max-width: 980px) {
  .m-nav { padding: 16px 20px !important; }
  .m-nav-links a:not(.btn) { display: none; }
  .section { padding: 64px 20px !important; }
  .m-hero { flex-direction: column; }
  .m-hero-text { max-width: none !important; padding: 56px 20px 48px !important; }
  .m-hero-tiles { min-width: 0 !important; padding: 40px 20px 48px !important; }
  .m-tile-grid { grid-template-columns: repeat(4, minmax(0,1fr)) !important; grid-auto-rows: auto !important; gap: 12px !important; width: 100%; max-width: 420px; }
  .m-tile-grid .module-tile { width: auto; height: auto; aspect-ratio: 116 / 198; }
  .m-row { flex-direction: column; gap: 28px !important; }
  .m-row > div, .m-row > button { flex: 1 1 auto !important; max-width: none !important; }
  .ref-photo { height: 300px; }
  .m-row > div { align-self: stretch !important; }
  .m-grid3, .m-grid2 { grid-template-columns: 1fr !important; max-width: none !important; }
  .m-grid4 { grid-template-columns: 1fr !important; gap: 28px !important; }
  .m-grid4 > div { padding: 0 0 0 18px !important; border-right: 0 !important; border-left: 3px solid var(--khaki-200); }
  .m-cta-contacts { flex-direction: column; gap: 10px !important; }
  .m-footer { flex-direction: column; gap: 14px; padding: 32px 20px !important; text-align: center; }
  .m-calc-fields, .m-calc-out { grid-template-columns: 1fr !important; }
  h1 { font-size: 36px !important; }
  .m-hero-mark { width: 52px !important; top: 18px !important; right: 18px !important; }
  .m-hero-tiles { padding-top: 76px !important; }
}
h1, h2 { overflow-wrap: break-word; hyphens: auto; }

.a-fact { background: var(--khaki-100); border-radius: 12px; padding: 20px 22px; }
.a-num { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--green-900); }
.a-lab { font-size: 13.5px; line-height: 1.45; color: var(--ink-soft); margin-top: 4px; }
.a-faq { border-bottom: 1px solid var(--khaki-200); }
.a-faq:first-child { border-top: 1px solid var(--khaki-200); }
.a-faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink); }
.a-faq summary::-webkit-details-marker { display: none; }
.a-faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 24px; font-weight: 400; color: var(--green-800); transition: transform .2s; }
.a-faq[open] summary::after { transform: rotate(45deg); }
.a-faq p { margin: 0 0 20px; font-size: 15.5px; line-height: 1.75; color: var(--ink-soft); }
.a-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 12px; background: var(--paper); border: 1px solid var(--khaki-200); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.a-card:hover { border-color: var(--green-800); transform: translateY(-2px); }
.a-card b { font-family: var(--font-head); font-size: 18px; }
.a-card span { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); }
.a-card i { font-style: normal; font-weight: 600; font-size: 14px; color: var(--green-800); margin-top: auto; }
.a-tiles .module-tile { width: 96px; height: 164px; }
@media (max-width: 1240px) and (min-width: 981px) { .a-tiles { grid-template-columns: repeat(3, 96px) !important; } }
@media (max-width: 980px) {
  .a-3d canvas { height: 300px !important; }
  .a-tiles { grid-template-columns: repeat(6, minmax(0,1fr)) !important; max-width: 420px; gap: 10px !important; }
  .a-tiles .module-tile { width: auto; height: auto; aspect-ratio: 96 / 164; }
  .m-hero-tiles { padding: 64px 20px 40px !important; }
  .a-facts { grid-template-columns: 1fr !important; }
  h1 { font-size: 34px !important; }
}

@media (max-width: 1240px) { .a-row { grid-template-columns: repeat(2, minmax(0,1fr)) !important; } }
@media (max-width: 980px) { .a-row { grid-template-columns: 1fr !important; } }
.m-footnav a { text-decoration: none; } @media (max-width: 980px) { .m-footnav { padding: 20px !important; justify-content: center; } }
