/* idee5 eventservice, Stand 28.10.2026 */
  :root {
    --bg: #2a2c2f; --bg-2: #35383c; --bg-3: #212325;
    --fg: #eef0f2; --muted: #b4b9bf; --line: #45494e;
    --accent: #93c01f; --accent-hover: #a9d43a; --on-accent: #1d2410;
    --legal-bg: #e9ecee; --legal-fg: #25282b; --legal-card: #ffffff; --legal-link: #4f7a00;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color-scheme: dark;
  }
  @media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
      --bg: #e4e7ea; --bg-2: #d6dade; --bg-3: #f2f4f5;
      --fg: #1f2225; --muted: #4c5258; --line: #c4c9ce;
      --accent: #5e8f00; --accent-hover: #4b7300; --on-accent: #ffffff;
      --legal-bg: #f4f5f6; --legal-fg: #25282b; --legal-card: #ffffff; --legal-link: #4f7a00;
      color-scheme: light;
    }
  }
  :root[data-theme="light"] {
    --bg: #e4e7ea; --bg-2: #d6dade; --bg-3: #f2f4f5;
    --fg: #1f2225; --muted: #4c5258; --line: #c4c9ce;
    --accent: #5e8f00; --accent-hover: #4b7300; --on-accent: #ffffff;
    --legal-bg: #f4f5f6; --legal-fg: #25282b; --legal-card: #ffffff; --legal-link: #4f7a00;
    color-scheme: light;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body { margin: 0; font-family: var(--font); font-size: 16px; background: var(--bg); color: var(--fg); line-height: 1.6; }
  a { color: var(--accent); }
  a:hover { color: var(--accent-hover); }
  a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
  .wrap { max-width: 1000px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  h1, h2, h3 { text-wrap: balance; line-height: 1.25; }
  p, li { max-width: 68ch; }

  header { padding-block: 20px; border-bottom: 1px solid var(--line); }
  header .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
  .logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
  .logo img { display: block; width: 150px; height: auto; }
  .logo small { display: block; font-size: .72rem; font-weight: 500; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
  nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
  nav a { text-decoration: none; font-size: .95rem; }

  .chips li:has(a) { padding: 0; }
  .chips li a { display: block; padding: 10px 14px; }
  .orte a { display: inline-block; padding: 4px 0; }
  .nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
  .nav-btn { display: none; }
  footer nav a { display: inline-block; padding: 8px 4px; }
  @media (max-width: 760px) {
    header { padding-block: 14px; }
    header .wrap { flex-wrap: wrap; gap: 10px; }
    .logo img { width: 120px; }
    .nav-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--fg); font-weight: 600; cursor: pointer; user-select: none; }
    .burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform .2s ease, background .2s ease; }
    .burger { position: relative; }
    .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
    .burger::before { top: -6px; }
    .burger::after { top: 6px; }
    .nav-toggle:checked + .nav-btn .burger { background: transparent; }
    .nav-toggle:checked + .nav-btn .burger::before { transform: translateY(6px) rotate(45deg); }
    .nav-toggle:checked + .nav-btn .burger::after { transform: translateY(-6px) rotate(-45deg); }
    .nav-toggle:focus-visible + .nav-btn { outline: 3px solid var(--accent); outline-offset: 2px; }
    .site-nav { display: none; flex-basis: 100%; flex-direction: column; gap: 0; }
    .nav-toggle:checked ~ .site-nav { display: flex; }
    .site-nav a { padding: 12px 4px; border-top: 1px solid var(--line); font-size: 1.05rem; }
  }
  @media (max-width: 760px) and (prefers-reduced-motion: reduce) { .burger, .burger::before, .burger::after { transition: none; } }
  .hero { padding-block: 72px 64px; text-align: center; color: #f2f4f5; background: linear-gradient(180deg, rgba(25,27,29,.78) 0%, rgba(25,27,29,.9) 100%), var(--hero-img) center/cover no-repeat, #25282b; }
  .hero p { color: #d3d7db !important; }
  .hero .slogan { color: #a9d43a; }
  .hero .btn.outline { color: #a9d43a; border-color: #a9d43a; }
  .hero .btn.outline:hover { background: #a9d43a; color: #1d2410; }
  .hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .badge { background: var(--accent); color: var(--on-accent); font-weight: 700; padding: 6px 16px; border-radius: 20px; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; }
  .hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); margin: 6px 0 0; }
  .slogan { font-size: 1.25rem; color: var(--accent); font-weight: 600; }
  .hero p { margin: 0; color: var(--muted); }
  .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
  .btn { display: inline-block; padding: 12px 24px; border-radius: 6px; background: var(--accent); color: var(--on-accent); text-decoration: none; font-weight: 700; border: 2px solid var(--accent); }
  .btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
  .btn.outline { background: transparent; color: var(--accent); }
  .btn.outline:hover { color: var(--on-accent); }

  section { padding-block: 56px; }
  h2 { font-size: 1.7rem; margin: 0 0 22px; }
  h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent); margin-top: 8px; }
  h3 { font-size: 1.1rem; margin: 26px 0 8px; }
  h4 { font-size: 1rem; margin: 18px 0 6px; }
  p, ul { margin: 0 0 12px; }
  ul { padding-left: 22px; }

  .alt { background: var(--bg-2); }
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
  .card { background: var(--bg-3); border-top: 3px solid var(--accent); padding: 22px; border-radius: 4px; min-width: 0; }
  .card h3 { margin: 0 0 8px; color: var(--accent); }
  .card p { color: var(--muted); margin: 0; }

  .refs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 12px; margin: 0; padding: 0; list-style: none; }
  .refs li { max-width: none; min-width: 0; }
  .refs li:first-child { grid-column: span 2; grid-row: span 2; }
  .refs li:last-child { grid-column: span 2; }
  .refs figure { position: relative; margin: 0; width: 100%; height: 100%; border-radius: 6px; overflow: hidden; background: var(--bg-3); }
  .refs img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .refs figure:hover img { transform: scale(1.05); }
  .refs figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 14px 12px; display: flex; flex-direction: column; gap: 2px; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.78) 100%); }
  .refs figcaption strong { font-size: .98rem; line-height: 1.3; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
  .refs li:first-child figcaption strong { font-size: 1.3rem; }
  .refs figcaption span { color: #b6dc4e; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; }
  @media (max-width: 820px) {
    .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
    .refs li:first-child { grid-row: span 2; }
  }
  @media (max-width: 480px) {
    .refs { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .refs li:first-child, .refs li:last-child { grid-column: auto; grid-row: auto; }
  }
  @media (prefers-reduced-motion: reduce) { .refs img { transition: none; } .refs figure:hover img { transform: none; } }
  .lead { font-size: 1.08rem; }
  .subpage > section { min-height: 70vh; padding-block: 40px 64px; }
  .subpage h1 { font-size: clamp(1.7rem, 4.5vw, 2.2rem); margin: 0 0 18px; }
  .subpage h1::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent); margin-top: 10px; }
  .teaser { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 28px; }
  .teaser-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); text-decoration: none; color: var(--fg); transition: border-color .2s ease, transform .2s ease; }
  .teaser-card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--fg); }
  .teaser-card span { color: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
  .teaser-card strong { font-size: 1.05rem; line-height: 1.35; }
  .hz-grid { margin-top: 26px; }
  .hz-h2 { margin-top: 48px; }
  .hz-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; align-items: center; margin-bottom: 18px; padding: 20px; border-radius: 8px; background: var(--bg-2); }
  .hz-story-text span { color: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
  .hz-story-text h3 { margin: 4px 0 10px; font-size: 1.3rem; }
  .hz-story-text p { color: var(--muted); margin: 0; }
  .hz-mosaic { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 8px; aspect-ratio: 4 / 3.4; max-width: 100%; }
  .hz-mosaic figure { margin: 0; border-radius: 5px; overflow: hidden; min-height: 0; }
  .hz-mosaic .hz-big { grid-row: 1 / span 3; }
  .hz-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; }
  @media (max-width: 720px) { .hz-story { grid-template-columns: 1fr; } }
  .hz-rev .hz-story-text { order: 2; }
  .hz-mosaic.hz-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 2fr 1fr; aspect-ratio: 1 / 1; }
  .hz-mosaic.hz-wide .hz-big { grid-row: 1; grid-column: 1 / span 3; }
  .hz-single figure { margin: 0; border-radius: 5px; overflow: hidden; aspect-ratio: 57 / 40; max-width: 100%; }
  .hz-single img { display: block; width: 100%; height: 100%; object-fit: cover; }
  @media (max-width: 720px) { .hz-rev .hz-story-text { order: 0; } }
  .rv-refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
  .rv-refs figure { position: relative; margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 57 / 40; max-width: 100%; }
  .rv-refs img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .rv-refs figcaption { position: absolute; inset: auto 0 0 0; padding: 36px 12px 10px; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.8)); display: flex; flex-direction: column; }
  .rv-refs figcaption span { color: #b6dc4e; font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
  .rv-check { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
  .rv-check li { padding: 12px 14px 12px 40px; position: relative; background: var(--bg-2); border-radius: 6px; }
  .rv-check li::before { content: "\2713"; position: absolute; left: 14px; top: 11px; color: var(--accent); font-weight: 700; }
  .hz-refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
  .hz-refs figure { position: relative; margin: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 57 / 40; max-width: 100%; }
  .hz-refs img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .hz-refs figcaption { position: absolute; inset: auto 0 0 0; padding: 36px 14px 12px; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.78)); display: flex; flex-direction: column; }
  .hz-refs figcaption span { color: #b6dc4e; font-size: .78rem; }
  .hz-soon { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; border: 2px dashed var(--line); border-radius: 6px; aspect-ratio: 57 / 40; color: var(--muted); text-align: center; padding: 16px; }
  .hz-soon strong { color: var(--fg); }
  .hz-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--accent); }
  .hz-cta > div { min-width: 0; flex: 1 1 280px; }
  .hz-cta p { margin: 4px 0 0; color: var(--muted); }
  .teaser-card small { color: var(--muted); font-size: .92rem; line-height: 1.5; }
  .teaser-card em { font-style: normal; color: var(--accent); font-size: .9rem; margin-top: auto; }
  @media (prefers-reduced-motion: reduce) { .teaser-card { transition: none; } .teaser-card:hover { transform: none; } }
  #mietmaterial .card, #kunden .card { background: var(--bg-2); }
  #kunden .card { background: var(--bg-3); }
  .grid.miet { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
  .chips a { color: inherit; text-decoration: none; }
  .chips li:has(a) { border-color: var(--accent); }
  .chips li { max-width: none; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--fg); background: var(--bg-3); }
  .card ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: .95rem; }
  .card ul li { margin-bottom: 4px; }
  .region { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: start; }
  .region > * { min-width: 0; }
  .orte { columns: 2; column-gap: 24px; margin: 0; padding: 0; list-style: none; }
  .orte a { color: var(--fg); text-decoration-color: var(--accent); text-underline-offset: 3px; }
  .orte li { break-inside: avoid; padding: 6px 0 6px 18px; position: relative; border-bottom: 1px solid var(--line); }
  .orte li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
  .faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
  .faq details { background: var(--bg-3); border-radius: 6px; padding: 0 18px; }
  .faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
  .faq details[open] summary::after { content: "\2212"; }
  .faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }
  .faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
  address { font-style: normal; }
  .person { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 14px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); max-width: 420px; }
  .person img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid var(--accent); }
  .person div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .person span { color: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
  .person strong { font-size: 1.15rem; }
  .person small { color: var(--muted); }
  .kontakt { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: start; }
  .kontakt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
  .kontakt dt { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; padding-top: 2px; }
  .kontakt dd { margin: 0; user-select: all; overflow-wrap: anywhere; }

  .legal { background: var(--legal-bg); color: var(--legal-fg); font-size: .95rem; }
  .legal a { color: var(--legal-link); }
  .legal-page { min-height: 70vh; padding-block: 40px 64px; }
  .back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; font-weight: 600; text-decoration: none; font-size: .95rem; }
  .back:hover { text-decoration: underline; }
  .legal-page h2 { font-size: 2rem; }
  .adresse { background: var(--legal-card); padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 4px; margin-bottom: 12px; max-width: 520px; }
  .placeholder { background: #fff3c4; color: #5a4500; padding: 2px 6px; border-radius: 3px; font-weight: 600; }

  footer { padding-block: 28px; text-align: center; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); }
  footer p { margin: 0 auto 6px; }
  footer nav { justify-content: center; }

  img { max-width: 100%; }
  .legal-page h1 { font-size: 2rem; margin: 0 0 22px; }
  .legal-page h1::after { content: ""; display: block; width: 56px; height: 4px; background: var(--accent); margin-top: 8px; }
  nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
