/* ==========================================================================
   1. GRUNDKONFIGURATION & LAYOUT
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #111; background-color: #ffffff; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-bg { background-color: #f7f9fa; }
.text-center { text-align: center; }

h2 { text-align: center; font-size: 32px; color: #111; margin-bottom: 40px; }
h3 { color: #111; }

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */

.main-header { background: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 15px 0; position: sticky; top: 0; z-index: 100; }
.header-flex { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.main-nav { width: 100%; display: flex; justify-content: flex-end; }

.logo a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-text { color: #44A7D0; font-size: 42px; font-weight: bold; line-height: 1; white-space: nowrap; }

.main-nav ul { list-style: none; display: flex; gap: 20px; }
.main-nav a { text-decoration: none; color: #444; font-weight: 600; transition: color 0.3s; font-size: 15px; white-space: nowrap; }
.main-nav a:hover { color: #44A7D0; }

/* ==========================================================================
   3. HERO-BEREICHE FÜR UNTERSEITEN (Überschriften-Boxen)
   ========================================================================== */

.hero-small { padding: 50px 0; background-color: #44A7D0; color: #ffffff; text-align: center; }
.hero-small h1 { font-size: 34px; margin-bottom: 10px; font-weight: 700; color: #ffffff; }
.hero-small p { font-size: 17px; opacity: 0.95; max-width: 800px; margin: 0 auto; color: #ffffff; }

/* ==========================================================================
   4. RASTER-SYSTEME & KARTEN (Vorteile Grid)
   ========================================================================== */

.grid-4, .grid-2 { display: grid; gap: 30px; margin-top: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card { background: #ffffff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); text-align: center; border-top: 4px solid #44A7D0; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn { display: inline-block; background: #44A7D0; color: #ffffff; padding: 12px 28px; text-decoration: none; border-radius: 5px; font-weight: bold; border: none; cursor: pointer; font-size: 16px; transition: background 0.3s, transform 0.2s; width: auto; }
.btn:hover { background: #338eb3; }
.btn:active { transform: scale(0.98); }

/* ==========================================================================
   6. NEWS / AKTUELLES SEKTION
   ========================================================================== */

.news-card { background: #ffffff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.06); margin-bottom: 40px; border-left: 4px solid #44A7D0; }
.news-date { font-size: 14px; color: #666; font-weight: 600; }
.news-media { background: #f0f2f3; border-radius: 6px; overflow: hidden; margin-top: 20px; max-height: 450px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px; color: #ffffff; background-color: #757575; }

.review-avatar[style*="--char: 'A'"], .review-avatar[style*="--char: 'E'"], 
.review-avatar[style*="--char: 'I'"], .review-avatar[style*="--char: 'M'"], 
.review-avatar[style*="--char: 'Q'"], .review-avatar[style*="--char: 'U'"], 
.review-avatar[style*="--char: 'Y'"] { background-color: #4285F4; }

.review-avatar[style*="--char: 'B'"], .review-avatar[style*="--char: 'F'"], 
.review-avatar[style*="--char: 'J'"], .review-avatar[style*="--char: 'N'"], 
.review-avatar[style*="--char: 'R'"], .review-avatar[style*="--char: 'V'"], 
.review-avatar[style*="--char: 'Z'"] { background-color: #EA4335; }

.review-avatar[style*="--char: 'C'"], .review-avatar[style*="--char: 'G'"], 
.review-avatar[style*="--char: 'K'"], .review-avatar[style*="--char: 'O'"], 
.review-avatar[style*="--char: 'S'"], .review-avatar[style*="--char: 'W'"]
{ background-color: #FBBC05; }

.review-avatar[style*="--char: 'D'"], .review-avatar[style*="--char: 'H'"], 
.review-avatar[style*="--char: 'L'"], .review-avatar[style*="--char: 'P'"], 
.review-avatar[style*="--char: 'T'"], .review-avatar[style*="--char: 'X'"]
{ background-color: #34A853; }

/* ==========================================================================
   7. KONTAKTFORMULAR & STATUSMELDUNGEN
   ========================================================================== */

.contact-form { background: #ffffff; padding: 35px; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid #eee; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #111; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; font-family: inherit; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { border-color: #44A7D0; outline: none; }

.alert { padding: 15px; margin-bottom: 20px; border-radius: 4px; text-align: center; font-weight: bold; }
.alert-success { background-color: #e6f6ec; color: #1e7e34; border: 1px solid #d4edda; }
.alert-error { background-color: #fdf2f2; color: #dc3545; border: 1px solid #f8d7da; }

.hidden-field { display: none !important; visibility: hidden !important; }

/* ==========================================================================
   8. PREISE (Ablauf & PDF Box)
   ========================================================================== */

.price-flow { display: flex; gap: 20px; justify-content: space-between; margin-bottom: 40px; margin-top: 20px; }
.flow-step { flex: 1; background: #ffffff; padding: 25px; border-radius: 6px; box-shadow: 0 3px 10px rgba(0,0,0,0.04); text-align: center; border: 1px solid #eee; }
.step-num { display: inline-block; width: 36px; height: 36px; background: #44A7D0; color: #ffffff; font-weight: bold; border-radius: 50%; line-height: 36px; margin-bottom: 12px; font-size: 18px; }
.flow-step h4 { color: #111; margin-bottom: 8px; font-size: 16px; }
.flow-step p { font-size: 14px; color: #555; }

.pdf-download-box { background: #ffffff; border: 2px dashed #44A7D0; padding: 35px; border-radius: 8px; text-align: center; margin-top: 30px; }
.pdf-download-box h3 { color: #111; margin-bottom: 10px; }
.pdf-download-box p { color: #555; margin-bottom: 22px; }
.btn-pdf { background: #dc3545; }
.btn-pdf:hover { background: #bd2130; }

/* ==========================================================================
   9. ÜBER UNS SEKTION (Profile & Laura-Box)
   ========================================================================== */

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-bottom: 60px; }
.team-card { background: #ffffff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); text-align: center; border: 1px solid #eee; }
.team-card h3 { color: #111; margin: 20px 0 12px; font-size: 22px; }
.team-card p { font-size: 15px; color: #444; text-align: left; line-height: 1.7; }

.team-img-placeholder { width: 200px; height: 200px; background: #eef2f3; margin: 0 auto; border-radius: 50%; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 3px solid #44A7D0; position: relative; }
.team-img-placeholder img { position: absolute;top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block;z-index: 2; }
.team-img-placeholder span { position: absolute; z-index: 1; font-size: 12px; color: #777; }

.inspiration-box { background: #f4fafd; border-left: 6px solid #44A7D0; padding: 40px; border-radius: 4px; display: flex; gap: 40px; align-items: center; margin-top: 50px; }
.inspiration-content { flex: 2; }
.inspiration-content p { font-size: 15px; line-height: 1.7; color: #444; }

.inspiration-img-placeholder { flex: 0 0 427px; height: 320px; background: #eef2f3; border-radius: 6px; overflow: hidden; border: 1px solid #ddd; position: relative; display: flex; align-items: center; justify-content: center; }
.inspiration-img-placeholder img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 2; }
.inspiration-img-placeholder span { position: absolute; z-index: 1; font-size: 12px; color: #777; }

/* ==========================================================================
   10. FOOTER & COPYRIGHT
   ========================================================================== */

.main-footer { background: #1a1a1a; color: #eeeeee; padding: 50px 0; font-size: 15px; }
.main-footer a { color: #44A7D0; text-decoration: none; transition: color 0.3s; }
.main-footer a:hover { color: #ffffff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));gap: 40px;}
.main-footer h3 {margin-bottom: 15px;color: #ffffff;font-size: 18px;}
.copyright {text-align: center;margin-top: 40px;padding-top: 20px;border-top: 1px solid #333333;opacity: 0.8;}

/* ==========================================================================
11. MOBILOPTIMIERUNGEN
   ========================================================================== */

@media (max-width: 768px) {
  .logo-text {font-size: 28px; }
  .header-flex {align-items: center;text-align: center;}
  .main-nav {justify-content: center;}
  .main-nav ul {flex-wrap: wrap;justify-content: center;gap: 15px;}
  .price-flow {flex-direction: column;gap: 15px;}
  .inspiration-box {flex-direction: column-reverse;padding: 25px;gap: 25px;}
  .inspiration-img-placeholder {flex: 1 1 auto;width: 100%;max-width: 100%;height: 250px;}
}