/*
Theme Name: Stadttreffpunkt Stadtforum
Theme URI: https://stadttreffpunkt.de/
Author: Stadttreffpunkt
Description: Eigenes responsives Stadtforum-Design.
Version: 1.0.0
Text Domain: stp-stadtforum
*/

:root {
 --stp-navy:#122c49;
 --stp-blue:#195c99;
 --stp-light:#f2f6fb;
 --stp-text:#24364a;
 --stp-border:#dae4f0;
}

* {box-sizing:border-box}

html {scroll-behavior:smooth}

body {
 margin:0;
 font-family:system-ui,-apple-system,BlinkMacSystemFont,
 "Segoe UI",Arial,sans-serif;
 background:var(--stp-light);
 color:var(--stp-text);
}

a {color:var(--stp-blue)}

.stp-header {
 background:#fff;
 border-bottom:1px solid var(--stp-border);
 position:relative;
 z-index:10;
}

.stp-header-inner {
 max-width:1220px;
 margin:auto;
 padding:18px 24px;
 display:flex;
 gap:28px;
 align-items:center;
 justify-content:space-between;
 flex-wrap:wrap;
}

.stp-brand {
 text-decoration:none;
 display:flex;
 align-items:center;
 gap:12px;
 color:var(--stp-navy);
}

.stp-brand-mark {
 width:46px;
 height:46px;
 border-radius:13px;
 display:grid;
 place-items:center;
 font-size:22px;
 color:white;
 font-weight:800;
 background:linear-gradient(135deg,#153f69,#2483b9);
}

.stp-brand-name {
 font-size:22px;
 font-weight:800;
 letter-spacing:-.5px;
}

.stp-brand-sub {
 display:block;
 font-size:12px;
 font-weight:500;
 color:#61758b;
 letter-spacing:0;
}

.stp-nav {
 display:flex;
 align-items:center;
 flex-wrap:wrap;
 gap:8px;
}

.stp-nav a {
 text-decoration:none;
 color:var(--stp-navy);
 padding:11px 15px;
 border-radius:9px;
 font-size:15px;
 font-weight:600;
}

.stp-nav a:hover,
.stp-nav a:focus-visible {
 background:#e8f1fb;
}

.stp-nav .stp-login {
 background:var(--stp-navy);
 color:#fff;
}

.stp-nav .stp-login:hover {
 background:var(--stp-blue);
 color:#fff;
}

.stp-main {
 width:100%;
 max-width:1220px;
 margin:0 auto;
 padding:24px;
 min-height:65vh;
}

.stp-content {
 background:white;
 border:1px solid var(--stp-border);
 border-radius:16px;
 padding:26px;
 overflow-wrap:anywhere;
}

.stp-content h1 {
 color:var(--stp-navy);
 font-size:clamp(26px,3vw,38px);
}

.stp-content > *:first-child {
 margin-top:0;
}

.stp-content .wpforo-wrap {
 max-width:100%;
}

.stp-footer {
 margin-top:48px;
 background:var(--stp-navy);
 color:#e4eefa;
}

.stp-footer-inner {
 max-width:1220px;
 margin:auto;
 padding:30px 24px;
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:20px;
 flex-wrap:wrap;
}

.stp-footer a {
 color:#fff;
 text-decoration:none;
}

.stp-footer small {
 color:#c4d5e8;
}

.stp-notfound {
 padding:55px 22px;
 text-align:center;
}

.stp-notfound h1 {
 font-size:clamp(34px,6vw,65px);
 margin:0 0 18px;
}

.stp-button {
 display:inline-block;
 padding:13px 22px;
 border-radius:10px;
 background:var(--stp-blue);
 color:#fff;
 text-decoration:none;
 font-weight:700;
}

.stp-button:hover {background:var(--stp-navy)}

body.home .stp-main {
 max-width:1250px;
}

body.home .stp-content {
 border:0;
 background:transparent;
 padding:0;
}

body.home .stp-start {
 max-width:none;
 padding:0;
 margin:0 auto 30px;
}

body.home .stp-hero {
 background:linear-gradient(115deg,#102a46,#21639a);
 border-radius:20px;
 padding:50px 42px;
 box-shadow:0 12px 32px rgba(18,44,73,.12);
}

body.home .stp-hero h1 {
 color:white;
}

body.home .stp-grid {
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:17px;
}

body.home .stp-city {
 border-radius:15px;
 border:1px solid #d7e3f0;
 min-height:115px;
}

body.home .stp-city:hover {
 border-color:#65a0d0;
}

@media(max-width:850px) {
 .stp-header-inner {
  align-items:flex-start;
  gap:16px;
 }
 .stp-nav {width:100%}
 body.home .stp-grid {
  grid-template-columns:repeat(2,minmax(0,1fr));
 }
}

@media(max-width:600px) {
 .stp-header-inner {padding:14px 16px}
 .stp-brand-name {font-size:19px}
 .stp-nav {gap:4px}
 .stp-nav a {
  font-size:13px;
  padding:9px 11px;
 }
 .stp-main {padding:16px}
 .stp-content {padding:15px}
 body.home .stp-hero {padding:27px 21px}
 body.home .stp-grid {
  grid-template-columns:1fr;
 }
 .stp-footer-inner {padding:25px 18px}
}

/* MASTER 08A – Stadtuebersicht-Infotext */
body.home .stp-start p.stp-footer {
  background:transparent;
  color:#516b86;
  border:0;
  box-shadow:none;
  border-radius:0;
  margin:23px 0 0;
  padding:0;
  font-size:14px;
  line-height:1.6;
  text-align:left;
}
