:root {
  --color-bg: #ffffff;
  --color-surface: #f3f7fa;
  --color-text: #222a30;
  --color-muted: #5f6b75;
  --color-accent: #0078b4;
  --color-accent-contrast: #ffffff;
  --color-border: #dce4ea;
  --color-header: #1f2a33;
  --color-footer: #1f2a33;
  --color-footer-text: #dfe7ed;
  --font-body: Segoe UI, Helvetica Neue, Arial, sans-serif;
  --font-heading: Segoe UI, Helvetica Neue, Arial, sans-serif;
  --font-size: 17px;
  --line-height: 1.6;
  --heading-style: normal;
  --content-width: 66rem;
  --radius: 6px;
  --space: 1rem;
  --nav-tracking: 0.05em;
  --nav-transform: uppercase;
  --shadow: 0 16px 40px rgba(28, 25, 23, 0.08);
}
.site-header { border-bottom-color: transparent; }
.block-heading { font-weight: 640; letter-spacing: -0.03em; }
.btn { border-radius: var(--radius); }

/* Kopfzeile: Logo links, Menü rechts, dunkel wie auf teambuehler.ch */
.site-header { border-bottom: 0; }
.brand { display: none; }
.header-tools { flex: 1; margin-left: 0; }
.header-slot { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-slot .block-image { width: 7rem; max-width: 7rem; margin: 0.45rem 0; }
.header-slot .block-image img { border-radius: 0; box-shadow: none; display: block; }
.site-header .nav-horizontal > .nav-list > li > a { color: #ffffff; font-size: 0.86rem; font-weight: 600; }
.site-header .nav-horizontal > .nav-list > li > a:hover,
.site-header .nav-horizontal > .nav-list > li > a:focus { color: #7fd0f5; }
.site-header .nav-list .nav-list a { color: var(--color-text); text-transform: none; letter-spacing: 0; }
.site-header .nav-burger { color: #ffffff; border-color: rgba(255, 255, 255, 0.4); }

/* Inhalt */
h1.block-heading { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h2.block-heading { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
.block-text h2, .block-text h3 { margin: 1.4rem 0 0.4rem; }
.block-text h2 a, .block-text h3 a { text-decoration: none; }
.block-image img { border-radius: var(--radius); }
.block-image figcaption { text-align: center; }
.block-columns .block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.block-columns .block-image figcaption { font-weight: 600; }

.site-main .container::after { content: ""; display: table; clear: both; }
.block-image.width-small.align-right { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.block-image.width-small.align-left { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.site-main .container > .block-image:first-child img { width: 100%; max-height: 28rem; object-fit: cover; object-position: center 30%; }

/* Fusszeile */
.site-footer h3 { color: #ffffff; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.5rem; }
.site-footer hr.block-spacer { border-top-color: rgba(255, 255, 255, 0.15); }
.site-footer .block-account { margin-top: 0.5rem; }
.site-footer .account-nav .account-link { border-color: rgba(255, 255, 255, 0.35); color: #dfe7ed; font-size: 0.8rem; padding: 0.25rem 0.6rem; }

/* Smartphone: Logo links, Menü-Knopf rechts; das offene Menü liegt als dunkle Fläche unter der Kopfzeile */
@media (max-width: 760px) {
  .header-slot { flex-wrap: nowrap; align-items: center; }
  .header-slot .block-image { width: 6rem; max-width: 6rem; margin: 0.15rem 0; }
  .site-header .nav-horizontal > .nav-list { border-bottom: 0; }
  .site-header .nav-horizontal > .nav-list > li { border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .site-header .nav-horizontal > .nav-list > li:first-child { border-top: 0; }
  .site-header .nav-horizontal > .nav-list > li > a { font-size: 0.95rem; }
  .site-header .nav-sub-label { color: #ffffff; }
  .site-header .nav-list .nav-list a { color: #cfe3ef; }
  .site-header .nav-horizontal .nav-list a[aria-current="page"] { color: #7fd0f5; }
}


