/* ============================================================
   Gumpert Webdesign – Design C "Warm & Persönlich"
   Farben: Navy #1a2b4a | Orange #e8631a | Warm-BG #fffdf9
   Fonts: Fraunces (Headlines) + Source Sans 3 (Body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,700;1,400;1,700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1a2b4a;
  --orange: #e8631a;
  --orange-light: #fff5ee;
  --bg:     #fffdf9;
  --bg-alt: #f4f1eb;
  --white:  #ffffff;
  --text:   #2d3748;
  --muted:  #6b7280;
  --border: #e5e0d8;
  --shadow: 0 2px 12px rgba(26,43,74,0.08);
  --shadow-md: 0 4px 24px rgba(26,43,74,0.12);
  --radius: 12px;
  --pill:   100px;
  --section: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.0625rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.175rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Section-Title mit oranger Linie ──────────────────────── */
.section-title {
  border-left: 4px solid var(--orange);
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--pill);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: #cf5515;
  border-color: #cf5515;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,99,26,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-alt); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }

/* ── Navigation ───────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,253,249,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 1.5rem;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  height: 64px;
}

.navbar-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.navbar-logo span { color: var(--orange); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-nav a {
  padding: 0.4rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.navbar-nav a:hover { color: var(--orange); background: var(--orange-light); }
.navbar-nav a.active { color: var(--orange); }

.navbar-cta {
  padding: 0.5rem 1.25rem;
  background: var(--orange);
  color: var(--white) !important;
  border-radius: var(--pill);
  font-weight: 600;
}
.navbar-cta:hover { background: #cf5515 !important; }

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy);
  padding: 80px 0 80px;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,99,26,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.35rem 1rem;
  border-radius: var(--pill);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: #ffb380;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Visitenkarte im Hero */
.hero-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  color: var(--text);
}

.hero-card-photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 3px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.3;
  overflow: hidden;
}

.hero-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.hero-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.hero-card-title {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-card-divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.hero-card-info {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.8;
}

.hero-card-info strong { color: var(--orange); }

/* ── Trust-Bar ────────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.trust-item-number {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  display: block;
  margin-bottom: 0.3rem;
}

.trust-item-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: 1rem;
  transition: gap 0.15s;
}
.card-link:hover { gap: 0.6rem; }

/* ── Grid utilities ───────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.9375rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #2a4070 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 32px;
}

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

.footer-brand h3 {
  font-family: 'Fraunces', serif;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.footer-brand h3 span { color: var(--orange); }

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-nav-title {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.footer-nav-list a {
  display: block;
  padding: 0.2rem 0;
  font-size: 0.9375rem;
  transition: color 0.15s;
}
.footer-nav-list a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.footer-bottom a:hover { color: var(--orange); }

/* ── Forms ────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

input, select, textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,99,26,0.12);
}

textarea { resize: vertical; min-height: 140px; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--orange);
}

.form-message {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  display: none;
  margin-top: 1rem;
}

.form-message.success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  display: block;
}

.form-message.error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  display: block;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,99,26,0.15) 0%, transparent 70%);
}

.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero .lead { color: rgba(255,255,255,0.8); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ── Preistabelle ─────────────────────────────────────────── */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--orange);
  transform: scale(1.03);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  padding: 0.2rem 1rem;
  border-radius: var(--pill);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-price {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin: 1rem 0 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--muted);
  font-family: 'Source Sans 3', sans-serif;
}

.pricing-features {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Portfolio Grid ───────────────────────────────────────── */
.portfolio-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.portfolio-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.portfolio-thumb {
  aspect-ratio: 16/10;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.875rem;
  flex-direction: column;
  gap: 0.5rem;
}

.portfolio-thumb-icon { font-size: 2.5rem; }

.portfolio-info { padding: 1.25rem 1.5rem; }

.portfolio-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 0.4rem;
}

/* ── Blog Cards ───────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.blog-card-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-alt), #e8e0d0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.blog-card-body { padding: 1.5rem; }

.blog-card-date {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* ── Feature list ─────────────────────────────────────────── */
.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list-icon {
  width: 32px;
  height: 32px;
  background: var(--orange-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--orange);
}

/* ── Animations ───────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 404 ──────────────────────────────────────────────────── */
.page-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section) 0;
}

.page-404 .big-number {
  font-family: 'Fraunces', serif;
  font-size: 8rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 1rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --section: 56px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .pricing-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .navbar-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: 0.25rem; }
  .navbar-nav.open { display: flex; }
  .navbar-toggle { display: flex; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}
