:root{
  --tr-bg:#071411;
  --tr-bg-soft:#0d221d;
  --tr-card:#102c25;
  --tr-card-2:#14382f;
  --tr-main:#38e6a1;
  --tr-main-dark:#16a873;
  --tr-accent:#9fffe0;
  --tr-text:#f2fff9;
  --tr-muted:#b4d8ca;
  --tr-warning:#ffbf5b;
  --tr-danger:#ff6464;
  --tr-border:rgba(159,255,224,.22);
  --tr-shadow:0 28px 80px rgba(0,0,0,.45);
}

*{box-sizing:border-box}

html,body{
  margin:0;
  min-height:100%;
  background:
    radial-gradient(circle at 10% 0%,rgba(56,230,161,.20),transparent 32%),
    radial-gradient(circle at 90% 10%,rgba(159,255,224,.14),transparent 34%),
    linear-gradient(180deg,#071411,#030807);
  color:var(--tr-text);
  font-family:Inter,Arial,Helvetica,sans-serif;
}

a{
  color:var(--tr-accent);
  text-decoration:none;
}

.tr-shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.tr-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(7,20,17,.86);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--tr-border);
}

.tr-nav{
  max-width:1240px;
  margin:0 auto;
  padding:18px 22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}

.tr-logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:.3px;
  color:var(--tr-text);
}

.tr-logo-mark{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:linear-gradient(135deg,var(--tr-main),var(--tr-main-dark));
  color:#062016;
  box-shadow:0 12px 34px rgba(56,230,161,.25);
}

.tr-menu{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.tr-menu a{
  padding:10px 14px;
  border-radius:999px;
  color:var(--tr-text);
  border:1px solid transparent;
}

.tr-menu a:hover{
  border-color:var(--tr-border);
  background:rgba(159,255,224,.08);
}

.tr-menu .tr-login{
  color:#062016;
  background:linear-gradient(135deg,var(--tr-main),var(--tr-accent));
  font-weight:900;
}

.tr-main{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:34px 22px 70px;
  flex:1;
}

.tr-hero{
  position:relative;
  overflow:hidden;
  padding:64px;
  border-radius:34px;
  background:
    linear-gradient(135deg,rgba(56,230,161,.16),rgba(159,255,224,.05)),
    linear-gradient(180deg,var(--tr-card-2),var(--tr-card));
  border:1px solid var(--tr-border);
  box-shadow:var(--tr-shadow);
}

.tr-hero:before{
  content:"";
  position:absolute;
  right:-120px;
  top:-120px;
  width:360px;
  height:360px;
  border-radius:50%;
  background:rgba(56,230,161,.18);
  filter:blur(8px);
}

.tr-kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(159,255,224,.10);
  border:1px solid var(--tr-border);
  color:var(--tr-accent);
  font-weight:800;
  margin-bottom:18px;
}

.tr-hero h1{
  position:relative;
  margin:0 0 18px;
  max-width:850px;
  font-size:clamp(38px,6vw,78px);
  line-height:.96;
  letter-spacing:-2.2px;
}

.tr-hero p{
  position:relative;
  max-width:790px;
  color:var(--tr-muted);
  font-size:20px;
  line-height:1.75;
}

.tr-actions{
  position:relative;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}

.tr-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:14px 20px;
  border-radius:16px;
  border:1px solid var(--tr-border);
  background:rgba(159,255,224,.08);
  color:var(--tr-text);
  font-weight:900;
  cursor:pointer;
}

.tr-btn-primary{
  color:#062016;
  border-color:transparent;
  background:linear-gradient(135deg,var(--tr-main),var(--tr-accent));
  box-shadow:0 14px 34px rgba(56,230,161,.20);
}

.tr-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:18px;
  margin-top:22px;
}

.tr-card{
  border:1px solid var(--tr-border);
  border-radius:26px;
  padding:24px;
  background:linear-gradient(180deg,rgba(20,56,47,.94),rgba(13,34,29,.94));
  box-shadow:0 18px 50px rgba(0,0,0,.22);
}

.tr-card h2{
  margin:0 0 10px;
  color:var(--tr-accent);
  font-size:24px;
}

