/* HamGw unified site theme v1.0
   Zentrales Erscheinungsbild fuer alle sichtbaren Community- und Adminseiten.
   Palette abgeleitet aus der HamGw-Landingpage: dunkles Funk-Header-Schema,
   helle lesbare Inhaltsflaechen, gruener Akzent. */

:root{
  --HamGw-bg:#edf2f0;
  --HamGw-bg-soft:#f6f8f7;
  --HamGw-surface:#ffffff;
  --HamGw-surface-soft:#f7faf8;
  --HamGw-dark:#0e1619;
  --HamGw-dark-2:#111b1e;
  --HamGw-dark-3:#17262a;
  --HamGw-ink:#172225;
  --HamGw-text:#263638;
  --HamGw-muted:#5f7472;
  --HamGw-border:#cfdad6;
  --HamGw-border-soft:#dde6e2;
  --HamGw-green:#9be36b;
  --HamGw-green-2:#69bd5f;
  --HamGw-green-dark:#216a50;
  --HamGw-green-soft:#eaf6ed;
  --HamGw-danger:#a13e38;
  --HamGw-danger-soft:#fff1ef;
  --HamGw-warning:#8b6518;
  --HamGw-warning-soft:#fff8e8;
  --HamGw-info:#315f70;
  --HamGw-info-soft:#edf7fa;
  --HamGw-shadow:0 10px 28px rgba(22,45,43,.075);
  --HamGw-radius:12px;
}

/* Grundlesbarkeit ausserhalb der bewusst eigenstaendigen Landing-Hero-Flaechen */
body:not(.landing-no-header){
  background:var(--HamGw-bg)!important;
  color:var(--HamGw-text)!important;
  font-family:Arial,Helvetica,sans-serif!important;
  line-height:1.5!important;
}
body:not(.landing-no-header) :is(p,li,dd,dt,label,small,.meta,.muted){
  text-rendering:optimizeLegibility;
}
body:not(.landing-no-header) :is(p,li,dd){
  color:var(--HamGw-text);
}
body:not(.landing-no-header) :is(.muted,.meta,small,.help-text,.form-help){
  color:var(--HamGw-muted)!important;
}
body:not(.landing-no-header) :is(h1,h2,h3,h4,h5,h6){
  color:var(--HamGw-ink);
}
body:not(.landing-no-header) a{
  color:#1f6656;
  text-decoration-color:rgba(31,102,86,.38);
  text-underline-offset:2px;
}
body:not(.landing-no-header) a:hover{
  color:#174f43;
  text-decoration-color:currentColor;
}

