/* ============================
   Anglerfreunde Potsdam – CSS
   ============================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-dark:    #0d2d4a;
  --blue-mid:     #1a5276;
  --blue-light:   #2e86c1;
  --teal:         #148f77;
  --teal-light:   #1abc9c;
  --accent:       #e8a020;
  --accent-hover: #d4891a;
  --text-dark:    #1c2833;
  --text-mid:     #4a5568;
  --text-light:   #718096;
  --bg-light:     #f4f7fa;
  --bg-white:     #ffffff;
  --border:       #dde3ea;
  --shadow-sm:    0 2px 8px rgba(13,45,74,0.10);
  --shadow-md:    0 6px 24px rgba(13,45,74,0.14);
  --shadow-lg:    0 16px 48px rgba(13,45,74,0.18);
  --radius:       10px;
  --radius-lg:    18px;
  --transition:   0.25s ease;
  --font:         'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

/* ── HEADER ────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--blue-dark);
  box-shadow: var(--shadow-md);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.logo-text h1 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

nav a:hover,
nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

nav a.active {
  background: var(--blue-light);
  color: #fff;
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--blue-dark) !important;
  font-weight: 700 !important;
  margin-left: 8px;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(13,45,74,0.92) 0%, rgba(20,143,119,0.70) 100%),
    url("Fotos/james-wheeler-HJhGcU_IbsQ-unsplash.jpg") center/cover no-repeat;
}

/* Wave overlay */
.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--bg-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-content {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px 120px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}

.hero-content h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 680px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-content h2 em {
  font-style: normal;
  color: var(--accent);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--accent);
  color: var(--blue-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-blue {
  background: var(--blue-light);
  color: #fff;
  border-color: var(--blue-light);
}

.btn-blue:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,82,118,0.35);
}

/* ── SECTIONS ──────────────────────────────── */
.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 50px;
}

.section-header { margin-bottom: 50px; }

/* ── STATS BAR ─────────────────────────────── */
.stats-bar {
  background: var(--blue-mid);
  color: #fff;
  padding: 32px 24px;
}

.stats-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── CARDS ─────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon-header {
  padding: 32px 28px 0;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.icon-blue  { background: rgba(46,134,193,0.12); }
.icon-teal  { background: rgba(20,143,119,0.12); }
.icon-amber { background: rgba(232,160,32,0.12); }
.icon-green { background: rgba(39,174,96,0.12); }

.card-body {
  padding: 0 28px 28px;
}

.card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.94rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── EVENTS (TERMINE) ──────────────────────── */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.event-card {
  display: flex;
  align-items: stretch;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.event-card:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.event-date {
  width: 90px;
  flex-shrink: 0;
  background: var(--blue-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  text-align: center;
}

.event-date .day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.event-date .month {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

.event-info {
  flex: 1;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-info h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.event-info p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.event-meta {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(46,134,193,0.1);
  color: var(--blue-light);
}

.event-tag.green { background: rgba(20,143,119,0.1); color: var(--teal); }
.event-tag.amber { background: rgba(232,160,32,0.12); color: #b7790a; }

/* ── BG VARIANTS ───────────────────────────── */
.bg-light { background: var(--bg-light); }

.bg-dark {
  background: var(--blue-dark);
  color: #fff;
}

.bg-dark .section-title { color: #fff; }
.bg-dark .section-subtitle { color: rgba(255,255,255,0.75); }
.bg-dark .section-label { color: var(--teal-light); }

/* ── FEATURE ROW ───────────────────────────── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-text .section-subtitle { margin-bottom: 28px; }

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  position: relative;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── GALLERY ───────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 12px;
}

.gallery-grid .gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-grid .gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

.gallery-grid .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-grid .gallery-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid .gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
}

/* ── CONTACT ───────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  background: rgba(46,134,193,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.contact-detail-text span {
  font-size: 0.97rem;
  color: var(--text-dark);
  line-height: 1.5;
}

/* ── FORM ──────────────────────────────────── */
.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.contact-form-card .form-subtitle {
  font-size: 0.93rem;
  color: var(--text-mid);
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 7px;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.96rem;
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(46,134,193,0.15);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-submit { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 14px;
  text-align: center;
}

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success .success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-mid);
  font-size: 0.97rem;
}

/* ── MAP PLACEHOLDER ───────────────────────── */
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #c8d8e4, #b8ccd8);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  border: 1px solid var(--border);
  position: relative;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  position: absolute;
  inset: 0;
}

/* ── PAGE HERO (inner pages) ───────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 60px 24px 70px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(46,134,193,0.25), transparent 70%);
  border-radius: 50%;
}

.page-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  color: #fff;
}

.page-hero-inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin-top: 10px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── FOOTER ────────────────────────────────── */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 24px 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-bottom a:hover { color: #fff; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .header-inner { height: 60px; }
  .logo-text span { display: none; }

  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  nav.open { display: flex; }
  nav a { padding: 12px 16px; }

  .nav-toggle { display: flex; }
  .nav-cta { margin-left: 0; }

  .hero { min-height: 460px; }
  .hero-content { padding: 60px 20px 100px; }

  .stats-inner { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form-card { padding: 28px 20px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ── UTILITIES ─────────────────────────────── */
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.divider {
  height: 4px;
  width: 48px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 24px;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-blue  { background: rgba(46,134,193,0.12); color: var(--blue-light); }
.tag-teal  { background: rgba(20,143,119,0.12); color: var(--teal); }
.tag-amber { background: rgba(232,160,32,0.14); color: #9a6500; }