.tr-card p{
  margin:0;
  color:var(--tr-muted);
  line-height:1.65;
  font-size:16px;
}

.tr-panel{
  max-width:560px;
  margin:30px auto 0;
  border:1px solid var(--tr-border);
  border-radius:28px;
  padding:30px;
  background:linear-gradient(180deg,var(--tr-card-2),var(--tr-card));
  box-shadow:var(--tr-shadow);
}

.tr-form label{
  display:block;
  margin:0 0 7px;
  color:var(--tr-accent);
  font-weight:800;
}

.tr-form input{
  width:100%;
  margin:0 0 16px;
  padding:15px 16px;
  border-radius:16px;
  border:1px solid var(--tr-border);
  background:#06110e;
  color:var(--tr-text);
  outline:none;
  font-size:16px;
}

.tr-form input:focus{
  border-color:var(--tr-main);
  box-shadow:0 0 0 4px rgba(56,230,161,.13);
}

.tr-alert{
  margin:0 0 18px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(255,100,100,.35);
  background:rgba(255,100,100,.10);
  color:#ffdede;
}

.tr-legal{
  max-width:920px;
}

.tr-legal h1{
  font-size:clamp(34px,5vw,58px);
  margin:0 0 18px;
}

.tr-legal h2{
  color:var(--tr-accent);
  margin-top:30px;
}

.tr-legal p,
.tr-legal li{
  color:var(--tr-muted);
  line-height:1.75;
  font-size:18px;
}

.tr-footer{
  border-top:1px solid var(--tr-border);
  background:rgba(7,20,17,.82);
  padding:28px 20px;
  color:var(--tr-muted);
  text-align:center;
}

@media(max-width:760px){
  .tr-nav{
    align-items:flex-start;
    flex-direction:column;
  }

  .tr-menu{
    justify-content:flex-start;
  }

  .tr-hero{
    padding:34px 24px;
    border-radius:26px;
  }

  .tr-hero h1{
    letter-spacing:-1px;
  }
}

/* ===== DROPDOWN MENÜ ===== */

.tr-menu-check{
  display:none;
}

.tr-menu-toggle{
  display:none;
  padding:11px 15px;
  border-radius:999px;
  border:1px solid var(--tr-border);
  background:rgba(159,255,224,.08);
  color:var(--tr-text);
  font-weight:900;
  cursor:pointer;
}

.tr-dropdown{
  position:relative;
}

.tr-dropbtn{
  padding:10px 14px;
  border-radius:999px;
  color:var(--tr-text);
  border:1px solid transparent;
  background:transparent;
  font:inherit;
  cursor:pointer;
}

.tr-dropbtn:hover{
  border-color:var(--tr-border);
  background:rgba(159,255,224,.08);
}

.tr-dropdown-content{
  display:none;
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  min-width:245px;
  padding:10px;
  border-radius:20px;
  border:1px solid var(--tr-border);
  background:rgba(7,20,17,.98);
  box-shadow:0 22px 70px rgba(0,0,0,.45);
  backdrop-filter:blur(18px);
  z-index:999;
}

.tr-dropdown-content:before{
  content:"";
  position:absolute;
  top:-10px;
  right:24px;
  width:18px;
  height:18px;
  background:rgba(7,20,17,.98);
  border-left:1px solid var(--tr-border);
  border-top:1px solid var(--tr-border);
  transform:rotate(45deg);
}

.tr-dropdown:hover .tr-dropdown-content{
  display:block;
}

.tr-dropdown-content a{
  display:block;
  width:100%;
  padding:12px 13px;
  border-radius:14px;
  color:var(--tr-text);
  border:1px solid transparent;
}

.tr-dropdown-content a:hover{
  background:rgba(159,255,224,.10);
  border-color:var(--tr-border);
}