/* Gemeinsamer HamGw-Kopf */
body:not(.landing-no-header) .site-header{
  background:linear-gradient(180deg,#0b1114 0%,#111b1f 100%)!important;
  border:0!important;
  border-bottom:1px solid #26373c!important;
  box-shadow:0 10px 30px rgba(0,0,0,.18)!important;
  color:#edf5f2!important;
}
body:not(.landing-no-header) .wrd-utility-bar{
  background:#0a1113!important;
  border-bottom:1px solid #1f3034!important;
  color:#aebfbc!important;
}
body:not(.landing-no-header) .wrd-utility-bar a{
  color:#cfe0dc!important;
}
body:not(.landing-no-header) .wrd-utility-bar a:hover{
  color:#fff!important;
}
body:not(.landing-no-header) .header-inner{
  background:transparent!important;
}
body:not(.landing-no-header) .wrd-brand-copy strong,
body:not(.landing-no-header) .brand{
  color:#fff!important;
}
body:not(.landing-no-header) .wrd-brand-copy small{
  color:#9fb3af!important;
}
body:not(.landing-no-header) .wrd-nav-band{
  background:#10191c!important;
  border-top:1px solid #233237!important;
  border-bottom:1px solid #293b3f!important;
}
body:not(.landing-no-header) .main-nav>a,
body:not(.landing-no-header) .wrd-account-nav>a,
body:not(.landing-no-header) .nav-link-button{
  color:#dce7e4!important;
  border-color:transparent!important;
}
body:not(.landing-no-header) .main-nav>a:hover,
body:not(.landing-no-header) .wrd-account-nav>a:hover,
body:not(.landing-no-header) .nav-link-button:hover{
  background:#17262a!important;
  color:#fff!important;
}
body:not(.landing-no-header) .main-nav>a.active{
  background:#17262a!important;
  color:#fff!important;
  box-shadow:inset 0 -3px var(--HamGw-green)!important;
}
body:not(.landing-no-header) .guest-nav a{
  color:#e8f1ee!important;
}
body:not(.landing-no-header) .guest-nav .guest-register{
  border:1px solid #75bd61!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#9be36b,#69bd5f)!important;
  color:#102016!important;
  font-weight:800!important;
}
body:not(.landing-no-header) .header-search input{
  border:1px solid #52656a!important;
  border-radius:8px 0 0 8px!important;
  background:#f8fbfa!important;
  color:#172225!important;
}
body:not(.landing-no-header) .header-search button{
  border:1px solid #68b65a!important;
  border-radius:0 8px 8px 0!important;
  background:linear-gradient(180deg,#92da69,#69bd5f)!important;
  color:#102016!important;
  font-weight:800!important;
}

/* Inhaltsbreite und Seitenkopf */
body:not(.landing-no-header) main.container,
body:not(.landing-no-header) main.member-container,
body:not(.landing-no-header) main.public-container{
  width:min(1180px,calc(100% - 28px))!important;
  margin:22px auto!important;
}
body:not(.landing-no-header) .page-head,
body:not(.landing-no-header) .admin-page-head{
  min-height:0!important;
  margin:0 0 18px!important;
  padding:18px 20px!important;
  border:1px solid var(--HamGw-border)!important;
  border-radius:var(--HamGw-radius)!important;
  background:linear-gradient(180deg,#ffffff,#f5f8f6)!important;
  box-shadow:var(--HamGw-shadow)!important;
}
body:not(.landing-no-header) .page-head h1,
body:not(.landing-no-header) .admin-page-head h1{
  margin:0!important;
  color:var(--HamGw-ink)!important;
  font-size:clamp(1.35rem,2.2vw,1.9rem)!important;
  line-height:1.2!important;
  letter-spacing:-.02em!important;
}
body:not(.landing-no-header) .page-head p,
body:not(.landing-no-header) .admin-page-head p{
  margin:.4rem 0 0!important;
  color:var(--HamGw-muted)!important;
  font-size:.95rem!important;
}

/* Karten und Inhaltsflaechen */
body:not(.landing-no-header) :is(
  .panel,.card,.box,.widget,.content-card,.auth-card,.legal-page,.wrd-info-page,
  .feed-card,.post-card,.profile-card,.settings-card,.message-card,.conversation-card,
  .chat-card,.community-card,.verification-card,.modal-content,.support-card
){
  border:1px solid var(--HamGw-border)!important;
  border-radius:var(--HamGw-radius)!important;
  background:var(--HamGw-surface)!important;
  color:var(--HamGw-text)!important;
  box-shadow:var(--HamGw-shadow)!important;
}
body:not(.landing-no-header) :is(.panel,.card,.box,.widget,.content-card,.auth-card,.legal-page,.wrd-info-page) :is(h1,h2,h3){
  color:var(--HamGw-ink)!important;
}
body:not(.landing-no-header) :is(.panel,.card,.box,.widget,.content-card,.auth-card,.legal-page,.wrd-info-page) hr{
  border:0!important;
  border-top:1px solid var(--HamGw-border-soft)!important;
}

/* Formulare: hohe Lesbarkeit und eindeutige Focus-Zustaende */
body:not(.landing-no-header) label{
  color:#253735!important;
  font-weight:700!important;
}
body:not(.landing-no-header) :is(input,textarea,select){
  min-height:40px;
  border:1px solid #b9cbc5!important;
  border-radius:8px!important;
  background:#fbfdfc!important;
  color:#172225!important;
  font-size:14px!important;
  box-shadow:none!important;
}
body:not(.landing-no-header) textarea{
  min-height:96px;
  line-height:1.5!important;
}
body:not(.landing-no-header) :is(input,textarea)::placeholder{
  color:#70817e!important;
  opacity:1!important;
}
body:not(.landing-no-header) :is(input,textarea,select):focus{
  outline:none!important;
  border-color:#58a16b!important;
  box-shadow:0 0 0 3px rgba(88,161,107,.18)!important;
}
body:not(.landing-no-header) input[type="checkbox"],
body:not(.landing-no-header) input[type="radio"]{
  min-height:0!important;
  width:auto!important;
  accent-color:var(--HamGw-green-dark);
}

/* Buttons */
body:not(.landing-no-header) :is(.btn,.button,button,input[type=submit],input[type=button]){
  min-height:36px;
  border:1px solid #aebfba!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#ffffff,#e9efec)!important;
  color:#264d45!important;
  font-size:13px!important;
  font-weight:800!important;
  text-shadow:none!important;
  box-shadow:0 1px 2px rgba(20,45,40,.08)!important;
}
body:not(.landing-no-header) :is(.btn,.button,button,input[type=submit],input[type=button]):hover{
  filter:brightness(.98);
}
body:not(.landing-no-header) :is(.btn.primary,.button.primary,button.primary,input[type=submit]){
  border-color:#59a650!important;
  background:linear-gradient(180deg,#9be36b,#69bd5f)!important;
  color:#102016!important;
}
body:not(.landing-no-header) :is(.btn.danger,.button.danger,button.danger,.danger.btn){
  border-color:#8f3934!important;
  background:linear-gradient(180deg,#c65b54,#a13e38)!important;
  color:#fff!important;
}

/* Tabellen */
body:not(.landing-no-header) .table-responsive,
body:not(.landing-no-header) .table{
  max-width:100%;
  overflow-x:auto;
}
body:not(.landing-no-header) table{
  width:100%!important;
  border-collapse:separate!important;
  border-spacing:0!important;
  border:1px solid var(--HamGw-border)!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fff!important;
  color:var(--HamGw-text)!important;
}
body:not(.landing-no-header) th{
  padding:10px 12px!important;
  background:#edf4f0!important;
  color:#345d53!important;
  border-color:#d7e2de!important;
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
body:not(.landing-no-header) td{
  padding:10px 12px!important;
  border-color:#e0e8e5!important;
  color:#263638!important;
}
body:not(.landing-no-header) tbody tr:nth-child(even){
  background:#fafcfb!important;
}
body:not(.landing-no-header) tbody tr:hover{
  background:#f1f7f3!important;
}

/* Hinweise und Statusmeldungen */
body:not(.landing-no-header) :is(.alert,.flash,.cms-admin-flash){
  border-radius:9px!important;
  border:1px solid var(--HamGw-border)!important;
  line-height:1.45!important;
}
body:not(.landing-no-header) :is(.alert.success,.flash.success,.cms-admin-flash.success){
  border-color:#acd5b6!important;
  background:#edf8ef!important;
  color:#205e3c!important;
}
body:not(.landing-no-header) :is(.alert.error,.flash.error,.cms-admin-flash.error){
  border-color:#e0b2ae!important;
  background:var(--HamGw-danger-soft)!important;
  color:#812f2a!important;
}
body:not(.landing-no-header) :is(.alert.warning,.flash.warning){
  border-color:#e2ca91!important;
  background:var(--HamGw-warning-soft)!important;
  color:#70500f!important;
}
body:not(.landing-no-header) :is(.alert.info,.flash.info){
  border-color:#b7d5de!important;
  background:var(--HamGw-info-soft)!important;
  color:#284f5d!important;
}

/* Tabs, Untermenues und Navigation */
body:not(.landing-no-header) :is(.tabs,.profile-tabs,.account-settings-nav,.side-menu){
  border-color:var(--HamGw-border)!important;
}
body:not(.landing-no-header) :is(.tabs a,.profile-tabs a,.account-settings-nav a,.side-menu a){
  color:#385c55!important;
}
body:not(.landing-no-header) :is(.tabs a,.profile-tabs a,.account-settings-nav a,.side-menu a).active{
  border-color:#afd3b8!important;
  background:var(--HamGw-green-soft)!important;
  color:#155d4c!important;
  font-weight:800!important;
}

/* Profile, Feed und Community */
.member-area :is(.feed-card,.post-card):before{
  background:#f1f6f3!important;
  border-bottom:1px solid #d7e1dd!important;
  color:#4c746b!important;
}
.member-area :is(.profile-header,.profile-hero,.social-profile-header){
  background:linear-gradient(135deg,#122024,#1b2d31)!important;
  border-color:#31474b!important;
  color:#edf5f2!important;
}
.member-area :is(.profile-header,.profile-hero,.social-profile-header) :is(h1,h2,h3,.profile-name){
  color:#fff!important;
}
.member-area :is(.profile-header,.profile-hero,.social-profile-header) :is(p,small,.muted,.meta){
  color:#b5c7c3!important;
}
.member-area :is(.composer,.post-composer,.feed-composer){
  border-top:3px solid #76c565!important;
}

/* Nachrichten und Chat: dunkle Seitenleisten, helle lesbare Inhalte */
.member-area :is(.chat-layout,.messages-layout,.conversation-layout){
  border-radius:var(--HamGw-radius)!important;
  background:#f5f8f6!important;
}
.member-area :is(.chat-sidebar,.messages-sidebar,.conversation-sidebar,.wrd-channel-tools){
  background:#111b1e!important;
  color:#dbe7e4!important;
  border-color:#2d4145!important;
}
.member-area :is(.chat-sidebar,.messages-sidebar,.conversation-sidebar,.wrd-channel-tools) :is(a,button,h2,h3,strong){
  color:#e6efec!important;
}
.member-area :is(.chat-sidebar,.messages-sidebar,.conversation-sidebar) .active{
  background:#1b2a2e!important;
  box-shadow:inset 3px 0 #8bd36a!important;
}
.member-area .wrd-channel-main,
.member-area .wrd-chat-messages{
  background:#fff!important;
  color:var(--HamGw-text)!important;
}

/* Auth- und Rechtseiten */
.public-area:not(.landing-no-header){
  background:linear-gradient(180deg,#e6eeeb,#f6f8f7 340px)!important;
}
.public-area:not(.landing-no-header) .auth-card{
  max-width:680px!important;
  margin:36px auto!important;
  padding:clamp(20px,4vw,34px)!important;
  border-top:4px solid #78c665!important;
}
.public-area:not(.landing-no-header) :is(.legal-page,.wrd-info-page,.ham-legal-page){
  max-width:920px!important;
  margin:22px auto!important;
  padding:clamp(20px,4vw,36px)!important;
}
.public-area:not(.landing-no-header) :is(.legal-page,.wrd-info-page,.ham-legal-page) p{
  max-width:78ch;
  font-size:15px!important;
  line-height:1.7!important;
}

/* Footer */
body:not(.landing-no-header) :is(.site-footer,.wkw-public-footer){
  border-top:1px solid #26373c!important;
  background:#0f181b!important;
  color:#aebfbc!important;
}
body:not(.landing-no-header) :is(.site-footer,.wkw-public-footer) a{
  color:#d7e5e1!important;
}

/* Admin inklusive Legacy-Zentraladmin */
body.cms-admin-theme{
  --admin-accent:var(--HamGw-green)!important;
  background:#e8eeec!important;
  color:var(--HamGw-text)!important;
}
.cms-admin-sidebar,
.cms-admin-nav{
  background:#0e171a!important;
  border-color:#293b3f!important;
  color:#dce7e4!important;
}
.cms-admin-sidebar :is(a,button,strong,span),
.cms-admin-nav :is(a,button,strong,span){
  color:inherit;
}
.cms-admin-sidebar a:hover,
.cms-admin-sidebar a.active,
.cms-admin-nav a:hover,
.cms-admin-nav a.active{
  background:#19282c!important;
  color:#fff!important;
  box-shadow:inset 3px 0 var(--HamGw-green)!important;
}
.cms-admin-main{
  background:linear-gradient(180deg,#e6eeeb,#f6f8f7 320px)!important;
}
.cms-admin-top{
  border-bottom:1px solid var(--HamGw-border)!important;
  background:rgba(249,252,250,.97)!important;
  color:var(--HamGw-text)!important;
}
.cms-admin-heading h1{
  color:var(--HamGw-ink)!important;
}
.cms-admin-heading-hint,
.cms-admin-eyebrow{
  color:var(--HamGw-muted)!important;
}
.cms-admin-content{
  color:var(--HamGw-text)!important;
}
.cms-admin-content :is(.panel,.card,.admin-card,.settings-card,section,article){
  border-color:var(--HamGw-border)!important;
  background:#fff!important;
  color:var(--HamGw-text)!important;
  box-shadow:var(--HamGw-shadow)!important;
}
.cms-admin-content :is(.panel,.card,.admin-card,.settings-card,section,article) :is(h1,h2,h3){
  color:var(--HamGw-ink)!important;
}
.cms-admin-content :is(input,textarea,select){
  background:#fbfdfc!important;
  color:#172225!important;
  border-color:#b9cbc5!important;
}
.cms-admin-community-shortcut{
  border:1px solid #59a650!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#9be36b,#69bd5f)!important;
  color:#102016!important;
  font-weight:800!important;
}
.cms-admin-footer{
  color:#657975!important;
}

/* Verifizierung */
.verification-card{
  overflow:hidden;
}
.verification-radio-intro,
.verification-success{
  display:flex;
  align-items:flex-start;
  gap:16px;
}
.verified-badge.large{
  display:inline-flex!important;
  flex:0 0 auto;
  width:42px;
  height:42px;
  align-items:center;
  justify-content:center;
  border-radius:50%!important;
  background:var(--HamGw-green)!important;
  color:#102016!important;
  font-weight:900!important;
}
.verification-info-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:20px 0;
}
.verification-info-grid article{
  padding:16px;
  border:1px solid var(--HamGw-border)!important;
  border-radius:10px!important;
  background:#f7faf8!important;
  color:var(--HamGw-text)!important;
}
.verification-info-grid article strong{
  display:block;
  margin-bottom:6px;
  color:#1d5c4b!important;
}
.verification-info-grid article span{
  color:var(--HamGw-muted)!important;
}
.verification-radio-form{
  display:grid;
  gap:10px;
}

/* Fokus sichtbar fuer Tastatur-Nutzung */
body:not(.landing-no-header) :is(a,button,input,textarea,select):focus-visible{
  outline:3px solid rgba(105,189,95,.42)!important;
  outline-offset:2px!important;
}

/* Mobile: nichts quetschen, Tabellen horizontal scrollbar, Karten gut lesbar */
@media(max-width:760px){
  body:not(.landing-no-header) main.container,
  body:not(.landing-no-header) main.member-container,
  body:not(.landing-no-header) main.public-container{
    width:min(100% - 16px,1180px)!important;
    margin:12px auto!important;
  }
  body:not(.landing-no-header) .page-head,
  body:not(.landing-no-header) .admin-page-head{
    padding:14px!important;
  }
  body:not(.landing-no-header) :is(.panel,.card,.box,.widget,.content-card,.auth-card,.legal-page,.wrd-info-page){
    max-width:100%;
  }
  .verification-info-grid{
    grid-template-columns:1fr!important;
  }
  .cms-admin-content{
    padding:14px!important;
  }
  body:not(.landing-no-header) th,
  body:not(.landing-no-header) td{
    padding:8px 9px!important;
  }
}
@media(max-width:520px){
  body:not(.landing-no-header){
    font-size:14px!important;
  }
  body:not(.landing-no-header) .guest-nav{
    gap:6px!important;
  }
  .verification-radio-intro,
  .verification-success{
    flex-direction:column;
  }
}

/* HamGw Feed-Aktionen kompakt v1.0 */
body:not(.landing-no-header) .feed-card .link-button,
body:not(.landing-no-header) .post-card .link-button,
body:not(.landing-no-header) .feed-card .post-actions a,
body:not(.landing-no-header) .feed-card .post-actions button,
body:not(.landing-no-header) .post-card .post-actions a,
body:not(.landing-no-header) .post-card .post-actions button,
body:not(.landing-no-header) .feed-card .feed-actions a,
body:not(.landing-no-header) .feed-card .feed-actions button,
body:not(.landing-no-header) .post-card .feed-actions a,
body:not(.landing-no-header) .post-card .feed-actions button{
  min-height:0!important;
  height:auto!important;
  padding:2px 4px!important;
  margin:0!important;
  border:0!important;
  border-radius:4px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#4c675f!important;
  font-size:12px!important;
  line-height:1.3!important;
  font-weight:600!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body:not(.landing-no-header) .feed-card .link-button:hover,
body:not(.landing-no-header) .post-card .link-button:hover,
body:not(.landing-no-header) .feed-card .post-actions a:hover,
body:not(.landing-no-header) .feed-card .post-actions button:hover,
body:not(.landing-no-header) .post-card .post-actions a:hover,
body:not(.landing-no-header) .post-card .post-actions button:hover,
body:not(.landing-no-header) .feed-card .feed-actions a:hover,
body:not(.landing-no-header) .feed-card .feed-actions button:hover{
  background:#eef5f1!important;
  color:#1f6656!important;
}
body:not(.landing-no-header) .feed-card .post-actions,
body:not(.landing-no-header) .post-card .post-actions,
body:not(.landing-no-header) .feed-card .feed-actions,
body:not(.landing-no-header) .post-card .feed-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:4px 8px!important;
}
body:not(.landing-no-header) .feed-card .post-actions form,
body:not(.landing-no-header) .post-card .post-actions form,
body:not(.landing-no-header) .feed-card .feed-actions form,
body:not(.landing-no-header) .post-card .feed-actions form{
  display:inline-flex!important;
  margin:0!important;
  padding:0!important;
}

/* HamGw Feed-Aktionen kompakt v1.1 – echte Feed-Struktur .stream-actions */
body:not(.landing-no-header) .stream-item .stream-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:3px 7px!important;
  margin-top:6px!important;
  padding-top:6px!important;
  border-top:1px solid #dbe5e1!important;
}

body:not(.landing-no-header) .stream-item .stream-actions form{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
}

body:not(.landing-no-header) .stream-item .stream-actions > a,
body:not(.landing-no-header) .stream-item .stream-actions > button,
body:not(.landing-no-header) .stream-item .stream-actions > form > button{
  display:inline-flex!important;
  align-items:center!important;
  gap:2px!important;
  width:auto!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:1px 3px!important;
  margin:0!important;
  border:0!important;
  border-radius:3px!important;
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  color:#46645c!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:600!important;
  text-decoration:none!important;
  text-shadow:none!important;
  white-space:nowrap!important;
}

body:not(.landing-no-header) .stream-item .stream-actions > a:hover,
body:not(.landing-no-header) .stream-item .stream-actions > button:hover,
body:not(.landing-no-header) .stream-item .stream-actions > form > button:hover{
  border:0!important;
  background:#eef5f1!important;
  color:#1f6656!important;
  box-shadow:none!important;
}

body:not(.landing-no-header) .stream-item .stream-actions b{
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:700!important;
  color:inherit!important;
}

body:not(.landing-no-header) .stream-item .stream-actions .danger-text{
  color:#8c4a45!important;
}
body:not(.landing-no-header) .stream-item .stream-actions .danger-text:hover{
  background:#fff2f0!important;
  color:#7a302c!important;
}

@media(max-width:520px){
  body:not(.landing-no-header) .stream-item .stream-actions{
    gap:3px 5px!important;
  }
  body:not(.landing-no-header) .stream-item .stream-actions > a,
  body:not(.landing-no-header) .stream-item .stream-actions > button,
  body:not(.landing-no-header) .stream-item .stream-actions > form > button{
    font-size:10.5px!important;
    padding:1px 2px!important;
  }
}

/* HamGw Header Login Fix v1.0
   Der erste Gast-Link ist "Einloggen", .guest-register bleibt separat gruen. */
body:not(.landing-no-header) .site-header .guest-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
}

body:not(.landing-no-header) .site-header .guest-nav > a:not(.guest-register){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  height:auto!important;
  padding:8px 13px!important;
  margin:0!important;
  border:1px solid #53686c!important;
  border-radius:8px!important;
  background:#152125!important;
  background-image:none!important;
  box-shadow:none!important;
  color:#f3f7f6!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-decoration:none!important;
  text-shadow:none!important;
  opacity:1!important;
}

body:not(.landing-no-header) .site-header .guest-nav > a:not(.guest-register):visited{
  color:#f3f7f6!important;
}

body:not(.landing-no-header) .site-header .guest-nav > a:not(.guest-register):hover,
body:not(.landing-no-header) .site-header .guest-nav > a:not(.guest-register):focus-visible{
  border-color:#7f999d!important;
  background:#203136!important;
  color:#ffffff!important;
  box-shadow:0 0 0 3px rgba(155,227,107,.12)!important;
}

body:not(.landing-no-header) .site-header .guest-nav > .guest-register{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  height:auto!important;
  padding:8px 14px!important;
  margin:0!important;
  border:1px solid #59a650!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,#9be36b,#69bd5f)!important;
  color:#102016!important;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:800!important;
  text-decoration:none!important;
  text-shadow:none!important;
  opacity:1!important;
}

body:not(.landing-no-header) .site-header .guest-nav > .guest-register:visited{
  color:#102016!important;
}

@media(max-width:640px){
  body:not(.landing-no-header) .site-header .guest-nav{
    gap:5px!important;
  }
  body:not(.landing-no-header) .site-header .guest-nav > a:not(.guest-register),
  body:not(.landing-no-header) .site-header .guest-nav > .guest-register{
    min-height:34px!important;
    padding:7px 9px!important;
    font-size:12px!important;
  }
}

/* HamGw Amateurfunk-Tickets v1.0 */
.ham-ticket-page{max-width:1180px!important}
.ticket-page-head{margin-bottom:18px}
.ticket-page-head h1{margin:.25rem 0 .35rem}
.ticket-contact-line{padding:10px 12px;border:1px solid var(--HamGw-border,#cfdad6);border-radius:8px;background:#f7faf8}
.ticket-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:16px;margin-top:18px}
.ticket-columns>.panel,.ticket-detail{padding:18px}
.ticket-create-form,.ticket-reply-form{display:grid;gap:9px}
.ticket-create-form .support-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ticket-list{display:grid;gap:8px}
.ticket-list-item,.ticket-admin-list-item{display:grid;gap:2px;padding:11px 12px;border:1px solid #d8e3df;border-radius:9px;background:#fbfdfc;text-decoration:none!important;color:#263638!important}
.ticket-list-item:hover,.ticket-admin-list-item:hover,.ticket-admin-list-item.active{border-color:#88bc91;background:#edf7ef!important}
.ticket-list-number{font-size:11px;font-weight:900;letter-spacing:.08em;color:#216a50}
.ticket-list-item>span:not(.ticket-list-number),.ticket-admin-list-item>span:not(.ticket-list-number),.ticket-list-item small,.ticket-admin-list-item small{color:#607570;font-size:12px}
.ticket-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.ticket-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0 18px}
.ticket-meta-grid>span,.ticket-meta-grid>label{display:grid;gap:3px;padding:9px 10px;border:1px solid #d9e4df;border-radius:8px;background:#f7faf8;font-size:13px}
.ticket-meta-grid>span strong{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#55726b}
.ticket-thread{display:grid;gap:10px;margin:16px 0}
.ticket-message{padding:12px 14px;border:1px solid #d8e3df;border-radius:10px;background:#fff}
.ticket-message header{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;color:#536c66;font-size:12px}
.ticket-message-user{border-left:4px solid #78a9c0}
.ticket-message-staff{border-left:4px solid #72c567;background:#f5fbf4}
.ticket-message-internal{border-left:4px solid #c99b45;background:#fff9e9}
.ticket-actions{display:flex;flex-wrap:wrap;gap:8px}
.ticket-admin-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ticket-admin-layout{display:grid;grid-template-columns:minmax(260px,.34fr) minmax(0,.66fr);gap:16px}
.ticket-admin-list{padding:14px;align-self:start}
.ticket-admin-list-item{margin-bottom:7px}
.ticket-admin-detail{padding:18px;min-width:0}
.ticket-admin-settings{margin-bottom:14px}
.ticket-admin-compose-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.ticket-admin-compose-grid form{display:grid;gap:7px}
@media(max-width:850px){
 .ticket-columns,.ticket-admin-layout,.ticket-admin-compose-grid{grid-template-columns:1fr}
 .ticket-meta-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){
 .ticket-create-form .support-form-grid,.ticket-meta-grid{grid-template-columns:1fr}
 .ticket-detail-head{flex-direction:column}
}

