
/* Schriften lokal ausgeliefert (SIL Open Font License 1.1), keine Verbindung zu Google */
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/lato-300.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/lato-400.woff2') format('woff2'); }
@font-face { font-family: 'Lato'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/lato-700.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('../fonts/cormorant-garamond-var.woff2') format('woff2'); }

    :root {
      --olive: #7F7800;
      --olive-light: #9a9200;
      --olive-dark: #5a5500;
      --stone: #C8BAC0;
      --dark: #392E2C;
      --dark-light: #4a3e3b;
      --white: #ffffff;
      --off-white: #f8f6f4;
      --text: #2a2220;
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Lato', sans-serif;
      font-weight: 300;
      color: var(--text);
      background: var(--white);
      overflow-x: hidden;
    }

    /* ── NAV ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.2rem 3rem;
      transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
    }
    nav.scrolled {
      background: rgba(57,46,44,0.97);
      box-shadow: 0 2px 20px rgba(0,0,0,0.25);
      padding: 0.8rem 3rem;
    }
    .nav-logo {
      height: 52px;
      width: auto;
      transition: height 0.4s;
    }
    nav.scrolled .nav-logo { height: 40px; }

    .nav-links {
      display: flex;
      gap: 2.5rem;
      list-style: none;
    }
    .nav-links a {
      color: var(--white);
      text-decoration: none;
      font-size: 0.75rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      font-weight: 400;
      opacity: 0.9;
      transition: opacity 0.2s, color 0.2s;
    }
    .nav-links a:hover { opacity: 1; color: var(--stone); }

    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 4px;
    }
    .hamburger span {
      width: 26px; height: 1.5px;
      background: var(--white);
      display: block;
      transition: 0.3s;
    }

    /* ── HERO ── */
    #hero {
      position: relative;
      height: 100vh;
      min-height: 600px;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background-image: url('../img/hero.jpg');
      background-size: cover;
      background-position: center 40%;
      transform: scale(1.04);
      transition: transform 8s ease-out;
    }
    .hero-bg.loaded { transform: scale(1); }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(57,46,44,0.15) 0%,
        rgba(57,46,44,0.05) 40%,
        rgba(57,46,44,0.7) 80%,
        rgba(57,46,44,0.92) 100%
      );
    }
    .hero-content {
      position: relative;
      z-index: 2;
      padding: 0 3rem 4rem;
      max-width: 800px;
    }
    .hero-label {
      display: inline-block;
      font-size: 0.65rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--stone);
      margin-bottom: 1rem;
      font-weight: 400;
    }
    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 6vw, 5.2rem);
      font-weight: 300;
      color: var(--white);
      line-height: 1.05;
      margin-bottom: 1.5rem;
      letter-spacing: 0.02em;
    }
    .hero-title span { color: var(--stone); }
    .hero-subtitle {
      font-size: 0.9rem;
      letter-spacing: 0.08em;
      color: rgba(255,255,255,0.75);
      font-weight: 300;
      margin-bottom: 2rem;
    }
    .hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.7rem;
      color: var(--white);
      text-decoration: none;
      font-size: 0.72rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      font-weight: 400;
      border-bottom: 1px solid var(--olive);
      padding-bottom: 4px;
      transition: border-color 0.2s, color 0.2s;
    }
    .hero-cta:hover { border-color: var(--stone); color: var(--stone); }
    .hero-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

    .scroll-indicator {
      position: absolute;
      bottom: 2rem;
      right: 3rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      color: rgba(255,255,255,0.5);
      font-size: 0.6rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }
    .scroll-line {
      width: 1px;
      height: 50px;
      background: rgba(255,255,255,0.3);
      position: relative;
      overflow: hidden;
    }
    .scroll-line::after {
      content: '';
      position: absolute;
      top: -100%;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--olive);
      animation: scrollDown 1.8s ease-in-out infinite;
    }
    @keyframes scrollDown {
      0% { top: -100%; }
      100% { top: 100%; }
    }

    /* ── SECTIONS ── */
    section { padding: 6rem 0; }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 3rem;
    }

    .section-label {
      font-size: 0.62rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--olive);
      font-weight: 400;
      margin-bottom: 0.8rem;
    }
    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 4vw, 3.2rem);
      font-weight: 400;
      color: var(--dark);
      line-height: 1.15;
      margin-bottom: 2.5rem;
    }

    /* ── INTRO ── */
    #was-ist-bid { background: var(--white); }
    .intro-grid {
      display: grid;
      grid-template-columns: 1fr;
      max-width: 700px;
    }
    .intro-text p {
      font-size: 1rem;
      line-height: 1.85;
      color: #4a4040;
      font-weight: 300;
      margin-bottom: 1.2rem;
    }
    .intro-text a {
      color: var(--olive);
      text-decoration: none;
      border-bottom: 1px solid var(--olive-light);
      transition: color 0.2s;
    }
    .intro-text a:hover { color: var(--dark); }

    /* ── KENNZAHLEN ── */
    #kennzahlen { background: var(--dark); }
    .kz-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(127,120,0,0.25);
      border: 1px solid rgba(127,120,0,0.25);
    }
    .kz-card {
      background: var(--dark);
      padding: 2.8rem 2rem;
      text-align: center;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .kz-card.visible { opacity: 1; transform: translateY(0); }
    .kz-number {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2.8rem, 4.5vw, 4.2rem);
      font-weight: 300;
      color: var(--olive-light);
      line-height: 1;
      margin-bottom: 0.8rem;
      display: block;
    }
    .kz-unit {
      font-size: 1rem;
      color: var(--stone);
      vertical-align: super;
      font-weight: 300;
    }
    .kz-desc {
      font-size: 0.78rem;
      line-height: 1.65;
      color: rgba(255,255,255,0.6);
      font-weight: 300;
    }
    @media (max-width: 900px) {
      .kz-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 500px) {
      .kz-grid { grid-template-columns: 1fr; }
    }

    /* ── BID SECTION ── */
    #bid-projekt { background: var(--dark); }
    #bid-projekt .section-label { color: var(--stone); }
    #bid-projekt .section-title { color: var(--white); }
    .bid-content {
      display: grid;
      grid-template-columns: 1.2fr 1fr;
      gap: 5rem;
      align-items: start;
    }
    .bid-text p {
      font-size: 1rem;
      line-height: 1.85;
      color: rgba(255,255,255,0.7);
      font-weight: 300;
      margin-bottom: 1.2rem;
    }
    .bid-info-box {
      background: rgba(127,120,0,0.12);
      border: 1px solid rgba(127,120,0,0.3);
      padding: 2.5rem;
    }
    .bid-info-box h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.5rem;
      font-weight: 400;
      color: var(--stone);
      margin-bottom: 1.5rem;
      letter-spacing: 0.04em;
    }
    .bid-info-row {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .bid-info-item {
      display: flex;
      gap: 1rem;
      align-items: flex-start;
    }
    .bid-info-icon {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      margin-top: 1px;
      color: var(--olive-light);
    }
    .bid-info-item p {
      font-size: 0.85rem !important;
      line-height: 1.6 !important;
      color: rgba(255,255,255,0.65) !important;
      margin: 0 !important;
    }
    .bid-info-item strong {
      color: rgba(255,255,255,0.9);
      font-weight: 500;
      display: block;
      font-size: 0.75rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 0.2rem;
    }

    /* ── DOWNLOAD ── */
    #download { background: var(--off-white); }
    .download-intro {
      max-width: 650px;
      margin-bottom: 3.5rem;
    }
    .download-intro p {
      font-size: 1rem;
      line-height: 1.8;
      color: #5a4e4b;
    }
    .download-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 1.5rem;
    }
    .download-card {
      background: var(--white);
      border: 1px solid rgba(200,186,192,0.5);
      padding: 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
      text-decoration: none;
    }
    .download-card:hover {
      box-shadow: 0 12px 40px rgba(57,46,44,0.12);
      border-color: var(--olive);
      transform: translateY(-3px);
    }
    .download-card-icon {
      width: 44px;
      height: 44px;
      background: var(--olive);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .download-card-icon svg { color: white; width: 22px; height: 22px; }
    .download-card-body { flex: 1; }
    .download-card-label {
      font-size: 0.6rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      color: var(--olive);
      font-weight: 500;
      margin-bottom: 0.5rem;
    }
    .download-card h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.3rem;
      font-weight: 400;
      color: var(--dark);
      line-height: 1.3;
      margin-bottom: 0.6rem;
    }
    .download-card p {
      font-size: 0.83rem;
      line-height: 1.6;
      color: #7a6e6b;
      font-weight: 300;
    }
    .download-card-footer {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.7rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--dark);
      font-weight: 500;
      padding-top: 0.5rem;
      border-top: 1px solid rgba(200,186,192,0.4);
    }
    .download-card-footer svg { width: 14px; height: 14px; color: var(--olive); }

    /* ── KONTAKT ── */
    #kontakt { background: var(--white); }
    .kontakt-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: start;
    }
    .kontakt-text p {
      font-size: 1rem;
      line-height: 1.85;
      color: #4a4040;
      font-weight: 300;
      margin-bottom: 1.2rem;
    }
    .kontakt-card {
      background: var(--dark);
      padding: 3rem;
    }
    .kontakt-card .kc-label {
      font-size: 0.6rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--stone);
      font-weight: 400;
      margin-bottom: 1.5rem;
    }
    .kontakt-card h3 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.6rem;
      font-weight: 400;
      color: var(--white);
      margin-bottom: 0.3rem;
    }
    .kontakt-card .kc-role {
      font-size: 0.78rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--stone);
      margin-bottom: 2rem;
    }
    .kontakt-details {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .kd-row {
      display: flex;
      gap: 1rem;
      align-items: flex-start;
    }
    .kd-icon {
      width: 18px;
      height: 18px;
      color: var(--olive-light);
      flex-shrink: 0;
      margin-top: 1px;
    }
    .kd-row p {
      font-size: 0.85rem;
      line-height: 1.55;
      color: rgba(255,255,255,0.7);
    }
    .kd-row a {
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      transition: color 0.2s;
    }
    .kd-row a:hover { color: var(--stone); }

    /* ── FOOTER ── */
    footer {
      background: #1e1917;
      padding: 3rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1.5rem;
    }
    .footer-logo { height: 40px; width: auto; opacity: 0.8; }
    .footer-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }
    .footer-links a {
      color: rgba(255,255,255,0.5);
      text-decoration: none;
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--stone); }
    .footer-copy {
      font-size: 0.7rem;
      color: rgba(255,255,255,0.3);
      letter-spacing: 0.05em;
    }

    /* ── MODAL ── */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(30,25,23,0.85);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }
    .modal-overlay.open {
      opacity: 1;
      pointer-events: all;
    }
    .modal {
      background: var(--white);
      max-width: 820px;
      width: 100%;
      max-height: 88vh;
      overflow-y: auto;
      padding: 3rem;
      transform: translateY(20px);
      transition: transform 0.3s;
    }
    .modal-overlay.open .modal { transform: translateY(0); }
    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 2rem;
      gap: 1rem;
    }
    .modal-header h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2rem;
      font-weight: 400;
      color: var(--dark);
    }
    .modal-close {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--dark);
      padding: 4px;
      flex-shrink: 0;
      opacity: 0.6;
      transition: opacity 0.2s;
    }
    .modal-close:hover { opacity: 1; }
    .modal-close svg { width: 22px; height: 22px; }
    .modal-body h3 {
      font-size: 1rem;
      font-weight: 500;
      color: var(--dark);
      margin: 1.8rem 0 0.5rem;
      letter-spacing: 0.04em;
    }
    .modal-body h4 {
      font-size: 0.85rem;
      font-weight: 500;
      color: var(--dark);
      margin: 1.2rem 0 0.4rem;
    }
    .modal-body p {
      font-size: 0.85rem;
      line-height: 1.75;
      color: #5a4e4b;
      font-weight: 300;
      margin-bottom: 0.6rem;
    }
    .modal-body ul {
      margin: 0.5rem 0 0.8rem 1.2rem;
    }
    .modal-body ul li {
      font-size: 0.85rem;
      line-height: 1.7;
      color: #5a4e4b;
      font-weight: 300;
    }
    .modal-body a {
      color: var(--olive);
      word-break: break-all;
    }
    .modal-divider {
      border: none;
      border-top: 1px solid rgba(200,186,192,0.4);
      margin: 2rem 0;
    }
    .impressum-block {
      margin-bottom: 1.2rem;
    }
    .impressum-block p {
      margin: 0.2rem 0;
    }
    .uppercase-notice {
      font-size: 0.78rem !important;
      line-height: 1.7 !important;
      color: #4a4040 !important;
      font-weight: 400 !important;
    }

    /* ── REVEAL ANIMATIONS ── */
    .reveal {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      nav { padding: 1rem 1.5rem; }
      nav.scrolled { padding: 0.7rem 1.5rem; }
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(57,46,44,0.98);
        padding: 1.5rem;
        gap: 1.2rem;
      }
      .container { padding: 0 1.5rem; }
      .intro-grid, .bid-content, .kontakt-grid { grid-template-columns: 1fr; gap: 3rem; }
      .download-grid { grid-template-columns: 1fr; }
      footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
      .hero-content { padding: 0 1.5rem 3rem; }
      .scroll-indicator { display: none; }
    }
  
/* Modal: geschlossen auch fuer Tastatur/Screenreader unsichtbar; ohne JS per Anker erreichbar */
.modal-overlay { visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s; }
.modal-overlay.open, .modal-overlay:target, .modal-overlay:has(:target) { transition: opacity 0.3s, visibility 0s; }
.modal-overlay.open, .modal-overlay:target, .modal-overlay:has(:target) {
  opacity: 1; pointer-events: all; visibility: visible; }
.modal-overlay:target .modal, .modal-overlay:has(:target) .modal { transform: translateY(0); }
.modal { padding-top: 0; }
.modal-header { position: sticky; top: 0; z-index: 2; background: var(--white);
  padding-top: 3rem; padding-bottom: 1rem; margin-bottom: 1rem; }
.modal-close { color: var(--dark); text-decoration: none; }
.legal-section { scroll-margin-top: 7.5rem; }
@media (max-width: 600px) { .modal-header { padding-top: 1.5rem; } .legal-section { scroll-margin-top: 6rem; } }
/* Ohne JavaScript Inhalte nicht dauerhaft ausblenden */
html:not(.js) .reveal, html:not(.js) .kz-card { opacity: 1 !important; transform: none !important; }
.footer-links a + a { margin-left: 1.5rem; }
