/*
Theme Name: Kleintierärzte Waldbrunn
Theme URI: https://kleintieraerzte-waldbrunn.de
Author: Kleintierärzte Waldbrunn
Author URI: https://kleintieraerzte-waldbrunn.de
Description: Modernes, mobil-optimiertes Theme für Kleintierärzte Waldbrunn
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kleintierärzte-waldbrunn
Tags: one-page, veterinary, responsive, modern
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --primary:        rgb(23, 58, 40);
  --primary-dark:   rgb(14, 38, 26);
  --primary-light:  rgb(35, 80, 56);
  --primary-faint:  rgba(23, 58, 40, 0.06);
  --secondary:      #f5efe6;
  --secondary-warm: #ede3d3;
  --secondary-deep: #d9c9b0;
  --accent:         #c8a96e;
  --text-dark:      #1a1a1a;
  --text-mid:       #4a4a4a;
  --text-light:     #7a7a7a;
  --white:          #ffffff;
  --radius-sm:      6px;
  --radius-md:      14px;
  --radius-lg:      28px;
  --radius-xl:      60px;
  --shadow-sm:      0 2px 12px rgba(23,58,40,0.08);
  --shadow-md:      0 8px 40px rgba(23,58,40,0.12);
  --shadow-lg:      0 20px 80px rgba(23,58,40,0.16);
  --transition:     0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display:   Georgia, 'Times New Roman', serif;
  --font-body:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--secondary);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--primary);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100svh;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(23,58,40,0.18) 0%, transparent 70%),
    linear-gradient(160deg, var(--secondary) 0%, var(--secondary-warm) 55%, var(--secondary-deep) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Decorative organic shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(23,58,40,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,169,110,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Paw print decorations */
.hero-decoration {
  position: absolute;
  opacity: 0.045;
  pointer-events: none;
}
.hero-decoration.top-right {
  top: 60px;
  right: 60px;
  font-size: 120px;
  transform: rotate(20deg);
}
.hero-decoration.bottom-left {
  bottom: 100px;
  left: 40px;
  font-size: 80px;
  transform: rotate(-15deg);
}

/* Logo */
.hero-logo-wrap {
  margin-bottom: 40px;
  animation: fadeUp 0.9s both 0.1s;
}

.hero-logo-wrap img {
  width: min(320px, 65vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 32px rgba(23,58,40,0.18));
}

/* Divider line */
.hero-divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto 36px;
  animation: fadeUp 0.9s both 0.3s;
}

/* Headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  max-width: 700px;
  margin: 0 auto 28px;
  line-height: 1.25;
  animation: fadeUp 0.9s both 0.4s;
  letter-spacing: -0.01em;
}

/* Body text */
.hero-text {
  font-size: clamp(1rem, 2.2vw, 1.175rem);
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto 44px;
  line-height: 1.75;
  animation: fadeUp 0.9s both 0.55s;
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 18px 48px;
  border-radius: var(--radius-xl);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 32px rgba(23,58,40,0.22);
  animation: fadeUp 0.9s both 0.7s;
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.btn-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 48px rgba(23,58,40,0.32);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}



/* ============================================================
   FEATURES STRIP
   ============================================================ */
.features-strip {
  background: var(--primary);
  padding: 48px 24px;
}

.features-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.feature-item {
  color: rgba(255,255,255,0.9);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}

.feature-label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary-warm);
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

/* ============================================================
   IMPRESSUM SECTION
   ============================================================ */
.impressum-section {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 24px;
  text-align: center;
}

.impressum-inner {
  max-width: 540px;
  margin: 0 auto;
}

.impressum-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.impressum-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 18px;
  font-weight: 600;
}

.impressum-details {
  font-size: 0.92rem;
  line-height: 2;
  color: rgba(255,255,255,0.65);
}

.impressum-details a {
  color: var(--accent);
  transition: var(--transition);
}

.impressum-details a:hover {
  color: var(--white);
}

.impressum-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 28px auto;
}

.copyright {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 0.4; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .hero {
    padding: 48px 20px 72px;
  }
  .hero-logo-wrap img {
    width: min(240px, 70vw);
  }
  .hero-decoration {
    display: none;
  }
  .btn-cta {
    padding: 16px 36px;
    font-size: 0.95rem;
  }
  .features-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .impressum-section {
    padding: 44px 20px;
  }
}

@media (max-width: 380px) {
  .features-inner {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   WORDPRESS ADMIN BAR OFFSET
   ============================================================ */
.admin-bar .hero {
  padding-top: 92px;
}
