/* dudettes – Corporate Design
   Schrift: Helvetica Now Text (Light 300 / Medium 500), lokal eingebunden.
   Die Fontdateien liegen auf dem bisherigen Server unter /layout/fonts/helvetica-now/
   und müssen nach /fonts/helvetica-now/ kopiert werden. */

@font-face {
  font-family: "HelveticaNowText";
  src: url("fonts/helvetica-now/webfonts/HelveticaNowText-Light/font.woff2") format("woff2"),
       url("fonts/helvetica-now/webfonts/HelveticaNowText-Light/font.woff") format("woff");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "HelveticaNowText";
  src: url("fonts/helvetica-now/webfonts/HelveticaNowText-LtIt/font.woff2") format("woff2"),
       url("fonts/helvetica-now/webfonts/HelveticaNowText-LtIt/font.woff") format("woff");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "HelveticaNowText";
  src: url("fonts/helvetica-now/webfonts/HelveticaNowText-Medium/font.woff2") format("woff2"),
       url("fonts/helvetica-now/webfonts/HelveticaNowText-Medium/font.woff") format("woff");
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --yellow: #ff3;
  --grey: #1a1a1a;
  --fg: var(--black);
  --bg: var(--white);
  --max: 964px;
  --font: "HelveticaNowText", Helvetica, Arial, sans-serif;
}

/* Unterseiten: schwarzer Hintergrund, weißes Logo */
body.dark { --fg: var(--white); --bg: var(--black); }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

strong, b { font-weight: 500; }

/* Gelbe Linie unter Links, füllt sich beim Hover */
a {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size .15s, color .15s;
}
a:hover, a:focus-visible, a[aria-current="page"] {
  background-size: 100% 100%;
  color: var(--black);
}
a.plain { background: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 30px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--yellow); color: var(--black); padding: 8px 12px; z-index: 10; }

/* Topbar */
.topbar { padding: 20px 0; font-size: 16px; line-height: 1.75; }
.topbar .wrap { max-width: none; display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.topbar .sep { opacity: .6; }

/* Logo */
.brand { text-align: center; padding: 56px 0 72px; }
.brand a { background: none; display: inline-block; }
.brand img { width: 499px; max-width: 100%; height: auto; display: block; }

/* Typografie */
h1 { font-size: 31.43px; line-height: 1.32; font-weight: 300; margin: 0 0 24px; }
h1 strong { display: block; }
h2 { font-size: 24px; line-height: 1.2; font-weight: 500; margin: 56px 0 12px; }
h3 { font-size: 20px; line-height: 1.4; font-weight: 500; margin: 32px 0 4px; }
p { margin: 0 0 20px; }

.tags { font-size: 13px; line-height: 2.15; margin-top: 40px; }

/* Button */
.btn {
  display: inline-block;
  background: var(--fg);
  color: var(--bg);
  border: 1px solid var(--fg);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  text-transform: uppercase;
  padding: 10px 16px;
  background-image: none;
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

.center { text-align: center; }

/* Kontakt */
.contact { margin-top: 72px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.contact-grid p { margin: 0; }

/* Inhalt Rechtstexte */
.legal h1 { font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin-top: 40px; }
.legal h3 { font-size: 18px; }
.legal ul { padding-left: 1.2em; }
.back { margin-top: 48px; }

/* Footer */
.site-footer { padding: 72px 0 32px; text-align: center; font-size: 12px; line-height: 1.75; }
.site-footer nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .topbar .wrap { justify-content: center; }
  .brand { padding: 32px 0 48px; }
  h1 { font-size: 24px; }
  h2 { font-size: 20px; margin-top: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}
