@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Open+Sans:wght@300;400;500;600;700&family=Roboto+Condensed:wght@400;700&display=swap');

/* --- Design System (Original Style) --- */
:root {
  --primary-blue: #0376bb;
  --secondary-purple: #8f11a8;
  --bg-light-blue: #e9f7fe;
  --bg-white: #ffffff;
  
  --text-dark: #0d141a;
  --text-grey: #56585e;
  --text-white: #ffffff;
  
  --font-heading: 'Roboto Condensed', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-handwritten: 'Architects Daughter', cursive;
  
  --container-max: 1240px;
  --header-height: 100px;
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--text-grey);
  background-color: var(--bg-white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
}

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

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

/* --- Layout --- */
.container {
  width: 95%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 80px 0;
}

/* --- Header / Nav --- */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
}

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

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.logo img.footer-logo {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-blue);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  background-image: url('assets/background_2-mePgQPDPrqS9kOJV.png');
  background-size: cover;
  background-position: center bottom;
  padding: 50px 0;
  overflow: hidden;
}

/* Original blue gradient overlay (transparent, matches primary blue font color) */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #024b78 100%);
  opacity: 0.75;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
  color: var(--text-white);
  text-align: center;
}

.hero-tag {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-handwritten);
  font-size: 4rem;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-subtitle {
  font-family: var(--font-handwritten);
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Primary Button Style matching zK6xzG */
.btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-blue);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  padding: 14px 40px;
  border-radius: 28px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.btn-phone:hover {
  background-color: var(--bg-light-blue);
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* --- Welcome Block --- */
.welcome {
  background-color: var(--bg-white);
  padding: 50px 0;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.welcome-text h3 {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.welcome-text h2 {
  font-size: 3.5rem;
  color: var(--primary-blue);
  margin-bottom: 25px;
  line-height: 1.1;
}

.welcome-desc {
  font-size: 1.1rem;
  color: var(--text-grey);
  margin-bottom: 30px;
}

.welcome-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-num {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  color: var(--primary-blue);
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-grey);
}

.welcome-img img {
  border-radius: 20px;
  width: 100%;
  max-width: 550px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

/* --- Services Block 1 (Light Blue) --- */
.services-section {
  background-color: var(--bg-light-blue);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-grey);
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* --- Full Width Linux Promo Card --- */
.services-full-wrapper {
  margin-top: 40px;
  width: 100%;
}

.service-card-full {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background-color: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card-full:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.service-card-full .service-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-full .service-info h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.service-card-full .service-info p {
  font-size: 1rem;
  color: var(--text-grey);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-card-full .service-img-wrapper {
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

.service-card-full .service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .service-card-full {
    grid-template-columns: 1fr;
  }
  
  .service-card-full .service-img-wrapper {
    height: 250px;
    min-height: auto;
  }
}

.service-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-info {
  padding: 30px 25px;
}

.service-info h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.service-info p {
  font-size: 0.95rem;
  color: var(--text-grey);
  line-height: 1.6;
}

.service-link {
  display: inline-block;
  margin-top: 15px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}

.service-link:hover {
  color: var(--secondary-purple);
}

/* --- Contact Block --- */
.contact {
  position: relative;
  background-image: url('assets/kontakt_background-YKb88jXwE4U03Xr5.png');
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  color: var(--text-white);
  overflow: hidden;
}

/* Original contact overlay (blue gradient) */
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #024b78 100%);
  opacity: 0.75;
  z-index: 1;
}

.contact .container {
  position: relative;
  z-index: 3;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-left h2 {
  font-size: 3rem;
  color: var(--text-white);
  margin-bottom: 20px;
}

.contact-left-desc {
  font-size: 1.15rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.detail-item h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  opacity: 0.7;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.detail-item p,
.detail-item a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Messaging logos */
.messaging-row {
  display: flex;
  gap: 25px;
  align-items: center;
}

.messaging-btn {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 25px 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 170px;
  transition: var(--transition);
}

.messaging-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.messaging-btn img {
  height: 100px;
  width: 100px;
  border-radius: 12px;
}

.messaging-btn span {
  font-size: 0.95rem;
  font-weight: 600;
}

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

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Contact Form container matching original */
.form-card {
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-card h3 {
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 25px;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  background-color: var(--bg-white);
  border: 1px solid #b8c0cc;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #000000;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(3, 118, 187, 0.2);
}

.form-checkbox {
  display: flex;
  gap: 10px;
  align-items: start;
  margin-bottom: 25px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.form-checkbox input {
  margin-top: 4px;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--text-white);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  background-color: var(--primary-blue);
  color: var(--text-white);
  border: none;
  border-radius: 50px;
  padding: 15px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background-color: #025d94;
  transform: translateY(-1px);
}

/* Toast Success */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ffffff;
  border-left: 5px solid #10b981;
  color: #1f2937;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(150px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Legal Styling --- */
.legal-main {
  padding: 60px 0 100px 0;
  max-width: 900px;
  margin: 0 auto;
}

.legal-main h3 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 15px;
}

.legal-main h4,
.legal-main h5 {
  font-size: 1.15rem;
  margin-top: 25px;
  margin-bottom: 10px;
}

.legal-main p {
  margin-bottom: 15px;
  color: var(--text-grey);
}

.legal-main ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.legal-main li {
  margin-bottom: 8px;
}

.legal-main a {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* --- Footer --- */
footer {
  background-color: var(--primary-blue);
  color: var(--text-white);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 15px;
  opacity: 0.85;
  max-width: 320px;
}

.footer-brand .logo img {
  height: 60px;
  width: auto;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.25rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

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

.footer-col a:hover {
  opacity: 0.8;
  padding-left: 3px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-legal {
  display: flex;
  gap: 30px;
  list-style: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
  .welcome-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .welcome-stats {
    justify-content: center;
  }
  
  .welcome-img img {
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }
  
  header {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
  }
  
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 40px 0;
    gap: 25px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
    border-top: 1px solid #f2f3f6;
  }
  
  .nav-links.open {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
}

/* --- Hero Background Floating Symbols --- */
.hero-floating-symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.floating-symbol {
  position: absolute;
  color: rgba(255, 255, 255, 0.12); /* subtle semi-transparent white */
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.float-1 { animation: float-drift-1 28s infinite ease-in-out; }
.float-2 { animation: float-drift-2 32s infinite ease-in-out; }
.float-3 { animation: float-drift-3 24s infinite ease-in-out; }
.float-4 { animation: float-drift-4 30s infinite ease-in-out; }

@keyframes float-drift-1 {
  0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  50% { transform: translateY(-30px) translateX(20px) rotate(180deg) scale(1.05); }
  100% { transform: translateY(0px) translateX(0px) rotate(360deg); }
}

@keyframes float-drift-2 {
  0% { transform: translateY(0px) translateX(0px) rotate(360deg); }
  50% { transform: translateY(40px) translateX(-25px) rotate(180deg) scale(0.95); }
  100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

@keyframes float-drift-3 {
  0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  50% { transform: translateY(-25px) translateX(-20px) rotate(-90deg) scale(1.1); }
  100% { transform: translateY(0px) translateX(0px) rotate(-360deg); }
}

@keyframes float-drift-4 {
  0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
  50% { transform: translateY(35px) translateX(30px) rotate(-180deg) scale(0.9); }
  100% { transform: translateY(0px) translateX(0px) rotate(-360deg); }
}

/* --- Near Me Section --- */
.near-me {
  background-color: var(--bg-white);
  padding: 50px 0;
  border-top: 1px solid #dadce0;
}

.near-me-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.near-me-info h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: var(--text-dark);
  text-transform: uppercase;
}

.near-me-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.near-me-details h4 {
  font-size: 1.15rem;
  color: var(--primary-blue);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.near-me-details p {
  font-size: 1.05rem;
  color: var(--text-grey);
}

.near-me-map iframe, .map-placeholder {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.map-placeholder {
  background-color: var(--bg-light-blue);
  border: 1px dashed rgba(3, 118, 187, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.map-placeholder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 992px) {
  .near-me-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- Subpage Styling --- */
.subpage-hero {
  min-height: 320px !important;
  padding: 60px 0 !important;
}

.subpage-hero h1 {
  font-size: 3.2rem !important;
  margin-bottom: 15px !important;
}

.subpage-main {
  background-color: var(--bg-white);
}

.subpage-main-container {
  padding-top: 10px; /* even closer to the blue banner */
  padding-bottom: 40px;
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  padding: 0; /* starts immediately under the back button */
}

.subpage-content h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  margin-bottom: 25px;
}

.subpage-content h3 {
  font-size: 1.4rem;
  color: var(--primary-blue);
  margin-top: 35px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.subpage-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.subpage-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-grey);
  line-height: 1.6;
}

.subpage-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

.subpage-problems {
  margin-bottom: 30px;
  padding-left: 20px;
}

.subpage-problems li {
  margin-bottom: 8px;
  color: var(--text-grey);
  list-style-type: disc;
}

.subpage-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.subpage-sidebar img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.cta-card {
  background-color: var(--bg-light-blue);
  border: 1px solid rgba(3, 118, 187, 0.15);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
}

.cta-card h3 {
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.cta-card p {
  font-size: 0.95rem;
  color: var(--text-grey);
  margin-bottom: 25px;
  line-height: 1.6;
}

.cta-card .btn-phone {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  text-align: center;
}

.cta-card .messaging-btn {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* FAQ Section */
.subpage-faq {
  padding: 40px 0;
  background-color: var(--bg-light-blue);
  border-top: 1px solid #dadce0;
}

.faq-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 25px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid #dadce0;
  border-radius: 10px;
  padding: 20px;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.faq-answer {
  color: var(--text-grey);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .subpage-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.back-link-top {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  text-transform: uppercase;
  margin-bottom: 40px;
  transition: color 0.3s;
}

.back-link-top:hover {
  color: var(--secondary-purple);
}