@media(max-width:860px){
  .tr-nav{
    flex-direction:row;
    align-items:center;
  }

  .tr-menu-toggle{
    display:inline-flex;
    margin-left:auto;
  }

  .tr-menu{
    display:none;
    width:100%;
    flex-direction:column;
    gap:10px;
    padding-top:18px;
  }

  .tr-menu-check:checked ~ .tr-menu{
    display:flex;
  }

  .tr-menu a,
  .tr-dropbtn{
    width:100%;
    text-align:left;
    border:1px solid var(--tr-border);
    background:rgba(159,255,224,.06);
  }

  .tr-dropdown{
    width:100%;
  }

  .tr-dropdown-content{
    position:static;
    display:block;
    min-width:0;
    width:100%;
    margin-top:8px;
    box-shadow:none;
    border-radius:18px;
    background:rgba(0,0,0,.18);
  }

  .tr-dropdown-content:before{
    display:none;
  }
}

/* ===== MODERNES PREMIUM DROPDOWN MENÜ ===== */

.tr-header{
  background:rgba(7,20,17,.72);
  backdrop-filter:blur(24px) saturate(135%);
}

.tr-nav{
  min-height:78px;
}

.tr-menu{
  align-items:center;
}

.tr-menu > a,
.tr-dropbtn{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 16px;
  border-radius:16px;
  font-weight:800;
  letter-spacing:.1px;
  transition:
    transform .18s ease,
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

.tr-menu > a:hover,
.tr-dropbtn:hover{
  transform:translateY(-1px);
  border-color:rgba(159,255,224,.34);
  background:linear-gradient(135deg,rgba(159,255,224,.14),rgba(56,230,161,.07));
  box-shadow:0 12px 30px rgba(0,0,0,.24);
}

.tr-dropbtn:after{
  content:"⌄";
  display:inline-flex;
  width:20px;
  height:20px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(159,255,224,.10);
  color:var(--tr-accent);
  transition:transform .18s ease;
}

.tr-dropdown:hover .tr-dropbtn:after{
  transform:rotate(180deg);
}

.tr-dropdown-content{
  display:block;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px) scale(.97);
  transform-origin:top right;
  transition:
    opacity .16s ease,
    visibility .16s ease,
    transform .16s ease;
  padding:12px;
  border-radius:24px;
  background:
    linear-gradient(180deg,rgba(18,48,40,.98),rgba(5,14,12,.98));
  border:1px solid rgba(159,255,224,.24);
  box-shadow:
    0 28px 80px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.tr-dropdown:hover .tr-dropdown-content{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}

.tr-dropdown-content a{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  min-height:46px;
  padding:12px 14px 12px 16px;
  border-radius:17px;
  color:var(--tr-text);
  font-weight:750;
  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease,
    padding-left .16s ease;
}

.tr-dropdown-content a:before{
  content:"";
  width:9px;
  height:9px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--tr-main),var(--tr-accent));
  box-shadow:0 0 18px rgba(56,230,161,.65);
  opacity:.85;
}

.tr-dropdown-content a:hover{
  padding-left:20px;
  transform:translateX(2px);
  background:linear-gradient(135deg,rgba(159,255,224,.13),rgba(56,230,161,.06));
  border-color:rgba(159,255,224,.24);
}

.tr-login{
  box-shadow:0 14px 34px rgba(56,230,161,.22);
}

.tr-menu-toggle{
  align-items:center;
  gap:8px;
  min-height:44px;
  background:linear-gradient(135deg,rgba(159,255,224,.12),rgba(56,230,161,.06));
  transition:transform .18s ease, background .18s ease;
}

.tr-menu-toggle:hover{
  transform:translateY(-1px);
  background:rgba(159,255,224,.16);
}

@media(max-width:860px){
  .tr-nav{
    flex-wrap:wrap;
    min-height:70px;
  }

  .tr-menu{
    margin-top:10px;
    padding:14px;
    border:1px solid rgba(159,255,224,.18);
    border-radius:24px;
    background:
      linear-gradient(180deg,rgba(18,48,40,.85),rgba(5,14,12,.90));
    box-shadow:0 18px 55px rgba(0,0,0,.30);
  }

  .tr-menu > a,
  .tr-dropbtn{
    justify-content:space-between;
    border-radius:18px;
  }

  .tr-dropdown-content{
    opacity:1;
    visibility:visible;
    transform:none;
    padding:8px;
    border-radius:20px;
    background:rgba(0,0,0,.18);
    border-color:rgba(159,255,224,.13);
  }

  .tr-dropdown:hover .tr-dropdown-content{
    transform:none;
  }

  .tr-dropdown-content a{
    min-height:44px;
  }
}

