
/*
Theme Name: Funkamateure Petersberg
Theme URI: https://www.funkamateure-petersberg.de/
Author: Funkamateure am Petersberg e.V.
Description: Individuelles responsives WordPress-Theme für DL0PET.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: funkamateure-petersberg
*/

:root {
  --navy: #10283e;
  --navy-dark: #091a2a;
  --blue: #24577d;
  --red: #bd3939;
  --gold: #d7ad68;
  --paper: #f5f4f0;
  --white: #fff;
  --text: #263746;
  --muted: #71808c;
  --border: #e0e3e5;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }

img { max-width: 100%; height: auto; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  background: var(--navy-dark);
  color: white;
  border-bottom: 3px solid var(--gold);
}

.topline {
  padding: 8px 0;
  background: #061421;
  color: #b8c7d2;
  font-size: 12px;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
}

.brand:hover { color: white; }

.brand-symbol {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 27px;
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.3;
}

.brand-subtitle {
  display: block;
  margin-top: 4px;
  color: #b8c7d2;
  font-size: 11px;
  letter-spacing: 2px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: #e5edf3;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a:hover { color: var(--gold); }

.menu-toggle {
  display: none;
  border: 1px solid #65798b;
  background: transparent;
  color: white;
  border-radius: 5px;
  padding: 10px 13px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 510px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(5,19,32,.94), rgba(5,19,32,.55)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1800") center/cover;
}

.hero-content {
  max-width: 700px;
  padding: 90px 0;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 15px 0;
  font-family: Georgia, serif;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.12;
}

.hero p {
  max-width: 620px;
  color: #dce5ec;
  font-size: 18px;
}

.button {
  display: inline-block;
  margin: 12px 8px 0 0;
  padding: 13px 23px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
}

.button:hover {
  background: transparent;
  color: white;
}

.button-outline {
  background: transparent;
  color: white;
}

.section { padding: 75px 0; }

.section-white { background: white; }

.section-heading {
  max-width: 720px;
  margin-bottom: 35px;
}

.section-heading h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: clamp(29px, 4vw, 42px);
}

.section-heading p { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: white;
}

.card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body { padding: 23px; }

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: Georgia, serif;
  font-size: 23px;
}

.card p { color: var(--muted); }

.card-link {
  font-size: 13px;
  font-weight: 800;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 0;
  background: var(--navy);
  color: white;
}

.stat { text-align: center; }
.stat strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 30px;
}

.stat span { font-size: 13px; }

.content-area {
  min-height: 450px;
  padding: 65px 0;
}

.content-area h1,
.content-area h2,
.content-area h3 { color: var(--navy); }

.entry-card {
  padding: 28px;
  border: 1px solid var(--border);
  background: white;
}

.entry-meta {
  color: var(--muted);
  font-size: 13px;
}

.cta {
  padding: 60px 20px;
  background: var(--navy);
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  font-family: Georgia, serif;
  font-size: 36px;
}

.cta p { color: #cbd8e1; }

.site-footer {
  padding: 50px 0 20px;
  background: #061421;
  color: #bdcbd5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.site-footer h3 { color: white; }
.site-footer a { color: #d6ad6b; }
.footer-bottom {
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid #304353;
  font-size: 12px;
}

.notice {
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
  background: #fff;
}

.wp-block-image img { border-radius: 4px; }

@media (max-width: 900px) {
  .header-main { flex-wrap: wrap; }
  .menu-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.is-open { display: block; }
  .main-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }
  .main-nav li { border-top: 1px solid #304353; padding: 12px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero { min-height: 480px; }
  .hero-content { padding: 65px 0; }
  .hero p { font-size: 16px; }
  .section { padding: 50px 0; }
  .grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .brand-title { font-size: 15px; }
}
