html, body {
  height: 100%;
  margin: 0; padding: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: #222;
  background: #f9f9f9;
}
body::before {
  content: "";
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  background: url("https://images.unsplash.com/photo-1464983953574-0892a716854b?auto=format&fit=crop&w=1500&q=80") center center/cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
  filter: blur(1.3px);
}
.content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  background: none;
  box-shadow: 0 0 32px #fff8;
  padding-bottom: 3rem;
}
.header-transparent {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0 0 22px 22px;
  box-shadow: 0 4px 24px #bdbdbd22;
  padding: 10px 0;
  position: relative;
}
.logo-video-rectangle {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #000;
  overflow: visible;
  mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%),
                      linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-size: 100% 100%;
  -webkit-mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
}
.logo-video-rectangle video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  mask-image: inherit;
  -webkit-mask-image: inherit;
  mask-composite: inherit;
  -webkit-mask-composite: inherit;
  mask-size: inherit;
  -webkit-mask-size: inherit;
  mask-repeat: inherit;
  -webkit-mask-repeat: inherit;
  mask-position: inherit;
  -webkit-mask-position: inherit;
}
.logo-text {
  font-size: 2.2rem;
  font-weight: 700;
  color: #444;
  letter-spacing: 2px;
  text-align: center;
  margin: 1.2rem 0;
  text-shadow: 0 2px 8px #fff9;
}
.nav-3d {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0 30px 0;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 24px 0 rgba(60, 60, 60, 0.13), 0 1.5px 6px #fff;
  border-radius: 18px;
  position: relative;
  perspective: 800px;
  z-index: 10;
  transition: box-shadow 0.3s;
}
.nav-3d ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0.7rem 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-3d a {
  display: block;
  color: #222;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 10px 28px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255,255,255,0.7) 80%, rgba(236,236,236,0.68) 100%);
  box-shadow: 0 2px 8px #bdbdbd22, 0 0.5px 2px #fff;
  text-decoration: none;
  letter-spacing: 1px;
  transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.22s, filter 0.22s;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  z-index: 1;
}
.nav-3d a.active,
.nav-3d a:hover,
.nav-3d a:focus {
  background: linear-gradient(120deg, #232323 80%, #555 100%);
  color: #fff;
  box-shadow: 0 6px 24px #bdbdbd33, 0 2px 8px #fff;
  transform: translateY(-5px) scale(1.07) rotateX(8deg);
  filter: brightness(1.05);
}
.nav-3d a:active {
  background: linear-gradient(120deg, #444 80%, #222 100%);
  color: #fff;
  box-shadow: 0 2px 8px #bdbdbd33, 0 1px 4px #fff;
  transform: translateY(2px) scale(0.97) rotateX(-7deg);
  filter: brightness(0.99);
}
@media (max-width: 700px) {
  .nav-3d ul {
    gap: 0.7rem;
  }
  .nav-3d a {
    font-size: 0.97rem;
    padding: 8px 12px;
  }
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #3498db;
  text-align: center;
  margin: 2.5rem 0 1.5rem 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.stat-section,
.statement-section {
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  border-radius: 18px;
  box-shadow: 0 4px 32px #bdbdbd19;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.65);
}
.stat-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1.1rem;
}
.stat-table th,
.stat-table td {
  border-bottom: 1px solid #ececec;
  padding: 0.7rem 1rem;
  text-align: left;
}
.stat-table th {
  background: rgba(240, 240, 240, 0.7);
  color: #444;
  font-weight: 700;
}
.stat-table tr:last-child td {
  border-bottom: none;
}
.stat-live {
  background: #e8f6e8;
  color: #1a7e1a;
  font-weight: bold;
  border-radius: 8px;
  padding: 0.2rem 0.7rem;
  font-size: 1rem;
  margin-left: 0.5rem;
}
.statement-section strong {
  color: #222;
}
.statement-section ul {
  text-align: left;
  max-width: 600px;
  margin: 1.5rem auto;
  line-height: 1.7;
  padding-left: 1.2rem;
}
.statement-section ul li {
  color: #555;
  font-size: 1.09rem;
  margin-bottom: 0.6rem;
}
.statement-section .highlight {
  font-size: 1.2rem;
  color: #111;
  font-weight: 700;
  display: block;
  margin-top: 1.5rem;
}
.calculator-container {
  display: flex;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 2rem auto;
  flex-wrap: wrap;
  justify-content: center;
}
.calculator {
  flex: 1 1 280px;
  max-width: 300px;
  padding: 1rem;
  border-radius: 14px;
  font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(31, 38, 135, 0.12);
  background: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
}
.calculator h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #222;
}
.calculator-inputs label {
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  cursor: help;
}
.calculator-inputs input,
.calculator-inputs select {
  width: 110px;
  padding: 0.5rem 0.7rem;
  font-size: 0.85rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.calculator-inputs input:focus,
.calculator-inputs select:focus {
  outline: none;
  border-color: #2980b9;
  box-shadow: 0 0 8px rgba(41, 128, 185, 0.7);
}
.calculator button {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  border-radius: 24px;
  background: #232323;
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  margin-top: auto;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  will-change: transform;
}
.calculator button:hover {
  background: linear-gradient(135deg, #232323 70%, #3498db 100%);
  box-shadow: 0 6px 15px rgba(52, 152, 219, 0.25);
  transform: translateY(-2px) scale(1.04);
}
.calculator button:active {
  transform: translateY(1px) scale(0.97);
  box-shadow: 0 2px 6px rgba(52, 152, 219, 0.15);
}
.calculator-results {
  font-size: 0.85rem;
  padding: 0.9rem;
  border-radius: 10px;
  background: #f8f9fa;
  margin-top: 1rem;
  min-height: 70px;
  color: #222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.4s ease;
}
.calculator-results.updated {
  box-shadow: 0 0 12px 3px rgba(41, 128, 185, 0.6);
}
.advanced-calculator {
  max-width: 900px;
  margin: 2rem auto 3rem auto;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  font-size: 0.9rem;
  color: #222;
}
.advanced-calculator h3 {
  text-align: center;
  margin-bottom: 1.2rem;
  font-weight: 700;
  font-size: 1.3rem;
  color: #232323;
}
.advanced-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.advanced-grid .input-group {
  display: flex;
  flex-direction: column;
}
.advanced-grid label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  cursor: help;
  color: #1a3a5d;
}
.advanced-grid input {
  padding: 0.5rem;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  color: #222;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.advanced-grid input:focus {
  border-color: #2980b9;
  box-shadow: 0 0 8px rgba(41, 128, 185, 0.7);
  outline: none;
}
.price-range {
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.2rem;
}
.calculate-btn {
  width: 100%;
  padding: 0.9rem;
  background: linear-gradient(135deg, #232323 0%, #444 100%);
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  font-size: 1rem;
  will-change: transform;
}
.calculate-btn:hover {
  background: linear-gradient(135deg, #444 0%, #666 100%);
  box-shadow: 0 8px 20px rgba(68, 68, 68, 0.5);
  transform: scale(1.05);
}
.calculate-btn:active {
  transform: scale(0.95);
  box-shadow: 0 4px 10px rgba(68, 68, 68, 0.3);
}
#renovationCostResults {
  margin-top: 1.5rem;
  min-height: 130px;
  background: rgba(248, 249, 250, 0.9);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  color: #222;
  transition: box-shadow 0.4s ease;
}
#renovationCostResults.updated {
  box-shadow: 0 0 12px 3px rgba(41, 128, 185, 0.6);
}
.result-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}
.total-cost {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a7e1a;
  margin-top: 1rem;
  text-align: center;
}
#kontakt {
  max-width: 400px;
  margin: 2.5rem auto 2rem auto;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 20px #bdbdbd33;
  text-align: center;
  font-size: 1rem;
  color: #222;
}
#kontakt strong {
  display: block;
  margin-top: 0.8rem;
  font-weight: 700;
}
#kontakt a {
  color: #232323;
  text-decoration: none;
  transition: color 0.25s;
}
#kontakt a:hover {
  color: #3498db;
  text-decoration: underline;
}
@media (max-width: 600px) {
  #kontakt {
    max-width: 95vw;
    padding: 1rem;
  }
  .calculator-container {
    flex-direction: column;
  }
}
/* Table row hover */
.stat-table tbody tr:hover {
  background-color: #d6eaf8;
  transition: background-color 0.3s ease;
}
