/*
Theme Name: Frehne Dorfwebseite
Theme URI: https://example.com/frehne
Author: Christian
Description: Modernes, klares Dorf-Theme auf Basis des Wappens von Frehne.
Version: 1.0
Text Domain: frehne-theme
*/

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fa;
  color: #222;
}

a {
  color: #b0202a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #dde2ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 5vw;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-branding img {
  height: 56px;
  width: auto;
}

.site-title {
  font-size: 1.6rem;
  margin: 0;
  color: #123a6b;
}

.site-tagline {
  font-size: 0.9rem;
  color: #b0202a;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 500;
  color: #123a6b;
}

.main-nav a:hover {
  color: #b0202a;
}

.hero {
  position: relative;
  padding: 4rem 5vw;
  background: linear-gradient(135deg, #123a6b 0%, #1f6fb3 60%, #4fa3d1 100%);
  color: #fff;
  text-align: left;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 32rem;
}

.hero-badge {
  justify-self: end;
  text-align: center;
}

.hero-badge img {
  max-width: 160px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

.hero-badge span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.main-content {
  max-width: 1100px;
  margin: 2.5rem auto 3rem;
  padding: 0 5vw;
}

.columns-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  border: 1px solid #e1e6f0;
}

.card h2 {
  margin-top: 0;
  font-size: 1.2rem;
  color: #123a6b;
}

.card p {
  margin-bottom: 0.75rem;
}

.button {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.button-primary {
  background: #b0202a;
  color: #fff;
}

.button-primary:hover {
  background: #8e1821;
}

.button-secondary {
  background: #ffffff;
  color: #123a6b;
  border: 1px solid #c4ccdd;
}

.button-secondary:hover {
  background: #f1f4fa;
}

.site-footer {
  background: #123a6b;
  color: #e5edf7;
  padding: 1.5rem 5vw;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-footer a {
  color: #e5edf7;
}