/* ===== ANDERES MENÜDESIGN: COMMAND BAR ===== */

.tr-header{
  position:sticky;
  top:14px;
  z-index:100;
  width:calc(100% - 28px);
  margin:14px auto 0;
  max-width:1280px;
  border:1px solid rgba(159,255,224,.20);
  border-radius:28px;
  background:linear-gradient(135deg,rgba(3,8,7,.92),rgba(16,44,37,.86));
  box-shadow:0 24px 70px rgba(0,0,0,.38);
}

.tr-nav{
  max-width:none;
  min-height:72px;
  padding:12px 16px;
}

.tr-logo{
  padding:9px 12px;
  border-radius:20px;
  background:rgba(159,255,224,.06);
  border:1px solid rgba(159,255,224,.14);
}

.tr-logo-mark{
  border-radius:14px;
}

.tr-menu{
  gap:8px;
  padding:6px;
  border-radius:22px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(159,255,224,.12);
}

.tr-menu > a,
.tr-dropbtn{
  min-height:42px;
  border-radius:15px;
  background:transparent;
  border:1px solid transparent;
}

.tr-menu > a:hover,
.tr-dropbtn:hover{
  background:rgba(159,255,224,.12);
  border-color:rgba(159,255,224,.22);
  transform:none;
  box-shadow:none;
}

.tr-login{
  background:linear-gradient(135deg,var(--tr-main),var(--tr-accent)) !important;
  color:#03130d !important;
  border:0 !important;
}

.tr-dropdown-content{
  top:calc(100% + 16px);
  min-width:330px;
  padding:14px;
  border-radius:28px;
  background:
    radial-gradient(circle at top left,rgba(56,230,161,.18),transparent 35%),
    linear-gradient(180deg,rgba(10,28,24,.98),rgba(2,7,6,.98));
  border:1px solid rgba(159,255,224,.24);
  box-shadow:0 30px 90px rgba(0,0,0,.55);
}

.tr-dropdown-content:before{
  display:none;
}

.tr-dropdown-content a{
  min-height:58px;
  border-radius:20px;
  margin-bottom:6px;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(159,255,224,.10);
}

.tr-dropdown-content a:last-child{
  margin-bottom:0;
}

.tr-dropdown-content a:before{
  width:36px;
  height:36px;
  flex:0 0 36px;
  box-shadow:none;
  background:
    linear-gradient(135deg,rgba(56,230,161,.95),rgba(159,255,224,.95));
}

.tr-dropdown-content a:hover{
  padding-left:16px;
  transform:translateY(-1px);
  background:rgba(159,255,224,.10);
}

.tr-main{
  padding-top:42px;
}

@media(max-width:860px){
  .tr-header{
    top:8px;
    width:calc(100% - 16px);
    border-radius:24px;
  }

  .tr-nav{
    flex-wrap:wrap;
  }

  .tr-menu-toggle{
    display:inline-flex;
    border-radius:18px;
  }

  .tr-menu{
    width:100%;
    display:none;
    margin-top:12px;
    padding:10px;
    background:rgba(0,0,0,.18);
  }

  .tr-menu-check:checked ~ .tr-menu{
    display:flex;
  }

  .tr-dropdown-content{
    min-width:0;
    width:100%;
    margin-top:8px;
    border-radius:22px;
    padding:10px;
  }

  .tr-dropdown-content a{
    min-height:52px;
  }
}

/* ===== KOMPLETT NEUES DESIGN: LINKES SIDEBAR-LAYOUT ===== */

body{
  background:#06120f;
}

.tr-app{
  min-height:100vh;
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
}

