/*
Theme Name: ankermann.tv
Theme URI:  https://ankermann.tv
Author:     Dein Name oder Firma
Author URI: https://ankermann.tv
Description: Minimal-Theme für ankermann.tv
Version:    1.5
Text Domain: ankermann-tv
*/

/* --------------------------------------------------
   FARBSCHEMA
-------------------------------------------------- */
:root {
  --color-primary: #00375D;      /* Dunkles Blau */
  --color-highlight: #A66F23;    /* Highlight-Farbe */
  --color-grey-light: #999999;
  --color-grey-dark: #212121;
  --color-white: #FFFFFF;
  --color-black: #000000;
}

/* --------------------------------------------------
   RESET & BASE
-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;  /* Oder Open Sans, etc. */
  color: var(--color-grey-dark);
  background-color: #f5f5f5;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  color: var(--color-highlight);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 0.6em;
}

p {
  margin-bottom: 1em;
}

/* --------------------------------------------------
   SECTIONS & CONTAINER
-------------------------------------------------- */
/* Sections nehmen immer 100% der Breite ein */
section {
  width: 100%;
  display: block;
}

/* Zentraler Container, 90% Breite, max. 1200px */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --------------------------------------------------
   HEADER & NAVIGATION
-------------------------------------------------- */
.site-header {
  background-color: var(--color-primary);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Abstandshalter für fixierten Header */
.header-space {
  height: 60px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

/* Logo / Branding */
.site-branding a {
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.site-branding a:hover {
  color: var(--color-highlight);
}

/* Desktop-Navigation Container */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Sicherstellen, dass das Menü als UL horizontal dargestellt wird.
   Falls wp_nav_menu() in einem zusätzlichen Wrapper (.menu) eingehüllt wird: */
.desktop-nav .menu ul,
.desktop-nav ul.site-nav {
  display: flex !important;
  flex-direction: row !important;
  gap: 1.5rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.desktop-nav .menu li,
.desktop-nav ul.site-nav li {
  list-style: none !important;
}

/* Falls das Menü direkt über wp_nav_menu() ohne Wrapper ausgegeben wird */
.site-nav {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* DESKTOP-MENÜ LINKS: Modern, elegant, weiß, komplett uppercase */
.desktop-nav .site-nav li a,
.site-nav li a {
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 1.1rem;
  padding: 0.6em 0.8em;
  transition: color 0.3s ease;
}
.desktop-nav .site-nav li a:hover,
.site-nav li a:hover {
  color: var(--color-highlight);
}

/* Kontakt-Button (Desktop) */
.desktop-contact-btn {
  margin-left: 1rem;
}

/* Allgemeiner Button-Stil, z. B. für den Kontakt-Button */
.btn-header {
  background-color: var(--color-highlight);
  color: var(--color-white);
  padding: 0.5em 1em;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
}
.btn-header i {
  margin-right: 0.4em;
}
.btn-header:hover {
  background-color: #864f1a;
}

/* Burger-Button (Mobile) – moderner, rund und stilvoll */
.burger-btn {
  display: none;
  background-color: transparent;
  border: none;
  color: var(--color-white); /* Geschlossen: Weiß */
  font-size: 1.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.4em;
  border-radius: 50%;
}
.burger-btn:hover {
  background-color: rgba(166, 111, 35, 0.2);
  color: var(--color-highlight);
}
/* Falls benötigt, Zustand "closed" explizit festlegen */
.burger-btn.closed {
  background-color: transparent;
  color: var(--color-white);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 60px;  /* entspricht der Header-Höhe */
  right: 0;
  background-color: var(--color-primary);
  flex-direction: column;
  width: 200px;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  list-style: none;
  margin: 0;
}
.mobile-nav li {
  margin-bottom: 1rem;
}
.mobile-nav li a {
  color: var(--color-white);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}
.mobile-nav li a:hover {
  color: var(--color-highlight);
}

/* Kontakt-Button (Mobile) */
.mobile-contact-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 0.5rem;
  text-align: center;
}

.mobile-nav.show {
  display: flex;
}

/* --------------------------------------------------
   HERO SECTION
-------------------------------------------------- */
.hero {
  position: relative;
  background: url("https://via.placeholder.com/1920x1080") center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}
.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}
.btn-cta {
  background-color: var(--color-highlight);
  color: var(--color-white);
  padding: 0.75em 1.5em;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.btn-cta:hover {
  background-color: #864f1a;
}

/* --------------------------------------------------
   SERVICES
-------------------------------------------------- */
.services {
  background-color: var(--color-white);
  padding: 3rem 0;
  text-align: center;
}
.services h2 {
  color: var(--color-primary);
  margin-bottom: 2rem;
}
.service-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.service-item {
  background-color: #f9f9f9;
  padding: 2rem 1rem;
  border-radius: 6px;
  transition: box-shadow 0.3s;
}
.service-item:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.service-item i {
  font-size: 2rem;
  color: var(--color-highlight);
  margin-bottom: 1rem;
}

/* --------------------------------------------------
   REFERENZEN
-------------------------------------------------- */
.references {
  background-color: #eeeeee;
  padding: 3rem 0;
}
.references h2 {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 2rem;
}
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.ref-item {
  background-color: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
}
.ref-item:hover {
  transform: scale(1.02);
}
.ref-item img {
  width: 100%;
  height: auto;
  display: block;
}
.ref-desc {
  padding: 1rem;
}

/* --------------------------------------------------
   ÜBER UNS
-------------------------------------------------- */
.about {
  background-color: var(--color-white);
  padding: 3rem 0;
}
.about h2 {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 2rem;
}
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.team {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}
.team-member {
  flex: 0 0 150px;
  text-align: center;
}
.team-member img {
  width: 100%;
  border-radius: 50%;
}

/* --------------------------------------------------
   KONTAKT
-------------------------------------------------- */
.contact {
  background-color: var(--color-primary);
  padding: 3rem 0;
  color: var(--color-white);
  text-align: center;
}
.contact h2 {
  margin-bottom: 2rem;
}
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label {
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  padding: 0.7rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}
.contact-form textarea {
  resize: vertical;
  height: 100px;
}
.contact-form button {
  background-color: var(--color-highlight);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}
.contact-form button:hover {
  background-color: #864f1a;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
.site-footer {
  background-color: var(--color-grey-dark);
  color: var(--color-white);
  padding: 2rem 0;
  text-align: center;
}
.footer-links {
  margin-bottom: 1rem;
}
.footer-links a {
  color: var(--color-white);
  margin: 0 0.5rem;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--color-highlight);
}
.social-icons a {
  color: var(--color-white);
  margin: 0 0.5rem;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: var(--color-highlight);
}

/* --------------------------------------------------
   RESPONSIVE (max-width: 768px)
-------------------------------------------------- */
@media (max-width: 768px) {
  /* Desktop-Navigation ausblenden */
  .desktop-nav {
    display: none;
  }
  /* Burger-Button anzeigen */
  .burger-btn {
    display: block;
    margin-right: 0.5rem;
  }
  /* Kleinere Bildschirme: Anpassung der Hero-Headline */
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .header-space {
    height: 60px;
  }
}
