/* ===== ANIK GEBÄUDEMANAGEMENT – SHARED STYLES ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --header-bg: #222222;
  --teal: #2a9db5;
  --teal-dark: #1e7d92;
  --hero-from: #5bb8d0;
  --hero-to: #87d0e0;
  --light-bg: #f5f5f5;
  --text: #1a1a1a;
  --text-light: #555;
  --white: #ffffff;
  --border: #dde2ea;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

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

/* ===== HEADER / NAV ===== */
header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  overflow: visible;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.logo {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 1rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

nav a {
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

nav a:hover {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,0.5);
}

nav a.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--hero-from) 0%, var(--hero-to) 100%);
  color: var(--text);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.25;
  color: var(--text);
}

.page-hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  color: rgba(0,0,0,0.75);
}

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 1.5rem;
}

.section.bg-light {
  background: var(--light-bg);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--teal);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.section-subtitle {
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.accent-line {
  width: 50px;
  height: 4px;
  background: var(--teal);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 4px solid var(--teal);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.05rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.card p, .card ul {
  color: var(--text-light);
  font-size: 0.95rem;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card ul li {
  padding: 0.2rem 0;
}

.card ul li::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 700;
}

/* ===== INFO BOX ===== */
.info-box {
  background: var(--header-bg);
  color: var(--white);
  border-radius: 10px;
  padding: 3rem 2.5rem;
  margin-top: 2rem;
}

.info-box h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.info-box p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 750px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
  letter-spacing: 0.3px;
}

.btn:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

/* ===== CONTACT FORM ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.contact-form h2 {
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-group label .req {
  color: var(--teal);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--text);
  background: #fafbfc;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42, 157, 181, 0.15);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.honeypot {
  display: none;
}

.contact-info {
  padding: 1rem 0;
}

.contact-info h2 {
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item-icon {
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item-text strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.info-item-text span {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== EMERGENCY BANNER ===== */
.emergency-banner {
  background: #c0392b;
  color: var(--white);
  text-align: center;
  padding: 0.9rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
}

.emergency-banner a {
  color: #ffe0a0;
  text-decoration: underline;
}

/* ===== FOOTER ===== */
footer {
  background: var(--header-bg);
  color: rgba(255,255,255,0.65);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--teal);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}

/* ===== BOOKING BUTTON (FLOATING) ===== */
.booking-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #10b981;
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.booking-float:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

@media (max-width: 480px) {
  .booking-float {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1.2rem;
    font-size: 0.88rem;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .nav-toggle {
    display: flex;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    padding: 0.75rem;
    gap: 0.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 200;
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 0.75rem 1rem;
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: 0.85rem;
  }

  nav a.active {
    border-left-color: var(--teal);
    border-bottom-color: transparent;
  }

  .header-inner {
    position: relative;
  }
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