.tr-side{
  position:sticky;
  top:0;
  height:100vh;
  overflow-y:auto;
  padding:22px;
  background:
    radial-gradient(circle at top left,rgba(56,230,161,.20),transparent 38%),
    linear-gradient(180deg,#0f2c25,#06120f);
  border-right:1px solid rgba(159,255,224,.18);
}

.tr-side-logo{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border-radius:24px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(159,255,224,.18);
  color:#f2fff9;
  margin-bottom:24px;
}

.tr-side-logo span{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(135deg,var(--tr-main),var(--tr-accent));
  color:#06120f;
}

.tr-side-block{
  margin-bottom:22px;
}

.tr-side-block small{
  display:block;
  margin:0 0 9px 12px;
  color:var(--tr-muted);
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:1.8px;
  font-weight:900;
}

.tr-side-block a{
  display:flex;
  align-items:center;
  min-height:46px;
  padding:12px 14px;
  margin-bottom:8px;
  border-radius:16px;
  color:#eafff4;
  border:1px solid transparent;
  background:rgba(0,0,0,.12);
  font-weight:800;
}

.tr-side-block a:hover{
  background:rgba(159,255,224,.10);
  border-color:rgba(159,255,224,.22);
}

.tr-side-bottom{
  margin-top:28px;
  padding-top:20px;
  border-top:1px solid rgba(159,255,224,.16);
}

.tr-side-action{
  display:flex;
  justify-content:center;
  padding:14px 18px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--tr-main),var(--tr-accent));
  color:#06120f;
  font-weight:900;
}

.tr-page{
  min-width:0;
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

.tr-top{
  position:sticky;
  top:0;
  z-index:40;
  padding:18px 28px;
  background:rgba(6,18,15,.82);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(159,255,224,.14);
}

.tr-top strong{
  display:block;
  font-size:22px;
  color:#f2fff9;
}

.tr-top span{
  display:block;
  margin-top:4px;
  color:var(--tr-muted);
}

.tr-main{
  max-width:1180px;
  width:100%;
  padding:34px 28px 70px;
}

.tr-header,
.tr-nav,
.tr-menu,
.tr-menu-toggle,
.tr-dropdown,
.tr-dropdown-content{
  all:unset;
}

@media(max-width:900px){
  .tr-app{
    display:block;
  }

  .tr-side{
    position:relative;
    height:auto;
    border-right:0;
    border-bottom:1px solid rgba(159,255,224,.18);
  }

  .tr-side-block{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:8px;
  }

  .tr-side-block small{
    grid-column:1/-1;
  }

  .tr-side-block a{
    margin-bottom:0;
  }

  .tr-main{
    padding:24px 18px 60px;
  }
}

/* ===== THEMEN-KACHELN TIERSCHUTZ ===== */

.tr-card h2{
  line-height:1.2;
}

.tr-hero .tr-kicker{
  font-size:15px;
}

.tr-side-block a[href="/tierschuetzer.php"],
.tr-side-block a[href="/retten-vermitteln.php"],
.tr-side-block a[href="/tierquaelerei-aufdecken.php"],
.tr-side-block a[href="/mahnwachen.php"],
.tr-side-block a[href="/herzpost.php"]{
  background:linear-gradient(135deg,rgba(255,255,255,.035),rgba(56,230,161,.075));
}

.tr-side-block a[href="/tierschuetzer.php"]:hover,
.tr-side-block a[href="/retten-vermitteln.php"]:hover,
.tr-side-block a[href="/tierquaelerei-aufdecken.php"]:hover,
.tr-side-block a[href="/mahnwachen.php"]:hover,
.tr-side-block a[href="/herzpost.php"]:hover{
  background:linear-gradient(135deg,rgba(56,230,161,.16),rgba(159,255,224,.08));
}

/* ===== STARTSEITE AUSFÜHRLICH ===== */

.tr-panel h2{
  color:var(--tr-accent);
  font-size:32px;
  margin-top:0;
}

.tr-panel p{
  font-size:19px;
  line-height:1.85;
}

.tr-card{
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.tr-card:hover{
  transform:translateY(-3px);
  border-color:rgba(159,255,224,.40);
  background:linear-gradient(180deg,rgba(20,70,58,.96),rgba(13,34,29,.96));
}

.tr-card h2{
  font-size:25px;
}

.tr-card p{
  font-size:17px;
}

.tr-hero{
  margin-bottom:22px;
}

.tr-hero p{
  font-size:21px;
}
