
:root { --accent: #009036; --panel: #006A28; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #55585b; color: #f5f6f7;
       font: 16px/1.6 Arial, Helvetica, sans-serif; }
a { color: inherit; }
.topbar { height: 5px; background: var(--accent); }
.site-header, .page-main, .site-footer { max-width: 1280px; margin: auto; padding-left: 26px; padding-right: 26px; }
.site-header { display: flex; justify-content: space-between; align-items: center;
               gap: 22px; padding-top: 30px; padding-bottom: 28px; }
.logo-wrap { display: inline-flex; align-items: center; justify-content: flex-start; }
.logo-wrap.light { background: #ededed; border-radius: 9px; padding: 12px 18px; }
.brand-logo { display: block; width: auto; height: auto; max-height: 92px; max-width: min(280px, 70vw); }
.slogan { margin: 0; text-align: right; font-size: 13px; font-weight: bold;
          letter-spacing: .08em; color: #eee; }
.page-main { margin-bottom: 26px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1.58fr) minmax(310px, .92fr);
             gap: 18px; align-items: stretch; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
           gap: 14px; min-width: 0; }
.photo { margin: 0; border-radius: 10px; overflow: hidden; background: #474a4c; }
.photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.photo.lead { grid-column: 1 / -1; min-height: 330px; }
.photo.small { height: 172px; }
.brand-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
               grid-column: 1/-1; }
.brand-tile { min-width: 0; display: flex; flex-direction: column; align-items: center;
              justify-content: center; gap: 7px; background: #414447; border-radius: 9px;
              border-top: 4px solid var(--tile); padding: 12px 7px; }
.brand-tile img { width: 100%; max-width: 170px; height: 72px; object-fit: contain; }
.brand-tile span { font-size: 12px; color: #d4d8da; }
.notice-card { display: flex; flex-direction: column; padding: clamp(24px, 3vw, 42px);
               background: var(--panel); border-radius: 10px; min-width: 0; }
.eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 700;
           letter-spacing: .13em; text-transform: uppercase; color: #e9eef2; }
.notice-card h1 { font-size: clamp(26px, 3vw, 39px); line-height: 1.2; margin: 0 0 19px;
                 font-weight: 700; letter-spacing: -.03em; }
.notice-card .message { margin: 0 0 28px; line-height: 1.7; color: #f0f2f5; }
.contact { border-top: 1px solid rgba(255,255,255,.35); padding-top: 20px; margin-top: auto;
           font-style: normal; }
.contact strong { display: block; margin-bottom: 11px; font-size: 16px; }
.contact p { margin: 8px 0; }
.contact a { text-underline-offset: 3px; overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.button { text-decoration: none; border-radius: 6px; padding: 10px 14px;
          font-weight: 700; display: inline-block; font-size: 14px; }
.button.primary { background: #fff; color: #27333b; }
.button.outline { border: 1px solid rgba(255,255,255,.7); color: #fff; }
.button:focus-visible, a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.site-footer { border-top: 1px solid rgba(255,255,255,.4); padding-top: 18px;
               padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px;
               justify-content: space-between; font-size: 13px; color: #e5e7e9; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
/* Vorhandene Rechtstext-Entwürfe bleiben lesbar. */
body > main:not(.page-main) { max-width: 920px; margin: 36px auto; padding: 0 20px; }
.panel { border-radius: 12px; padding: 35px; background: #fff; color: #30343a; }
.legal { text-align: left; }
.legal h1 { margin-top: 0; }
.legal h2 { margin-top: 28px; }
.legal section { margin: 25px 0; }
.legal a { color: #07558a; }
.notice { background: #fff4d9; border-left: 4px solid #ae7300; padding: 12px 16px; }
body > footer:not(.site-footer) { text-align: center; padding: 10px 20px 40px;
                                   color: #eee; }
body > footer:not(.site-footer) a { margin: 0 10px; }
@media (max-width: 880px) {
  .page-grid { grid-template-columns: 1fr; }
  .notice-card { order: -1; }
  .photo.lead { min-height: 310px; }
}
@media (max-width: 600px) {
  .site-header, .page-main, .site-footer { padding-left: 16px; padding-right: 16px; }
  .site-header { flex-direction: column; align-items: flex-start; padding-top: 20px; }
  .slogan { text-align: left; }
  .photo.lead { min-height: 215px; }
  .photo.small { height: 115px; }
  .brand-tiles { gap: 6px; }
  .brand-tile img { height: 52px; }
  .brand-tile span { font-size: 10px; }
  .notice-card { padding: 24px; }
  .site-footer { gap: 12px; }
  .panel { padding: 22px; }
}

/* THALEN-RECHTSEITEN-START */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .8fr);
  align-items: start;
  gap: 18px;
}
.legal-surface {
  min-width: 0;
  padding: clamp(24px, 3vw, 44px);
  color: #273138;
  background: #f5f6f7;
  border-top: 5px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
}
.legal-surface .legal { text-align: left; line-height: 1.75; }
.legal-surface .legal h1 {
  color: #262c31; font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2; margin: 0 0 24px;
}
.legal-surface .legal h2 {
  color: #273138; font-size: clamp(18px, 2vw, 23px);
  margin: 28px 0 10px;
}
.legal-surface .legal p { margin: 10px 0; overflow-wrap: anywhere; }
.legal-surface .legal section { padding-top: 8px; margin: 12px 0 28px; }
.legal-surface .legal a { color: var(--panel); text-underline-offset: 3px; }
.legal-surface .notice {
  border-left: 4px solid #a56a04;
  border-radius: 4px;
  background: #fff4d9;
  padding: 14px 18px;
  margin: 0 0 26px;
}
.legal-aside.notice-card { position: sticky; top: 22px; padding: 30px; }
.legal-aside-title {
  color: white; line-height: 1.25;
  font-size: clamp(22px, 2.4vw, 29px); margin: 0 0 18px;
}
.legal-aside .message { margin: 0 0 20px; }
.legal-aside .contact { margin: 0; padding-top: 18px; }
.legal-aside .actions { margin-top: 22px; }
.legal-aside .button { text-align: center; }
@media (max-width: 920px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-aside.notice-card { position: static; }
}
@media (max-width: 600px) {
  .legal-surface { padding: 24px 20px; }
  .legal-aside.notice-card { padding: 24px 20px; }
}
/* THALEN-RECHTSEITEN-ENDE */



/* THALEN-KONTRAST-FIX-START */

/* Rechtstext-Links auf dunklem Hintergrund */
.legal a,
.legal a:visited {
    color: #C5EAFF !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.legal a:hover,
.legal a:focus-visible {
    color: #FFFFFF !important;
}

/* Rechtstext-Links in hellen Inhaltsflächen */
.legal-surface .legal a,
.legal-surface .legal a:visited {
    color: #07558A !important;
}

.legal-surface .legal a:hover,
.legal-surface .legal a:focus-visible {
    color: #043858 !important;
}

/* Gelber Entwurfshinweis: dunkle Schrift */
.legal .notice,
.legal .notice * {
    color: #303030 !important;
}

.legal .notice {
    background-color: #FFF4D9 !important;
    border-left: 4px solid #AA7601;
}

/* THALEN-KONTRAST-FIX-END */
