/*
Theme Name: Regenbogen-Initiative Berlin
Theme URI: https://example.org/
Author: OpenAI
Description: Individuelles, responsives WordPress-Theme für die Regenbogen-Initiative Berlin.
Version: 1.0.0
Text Domain: regenbogen-initiative
*/

:root{
  --navy:#071a3a;
  --purple:#4a148c;
  --pink:#e6007e;
  --orange:#ff6b00;
  --yellow:#ffbf00;
  --green:#169b45;
  --blue:#005bbb;
  --violet:#6f2da8;
  --text:#121212;
  --muted:#5b6270;
  --line:#e8eaf0;
  --bg:#ffffff;
  --soft:#f7f7fb;
  --radius:20px;
  --shadow:0 14px 40px rgba(7,26,58,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
.container{width:min(1180px, calc(100% - 40px));margin-inline:auto}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  min-height:92px;
  display:flex;align-items:center;justify-content:space-between;gap:28px;
}
.brand img{width:265px;display:block}
.main-nav{display:flex;align-items:center;gap:28px;font-weight:700}
.main-nav a{position:relative;padding:34px 0 30px}
.main-nav a::after{
  content:"";position:absolute;left:0;right:100%;bottom:20px;height:3px;
  background:linear-gradient(90deg,var(--pink),var(--orange),var(--green),var(--blue),var(--violet));
  transition:.25s ease;
}
.main-nav a:hover::after,.main-nav .current-menu-item>a::after{right:0}
.support-btn{
  display:inline-flex;align-items:center;gap:10px;
  background:var(--purple);color:#fff;font-weight:800;
  padding:14px 20px;border-radius:10px;
}
.menu-toggle{display:none;border:0;background:none;font-size:28px}

.hero{
  display:grid;grid-template-columns:1fr 1.35fr;
  min-height:610px;background:#fff;
}
.hero-copy{
  padding:72px max(40px, calc((100vw - 1180px)/2)) 60px max(40px, calc((100vw - 1180px)/2));
  display:flex;flex-direction:column;justify-content:center;
}
.hero h1{
  font-size:clamp(52px,5.8vw,88px);
  line-height:.98;margin:0 0 28px;letter-spacing:-.04em;
}
.rainbow-text{
  background:linear-gradient(90deg,#e50019,#ff6b00,#f5b800,#169b45,#0066cc,#6f2da8);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-copy p{font-size:21px;max-width:600px;margin:0 0 30px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:15px 22px;border-radius:10px;font-weight:800;border:2px solid var(--purple);
}
.btn-primary{background:var(--purple);color:white}
.btn-secondary{color:var(--purple);background:white}
.hero-media{position:relative;overflow:hidden;min-height:500px}
.hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.hero-media::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(7,26,58,.25),transparent 35%,rgba(7,26,58,.2));
}
.hero-quote{
  position:absolute;right:7%;bottom:8%;z-index:2;
  color:#fff;font-size:25px;font-weight:800;max-width:340px;
  text-shadow:0 3px 14px rgba(0,0,0,.5);
}

.section{padding:84px 0}
.section-soft{background:var(--soft)}
.section h2{font-size:clamp(36px,4vw,58px);line-height:1.05;margin:0 0 22px}
.lead{font-size:21px;color:var(--muted);max-width:800px}

.values{
  display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin-top:44px;
}
.value{
  padding:8px 0 24px;border-bottom:4px solid var(--accent);
}
.value-icon{
  width:58px;height:58px;border-radius:16px;
  display:grid;place-items:center;font-size:28px;
  background:color-mix(in srgb, var(--accent) 12%, white);
  color:var(--accent);margin-bottom:18px;
}
.value h3{font-size:23px;margin:0 0 10px}
.value p{color:var(--muted);margin:0}

.goals{
  display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:start;
}
.goal-text p{font-size:18px;color:#2f3440}
.goal-aside{
  background:linear-gradient(135deg,#fff,#f2eefb);
  border-radius:var(--radius);padding:34px;box-shadow:var(--shadow);
}
.goal-aside h3{font-size:30px;margin:0 0 12px}
.goal-aside .people{font-size:66px;letter-spacing:-10px;margin:8px 0 18px}

.cta{
  background:linear-gradient(90deg,#e50019,#ff7a00,#f4c000,#169b45,#0066cc,#6f2da8);
  color:white;border-radius:var(--radius);padding:44px;
  display:flex;align-items:center;justify-content:space-between;gap:30px;
}
.cta h2{margin:0 0 8px;font-size:42px}
.cta p{margin:0;max-width:700px;font-size:19px}
.cta .btn{background:white;color:var(--purple);border-color:white;white-space:nowrap}

.site-footer{background:var(--navy);color:#fff;padding:46px 0 24px}
.footer-grid{display:grid;grid-template-columns:1.3fr .7fr .7fr;gap:40px}
.footer-brand img{width:260px;filter:brightness(0) invert(1)}
.footer-links{display:grid;gap:10px}
.footer-bottom{
  margin-top:34px;padding-top:20px;border-top:1px solid rgba(255,255,255,.18);
  display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#cbd2df
}
.rainbow-line{height:6px;background:linear-gradient(90deg,#e50019,#ff7a00,#f4c000,#169b45,#0066cc,#6f2da8)}

@media (max-width: 980px){
  .main-nav{display:none;position:absolute;left:0;right:0;top:92px;background:white;padding:24px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}
  .main-nav.is-open{display:flex}
  .menu-toggle{display:block}
  .support-btn{display:none}
  .hero{grid-template-columns:1fr}
  .hero-copy{padding:54px 30px}
  .hero-media{min-height:440px}
  .values{grid-template-columns:repeat(2,1fr)}
  .goals{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}
@media (max-width: 640px){
  .brand img{width:210px}
  .header-inner{min-height:76px}
  .main-nav{top:76px}
  .hero h1{font-size:48px}
  .hero-copy p,.lead{font-size:18px}
  .values{grid-template-columns:1fr}
  .cta{flex-direction:column;align-items:flex-start;padding:30px}
  .section{padding:60px 0}
}
