  :root {
    --papier: #F6F0E2;
    --papier-dunkel: #EDE3CE;
    --tinte: #23190F;
    --tinte-soft: #5A4E3E;
    --rot: #A5283A;
    --rot-dunkel: #6E1B27;
    --gold: #B9852E;
    --gruen: #4B5C3E;
    --linie: #DCCFB2;
    --weiss: #FFFCF6;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--papier);
    color: var(--tinte);
    font-family: 'Public Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  /* Globaler Link-Standard - einzelne Komponenten (Buttons, Nav etc.)
     ueberschreiben das gezielt ueber eigene Klassen. Ohne diese Basisregel
     fallen unklassifizierte Links (z.B. Inline-Links in Fließtext) auf
     die haessliche Browser-Standardfarbe (blau/unterstrichen) zurueck. */
  a { color: var(--rot); }
  a:hover { color: var(--rot-dunkel); }
  .wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; }

  /* Rechen-Motiv: drei schräge Zinken, das Kernmuster der Frankenflagge -
     als wiederkehrender Sektions-Trenner statt generischer Trennlinie. */
  .rechen {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 36px 0; opacity: 0.9;
  }
  .rechen span {
    display: block; width: 2px; height: 26px; background: var(--rot);
    transform: skewX(-18deg);
  }
  .rechen span:nth-child(2) { height: 34px; }
  .rechen.small span { height: 16px; }
  .rechen.small span:nth-child(2) { height: 22px; }

  /* ===== HEADER ===== */
  header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(246,240,226,0.92); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--linie);
  }
  .nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
  .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinte); }
  .logo-mark { display: flex; gap: 3px; }
  .logo-mark span { width: 3px; height: 20px; background: var(--rot); transform: skewX(-18deg); }
  .logo-mark span:nth-child(2) { height: 26px; }
  .logo-text { font-family: 'Fraunces', serif; font-weight: 600; font-size: 21px; letter-spacing: 0.2px; }
  .logo-text em { font-style: normal; color: var(--rot); }
  nav ul { list-style: none; display: flex; gap: 36px; }
  nav a { color: var(--tinte-soft); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s; }
  nav a:hover { color: var(--rot); }
  .nav-login { color: var(--tinte-soft); text-decoration: none; font-size: 13.5px; font-weight: 500; }
  .nav-login:hover { color: var(--rot); }
  .nav-cta {
    background: var(--rot); color: var(--weiss); padding: 10px 20px; border-radius: 3px;
    font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .2s;
  }
  .nav-cta:hover { background: var(--rot-dunkel); }
  .nav-right { display: flex; align-items: center; gap: 28px; }
  .nav-links-cta-item { display: none; }

  /* ===== HERO ===== */
  .hero { padding: 88px 0 0; position: relative; overflow: hidden; }
  .hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 2px;
    text-transform: uppercase; color: var(--rot); margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
  }
  .hero-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--rot); }
  h1.hero-title {
    font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(40px, 6vw, 72px);
    line-height: 1.02; letter-spacing: -0.5px; max-width: 780px;
  }
  h1.hero-title em { font-style: italic; font-weight: 500; color: var(--rot); }
  .hero-sub {
    font-size: 18px; color: var(--tinte-soft); max-width: 520px; margin: 26px 0 40px; line-height: 1.6;
  }

  /* Suchleiste */
  .search-box {
    background: var(--weiss); border: 1px solid var(--linie); border-radius: 6px;
    padding: 10px; display: flex; gap: 8px; max-width: 640px; box-shadow: 0 12px 40px rgba(35,25,15,0.08);
  }
  .search-box select, .search-box input {
    border: none; background: transparent; font-family: 'Public Sans', sans-serif; font-size: 14.5px;
    padding: 12px 14px; color: var(--tinte);
  }
  .search-box select {
    border-right: 1px solid var(--linie); flex: 0 0 170px;
    -webkit-appearance: none; appearance: none; height: 44px; line-height: 20px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1.5 2l4.5 4 4.5-4' stroke='%235A4E3E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 11px 7px; padding-right: 32px;
  }
  .search-box input { flex: 1; }
  .search-box input::placeholder { color: #a89a80; }
  .search-box button {
    background: var(--rot); color: var(--weiss); border: none; border-radius: 4px;
    padding: 12px 24px; font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 14px;
    cursor: pointer; transition: background .2s; white-space: nowrap;
  }
  .search-box button:hover { background: var(--rot-dunkel); }

  /* Städte-Chips */
  .city-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
  .city-chips a {
    font-size: 13px; color: var(--tinte-soft); text-decoration: none; padding: 7px 15px;
    border: 1px solid var(--linie); border-radius: 20px; transition: all .2s; font-weight: 500;
  }
  .city-chips a:hover { border-color: var(--rot); color: var(--rot); background: var(--weiss); }

  .hero-visual {
    margin-top: 64px; height: 280px; border-radius: 8px 8px 0 0; position: relative; overflow: hidden;
    background:
      linear-gradient(180deg, transparent 60%, var(--papier) 100%),
      repeating-linear-gradient(115deg, var(--rot) 0 3px, transparent 3px 64px),
      linear-gradient(160deg, #C7743F 0%, #A5283A 45%, #6E1B27 100%);
  }
  .hero-visual::after {
    content: 'MITTELFRANKEN'; position: absolute; bottom: 18px; left: 32px;
    font-family: 'Fraunces', serif; font-weight: 600; font-size: 15vw; line-height: 0.8;
    color: rgba(255,252,246,0.08); letter-spacing: 2px; white-space: nowrap;
  }

  /* ===== SECTION HEAD ===== */
  .section-head {
    display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 34px; gap: 20px; flex-wrap: wrap;
  }
  .section-eyebrow {
    font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 8px;
  }
  .section-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 32px; letter-spacing: -0.3px; }
  .section-link { font-size: 13.5px; font-weight: 600; color: var(--rot); text-decoration: none; white-space: nowrap; }
  .section-link:hover { text-decoration: underline; }
  section { padding: 26px 0 70px; }

  /* ===== NEWS ===== */
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .news-card { background: var(--weiss); border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--tinte); display: block; transition: transform .25s, box-shadow .25s; }
  .news-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(35,25,15,0.1); }
  .news-thumb { height: 140px; background: linear-gradient(135deg, var(--gruen), #33422a); position: relative; }
  .news-card:nth-child(2) .news-thumb { background: linear-gradient(135deg, var(--gold), #8f671f); }
  .news-card:nth-child(3) .news-thumb { background: linear-gradient(135deg, var(--rot), var(--rot-dunkel)); }
  .news-body { padding: 20px 22px 24px; }
  .news-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--tinte-soft); margin-bottom: 10px; }
  .news-title { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
  .news-excerpt { font-size: 13.5px; color: var(--tinte-soft); line-height: 1.55; }

  .news-feature-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start; }
  .news-feature-main { display: block; text-decoration: none; color: var(--tinte); background: var(--weiss); border: 1px solid var(--linie); border-radius: 8px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
  .news-feature-main:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(35,25,15,0.1); }
  .news-feature-thumb { height: 320px; background: linear-gradient(135deg, var(--rot), var(--rot-dunkel)); }
  .news-feature-thumb.has-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .news-feature-body { padding: 26px 28px 30px; }
  .news-feature-title { font-family: 'Fraunces', serif; font-size: 27px; font-weight: 600; line-height: 1.25; margin-bottom: 12px; }
  .news-feature-list { display: flex; flex-direction: column; }
  .news-list-item { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid var(--linie); text-decoration: none; color: var(--tinte); }
  .news-feature-list .news-list-item:first-child { border-top: none; padding-top: 0; }
  .news-list-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--rot); font-weight: 600; }
  .news-list-title { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 600; line-height: 1.35; }
  .news-list-item:hover .news-list-title { color: var(--rot); }
  .news-list-time { font-size: 11.5px; color: var(--tinte-soft); }
  @media (max-width: 860px) { .news-feature-grid { grid-template-columns: 1fr; } .news-feature-thumb { height: 220px; } }

  /* ===== EVENTS ===== */
  .events-list { display: flex; flex-direction: column; }
  .event-row {
    display: flex; align-items: center; gap: 26px; padding: 20px 0; border-top: 1px solid var(--linie);
    text-decoration: none; color: var(--tinte); transition: padding-left .2s;
  }
  .event-row:hover { padding-left: 8px; }
  .event-row:last-child { border-bottom: 1px solid var(--linie); }
  .event-date {
    font-family: 'IBM Plex Mono', monospace; text-align: center; flex: 0 0 62px;
    background: var(--papier-dunkel); border-radius: 4px; padding: 8px 0;
  }
  .event-date .d { font-size: 20px; font-weight: 500; display: block; color: var(--rot); }
  .event-date .m { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--tinte-soft); }
  .event-info { flex: 1; }
  .event-title { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
  .event-meta { font-size: 13px; color: var(--tinte-soft); }
  .event-meta span:not(:last-child)::after { content: '·'; margin: 0 8px; color: var(--linie); }
  .event-cat {
    font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 1px; text-transform: uppercase;
    color: var(--gruen); border: 1px solid var(--gruen); border-radius: 20px; padding: 5px 12px; flex-shrink: 0;
  }

  /* ===== POLIZEIBERICHT ===== */
  .police-list { display: flex; flex-direction: column; gap: 14px; }
  .police-item {
    background: var(--weiss); border: 1px solid var(--linie); border-left: 3px solid var(--rot);
    border-radius: 4px; padding: 18px 22px; text-decoration: none; color: var(--tinte); display: block;
    transition: border-color .2s;
  }
  .police-item:hover { border-left-color: var(--rot-dunkel); }
  .police-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
  .police-cat {
    font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
    color: var(--rot); background: rgba(165,40,58,0.08); padding: 3px 10px; border-radius: 20px;
  }
  .police-location { font-size: 12.5px; color: var(--tinte-soft); }
  .police-location::before { content: '·'; margin-right: 10px; }
  .police-date { font-size: 12.5px; color: var(--tinte-soft); margin-left: auto; font-family: 'IBM Plex Mono', monospace; }
  .police-title { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
  .police-excerpt { font-size: 13.5px; color: var(--tinte-soft); line-height: 1.55; }
  .police-disclaimer { font-size: 12px; color: var(--tinte-soft); margin-top: 18px; line-height: 1.6; }

  /* ===== BRANCHEN ===== */
  .branchen-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .branche-tile {
    background: var(--weiss); border: 1px solid var(--linie); border-radius: 6px; padding: 24px 16px;
    text-align: center; text-decoration: none; color: var(--tinte); transition: all .2s;
  }
  .branche-tile:hover { border-color: var(--rot); background: var(--papier-dunkel); }
  .branche-icon { font-size: 26px; margin-bottom: 12px; display: block; }
  .branche-name { font-size: 13px; font-weight: 600; }

  /* ===== KREISE (Karte-Ersatz als Kachelraster) ===== */
  .kreise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .kreis-tile {
    position: relative; border-radius: 6px; padding: 26px 22px; text-decoration: none; overflow: hidden;
    background: var(--tinte); color: var(--weiss); min-height: 110px; display: flex; flex-direction: column; justify-content: flex-end;
  }
  .kreis-tile::before {
    content: ''; position: absolute; inset: 0; opacity: 0.5;
    background: repeating-linear-gradient(115deg, rgba(165,40,58,0.9) 0 2px, transparent 2px 30px);
  }
  .kreis-tile span { position: relative; font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px; }
  .kreis-tile small { position: relative; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; color: #d8b98a; margin-bottom: 4px; letter-spacing: 0.5px; }

  /* ===== ZWEI-SPALTEN: MARKTPLATZ / JOBS ===== */
  .twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .promo-card {
    border-radius: 8px; padding: 40px 36px; color: var(--weiss); position: relative; overflow: hidden;
  }
  .promo-card.rot { background: linear-gradient(135deg, var(--rot), var(--rot-dunkel)); }
  .promo-card.gruen { background: linear-gradient(135deg, var(--gruen), #2f3b26); }
  .promo-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.75; margin-bottom: 14px; }
  .promo-title { font-family: 'Fraunces', serif; font-size: 27px; font-weight: 600; margin-bottom: 14px; line-height: 1.2; }
  .promo-text { font-size: 14px; opacity: 0.85; line-height: 1.6; margin-bottom: 26px; max-width: 380px; }
  .promo-btn {
    display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.4);
    color: var(--weiss); padding: 11px 22px; border-radius: 4px; text-decoration: none; font-size: 13.5px; font-weight: 600;
    transition: background .2s;
  }
  .promo-btn:hover { background: rgba(255,255,255,0.22); }

  /* ===== FOOTER ===== */
  footer { background: var(--tinte); color: #cabf9f; padding: 60px 0 30px; margin-top: 40px; }
  .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
  .foot-logo { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; color: var(--weiss); margin-bottom: 12px; }
  .foot-logo em { font-style: normal; color: var(--rot); }
  .foot-desc { font-size: 13.5px; line-height: 1.7; max-width: 260px; color: #8f8570; }
  .foot-col h4 { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #7a7059; margin-bottom: 16px; }
  .foot-col a { display: block; color: #cabf9f; text-decoration: none; font-size: 13.5px; margin-bottom: 11px; }
  .foot-col a:hover { color: var(--weiss); }
  .foot-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #3a3226; padding-top: 24px; font-size: 12.5px; color: #7a7059; flex-wrap: wrap; gap: 12px; }
  .foot-bottom a { color: #7a7059; text-decoration: none; }
  .foot-bottom a:hover { color: var(--weiss); }
  .foot-links { display: flex; gap: 24px; }

  .nav-toggle { display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:38px; height:38px; background:transparent; border:none; cursor:pointer; padding:0; }
  .nav-toggle span { display:block; width:20px; height:2px; background:var(--tinte); transition:transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

  @media (max-width: 900px) {
    .nav-cta { display: none; }
    .nav-login { display: none; }
    .nav-links { display: none; }
    .nav-toggle { display:flex; }
    .nav-links.is-open {
      display:flex; flex-direction:column; gap:0; list-style:none;
      position:fixed; top:57px; left:0; right:0; z-index:99;
      background:rgba(246,240,226,0.98); backdrop-filter:blur(8px);
      border-bottom:1px solid var(--linie); max-height:70vh; overflow-y:auto;
    }
    .nav-links.is-open li { width:100%; border-top:1px solid var(--linie); }
    .nav-links.is-open li a { display:block; padding:16px 32px; font-size:14px; }
    .news-grid { grid-template-columns: 1fr; }
    .event-row { flex-wrap: wrap; gap: 10px 16px; }
    .event-info { flex-basis: 100%; order: 3; }
    .event-cat { order: 2; }
    .branchen-grid { grid-template-columns: repeat(3, 1fr); }
    .kreise-grid { grid-template-columns: repeat(2, 1fr); }
    .twocol { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .search-box { flex-direction: column; }
    .search-box select { border-right: none; border-bottom: 1px solid var(--linie); flex: 0 0 44px; width: 100%; }
    .nav-links.is-open .nav-links-cta-item { display: block; }
    .nav-links.is-open .nav-links-cta-item a { color: var(--rot); font-weight: 700; }
  }

  /* ===== WETTER-WIDGET ===== */
  .weather-widget {
    margin-top: 24px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 8px;
    padding: 18px 22px; max-width: 640px; box-shadow: 0 8px 28px rgba(35,25,15,0.06);
  }
  .weather-now { display: flex; align-items: center; gap: 12px; }
  .weather-icon { font-size: 34px; line-height: 1; }
  .weather-temp { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 600; margin-right: 8px; }
  .weather-label { font-size: 13px; color: var(--tinte-soft); }
  .weather-region { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 0.5px; color: var(--tinte-soft); margin: 8px 0 14px; }
  .weather-days { display: flex; gap: 18px; border-top: 1px solid var(--linie); padding-top: 12px; }
  .weather-day { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; }
  .weather-day-label { font-size: 11px; color: var(--tinte-soft); font-weight: 600; }
  .weather-day-icon { font-size: 18px; }
  .weather-day-temp { font-size: 12px; color: var(--tinte); }
  .weather-warning-link { display: block; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--linie); font-size: 12px; font-weight: 600; color: var(--rot); text-decoration: none; }
  .weather-warning-link:hover { text-decoration: underline; }
  @media (max-width: 500px) { .weather-widget { padding: 16px 18px; } .weather-days { gap: 8px; } }

  /* ===== INHALT MIT SEITENLEISTE (Aktuelles/Veranstaltungen/Polizeibericht) ===== */
  .content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; padding-top: 40px; }
  .content-main { min-width: 0; }
  .content-main .wrap { max-width: none; padding: 0; margin: 0; }
  .content-main section { padding: 0 0 48px; }
  .content-main section + section { border-top: 1px solid var(--linie); padding-top: 48px; }

  .content-sidebar { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 24px; }
  .widget { background: var(--weiss); border: 1px solid var(--linie); border-radius: 8px; padding: 22px; }
  .widget-label {
    font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--tinte-soft); margin-bottom: 14px;
  }

  /* Newsletter-Widget */
  .widget-newsletter h3 { font-family: 'Fraunces', serif; font-size: 17px; margin-bottom: 4px; }
  .widget-newsletter p.hint { font-size: 12.5px; color: var(--tinte-soft); margin-bottom: 16px; line-height: 1.5; }
  .newsletter-form { display: flex; flex-direction: column; gap: 8px; }
  .newsletter-form input[type=email] {
    padding: 10px 12px; border: 1px solid var(--linie); border-radius: 5px; font-family: inherit; font-size: 13.5px; background: var(--papier);
  }
  .newsletter-form input[type=email]:focus { outline: none; border-color: var(--rot); }
  .newsletter-form button {
    background: var(--rot); color: #fff; border: none; border-radius: 5px; padding: 10px 14px; font-weight: 600; font-size: 13px; cursor: pointer;
  }
  .newsletter-form button:hover { background: var(--rot-dunkel); }

  /* Login-Widget */
  .widget-login h3 { font-family: 'Fraunces', serif; font-size: 17px; margin-bottom: 4px; }
  .widget-login p.hint { font-size: 12.5px; color: var(--tinte-soft); margin-bottom: 16px; }
  .widget-login .form-group { margin-bottom: 12px; }
  .widget-login label { display: block; font-size: 11px; color: var(--tinte-soft); margin-bottom: 4px; }
  .widget-login input {
    width: 100%; padding: 9px 11px; border: 1px solid var(--linie); border-radius: 5px;
    font-family: inherit; font-size: 13.5px; background: var(--papier);
  }
  .widget-login input:focus { outline: none; border-color: var(--rot); }
  .widget-login .widget-submit {
    width: 100%; background: var(--rot); color: #fff; border: none; padding: 10px; border-radius: 5px;
    font-weight: 600; font-size: 13.5px; cursor: pointer; margin-top: 4px;
  }
  .widget-login .widget-submit:hover { background: var(--rot-dunkel); }
  .widget-login .widget-links { margin-top: 14px; font-size: 12.5px; color: var(--tinte-soft); text-align: center; }
  .widget-login .widget-links a { color: var(--rot); text-decoration: none; font-weight: 600; }
  .widget-login .widget-links a:hover { text-decoration: underline; }

  .widget-account-name { font-family: 'Fraunces', serif; font-size: 17px; margin-bottom: 2px; }
  .widget-account-email { font-size: 12.5px; color: var(--tinte-soft); margin-bottom: 18px; word-break: break-all; }
  .widget-account-btn {
    display: block; width: 100%; text-align: center; text-decoration: none; padding: 10px; border-radius: 5px;
    font-weight: 600; font-size: 13px; margin-bottom: 8px; box-sizing: border-box;
  }
  .widget-account-btn.primary { background: var(--rot); color: #fff; }
  .widget-account-btn.primary:hover { background: var(--rot-dunkel); }
  .widget-account-btn.ghost { background: var(--papier); color: var(--tinte-soft); border: 1px solid var(--linie); }
  .widget-account-btn.ghost:hover { border-color: var(--rot); color: var(--rot); }

  /* Werbeflaechen-Platzhalter - bewusst deutlich als Anzeige gekennzeichnet und
     strukturell so gebaut, dass hier spaeter echter Ad-Network-Code (z.B.
     Google AdSense <ins class="adsbygoogle">) eingesetzt werden kann, ohne
     das Layout drumherum anzufassen. */
  .ad-slot {
    background: var(--papier-dunkel); border: 1px dashed var(--linie); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; color: var(--tinte-soft);
    font-size: 12px; text-align: center; min-height: 250px;
  }
  .ad-slot .ad-slot-inner { padding: 16px; }
  .ad-slot-label {
    font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase;
    color: #9c8f70; margin-bottom: 22px;
  }

  @media (max-width: 980px) {
    .content-layout { grid-template-columns: 1fr; }
    .content-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .content-sidebar .widget, .content-sidebar .ad-slot { flex: 1 1 260px; }
  }

  /* Login-Widget: Google/Facebook-Buttons */
  .widget-oauth { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
  .widget-oauth-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 9px 12px; border-radius: 5px; font-size: 12.5px; font-weight: 600; text-decoration: none;
    border: 1px solid var(--linie);
  }
  .widget-oauth-btn.google { background: var(--papier); color: var(--tinte); }
  .widget-oauth-btn.google:hover { border-color: var(--tinte-soft); }
  .widget-oauth-btn.facebook { background: #1877F2; color: #fff; border-color: #1877F2; }
  .widget-oauth-btn.facebook:hover { background: #145dc4; }
  .widget-divider { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--tinte-soft); font-size: 11px; }
  .widget-divider::before, .widget-divider::after { content: ''; flex: 1; height: 1px; background: var(--linie); }
  .nav-links a.is-active { color: var(--rot); font-weight: 600; }

  /* ===== SUCHE IN DER TOPBAR ===== */
  .nav-search-btn {
    background: none; border: 1px solid var(--linie); border-radius: 6px; width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--tinte-soft);
    flex-shrink: 0;
  }
  .nav-search-btn:hover { border-color: var(--rot); color: var(--rot); }
  .nav-search-panel {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--weiss);
    border-bottom: 1px solid var(--linie); box-shadow: 0 12px 30px rgba(35,25,15,0.08);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-search-panel.open { max-height: 140px; }
  .nav-search-panel .wrap { padding-top: 18px; padding-bottom: 18px; }
  .nav-search-panel .search-box { max-width: 640px; margin: 0 auto; }
  header { position: relative; }
  @media (max-width: 900px) {
    .nav-search-panel.open { max-height: 200px; }
  }

  /* ===== KOMPAKTER HERO (nur noch Titel + Kreis-Chips, keine Suche/Wetter/Grossgrafik mehr) ===== */
  .hero-compact { padding: 32px 0 26px; }
  .hero-title-compact {
    font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(22px, 3vw, 28px);
    color: var(--tinte); margin-bottom: 16px;
  }
  .hero-title-compact em { font-style: normal; color: var(--rot); }
  .hero-compact .city-chips { margin: 0; }
  @media (max-width: 600px) { .hero-compact { padding: 24px 0 20px; } }

  .widget-unread-badge { background: var(--rot); color: #fff; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 10px; margin-left: 4px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-item { display: block; text-decoration: none; color: var(--tinte); }
.related-thumb { height: 130px; border-radius: 6px; margin-bottom: 10px; background: linear-gradient(135deg, var(--rot), var(--rot-dunkel)); overflow: hidden; }
.related-thumb.has-image { background: none; }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.related-tag { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--rot); font-weight: 600; margin-bottom: 5px; }
.related-title { font-family: 'Fraunces', serif; font-size: 15px; font-weight: 600; line-height: 1.3; }
.related-item:hover .related-title { color: var(--rot); }
.related-card-ad .related-thumb { background: var(--papier-dunkel); border: 1px dashed var(--linie); display: flex; align-items: center; justify-content: center; }
.related-card-ad .related-thumb-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 1px; color: #9c8f70; text-transform: uppercase; }
.related-card-ad .related-tag { color: var(--rot); }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }

.hero-compact-inline { margin-bottom: 34px; }
.hero-compact-inline .hero-title-compact { margin-bottom: 16px; }
