/* UROPRAXIS WACH – v5 */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
    --teal:       #00A8A0;
    --teal-dark:  #007B75;
    --teal-light: #e6f7f7;
    --navy:       #0057A8;
    --navy-light: #1a6bbf;
    --grey-bg:    #f5f7f9;
    --grey-border:#dde3ea;
    --text:       #2c3e50;
    --text-light: #6b7a8d;
    --white:      #ffffff;
    --red:        #c0392b;
    --font-main:  'Source Sans 3', sans-serif;
    --font-cond:  'Barlow Condensed', sans-serif;
    --radius:     6px;
    --shadow:     0 2px 12px rgba(0,0,0,0.08);
    --shadow-md:  0 4px 24px rgba(0,0,0,0.12);
    --max-width:  1100px;
    --transition: 200ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }

/* HEADER */
#site-header { background: var(--navy); position: relative; z-index: 1000; }
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 80px; }
#site-logo img { height: 130px; width: auto; border-radius: 16px; margin-bottom: -50px; position: relative; z-index: 10; }

/* NAV DESKTOP */
#main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
#main-nav a { font-family: var(--font-cond); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.85); padding: 8px 11px; border-radius: var(--radius); transition: all var(--transition); display: block; white-space: nowrap; }
#main-nav a:hover, #main-nav a.active { color: var(--white); background: rgba(255,255,255,0.12); }
#main-nav .nav-cta a { background: var(--teal); color: var(--white); }
#main-nav .nav-cta a:hover { background: var(--teal-dark); }
#main-nav .nav-facebook a { display: flex; align-items: center; gap: 5px; font-size: 12px; }

/* DROPDOWN */
#main-nav li { position: relative; }
#main-nav .dropdown { display: none; }
#main-nav li:hover .dropdown { display: block; position: absolute; top: 100%; left: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-md); min-width: 200px; z-index: 100; overflow: hidden; }
#main-nav .dropdown li { display: block; }
#main-nav .dropdown a { color: var(--text); font-size: 13px; padding: 10px 16px; border-radius: 0; border-left: 3px solid transparent; text-transform: none; letter-spacing: 0; }
#main-nav .dropdown a:hover { background: var(--teal-light); border-left-color: var(--teal); color: var(--teal); }

/* HAMBURGER */
#mobile-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,0.6); border-radius: var(--radius); color: var(--white); font-size: 20px; width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; transition: all var(--transition); flex-shrink: 0; }

/* HERO */
.hero { background: #fff; overflow: hidden; }
.hero img { width: 100%; height: auto; display: block; }
.hero-overlay { display: none; }

/* HERO TITEL */
.hero-title { background: var(--navy); padding: 16px 20px; text-align: center; }
.hero-title h1 { font-family: var(--font-cond); font-size: clamp(16px, 2.5vw, 26px); color: var(--white); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 4px; }
.hero-title p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; }

/* LAYOUT */
.page-wrap { max-width: var(--max-width); margin: 0 auto; padding: 40px 20px 60px; }
.page-wrap h1 { font-family: var(--font-cond); font-size: clamp(22px, 3vw, 34px); color: var(--navy); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 3px solid var(--teal); display: inline-block; }
.page-wrap h2 { font-family: var(--font-main); font-size: 17px; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.5px; margin: 28px 0 12px; }
.page-wrap p { margin-bottom: 16px; }
.page-wrap strong { color: var(--navy); }

/* NOTICE BOX */
.notice-box { background: var(--teal-light); border-left: 4px solid var(--teal); border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; font-size: 15px; line-height: 1.7; }
.notice-box p { margin-bottom: 8px; }
.notice-box p:last-child { margin-bottom: 0; }

/* SERVICE CARDS */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 36px 0; }
.service-card { background: var(--white); border: 1px solid var(--grey-border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); text-decoration: none; color: var(--text); display: block; box-shadow: var(--shadow); }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--teal); }
.service-card img { width: 100%; height: 140px; object-fit: cover; }
.service-card-body { padding: 16px; }
.service-card h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--teal); margin-bottom: 6px; }
.service-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; margin: 0; }

/* BTN */
.btn { display: inline-block; background: var(--teal); color: var(--white); font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: var(--radius); text-transform: uppercase; letter-spacing: 0.5px; transition: all var(--transition); }
.btn:hover { background: var(--teal-dark); color: var(--white); }

/* DOWNLOAD CARDS */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0 36px; }
.download-card { display: flex; align-items: flex-start; gap: 16px; background: var(--white); border: 1px solid var(--grey-border); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: all var(--transition); }
.download-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--teal); color: var(--text); }
.download-card-inactive { opacity: 0.6; cursor: default; }
.download-card-inactive:hover { transform: none; box-shadow: var(--shadow); border-color: var(--grey-border); }
.download-icon { font-size: 32px; flex-shrink: 0; }
.download-body h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.download-body p { font-size: 14px; color: var(--text-light); margin: 0 0 10px; line-height: 1.5; }
.download-tag { display: inline-block; background: var(--teal-light); color: var(--teal); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 8px; border-radius: 4px; }
.download-tag-soon { background: var(--grey-bg); color: var(--text-light); }

/* TABELLEN */
.comparison-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.comparison-table th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; font-size: 13px; }
.comparison-table td { padding: 10px 16px; border-bottom: 1px solid var(--grey-border); vertical-align: middle; }
.comparison-table tr:nth-child(even) td { background: var(--grey-bg); }
.comparison-table .yes { color: var(--teal); font-weight: 700; font-size: 18px; }
.comparison-table .no { color: var(--red); font-weight: 700; font-size: 18px; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin: 28px 0; }
.team-card { text-align: center; }
.team-card img { width: 130px; height: 130px; object-fit: cover; border-radius: 50%; margin: 0 auto 12px; border: 3px solid var(--teal-light); object-position: center 20%; }
img[src*="drwach-neu"] { object-position: 60% 30%; }
.team-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--text-light); line-height: 1.4; margin: 0; }

/* CV */
.cv-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.cv-table td { padding: 8px 0; vertical-align: top; border-bottom: 1px solid var(--grey-border); font-size: 15px; }
.cv-table td:first-child { width: 90px; font-weight: 700; color: var(--teal); white-space: nowrap; padding-right: 20px; }

/* GALERIE */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0; }
.gallery-grid a img { width: 100%; height: 140px; object-fit: cover; border-radius: var(--radius); transition: all var(--transition); }
.gallery-grid a:hover img { opacity: 0.85; }

/* SPRECHZEITEN */
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 28px 0; }
.hours-block { background: var(--grey-bg); border-radius: var(--radius); padding: 24px; border-left: 4px solid var(--teal); }
.hours-block h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--teal); font-weight: 700; margin-bottom: 16px; }
.hours-block table { width: 100%; border-collapse: collapse; }
.hours-block td { padding: 6px 0; font-size: 15px; vertical-align: top; border-bottom: 1px solid var(--grey-border); }
.hours-block td:first-child { width: 110px; font-weight: 600; color: var(--navy); }

/* KONTAKT */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 28px 0; }
.kontakt-block { background: var(--grey-bg); border-radius: var(--radius); padding: 24px; }
.kontakt-block h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--teal); font-weight: 700; margin-bottom: 16px; }
.kontakt-block p { font-size: 15px; line-height: 1.8; margin: 0; }

/* LINKS */
.links-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.links-table td { padding: 10px 0; border-bottom: 1px solid var(--grey-border); font-size: 15px; vertical-align: top; }
.links-table td:first-child { width: 45%; font-weight: 600; color: var(--navy); padding-right: 16px; }

/* FOOTER */
#site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 28px 20px; font-size: 13px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
#site-footer a { color: rgba(255,255,255,0.7); }
#site-footer a:hover { color: var(--white); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* TEAM BANNER */
.team-footer-banner { background: var(--navy); padding: 40px 20px; cursor: pointer; text-align: center; transition: background var(--transition); }
.team-footer-banner:hover { background: var(--navy-light); }
.team-footer-banner h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--teal); margin-bottom: 24px; font-weight: 700; }
.team-footer-grid { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; max-width: var(--max-width); margin: 0 auto; }
.team-footer-grid img { width: 110px; height: 110px; object-fit: cover; border-radius: 50%; border: 3px solid rgba(255,255,255,0.2); margin: 0 auto; transition: border-color var(--transition); }
.team-footer-banner:hover .team-footer-grid img { border-color: var(--teal); }
.team-footer-grid figcaption { color: rgba(255,255,255,0.8); font-size: 13px; margin-top: 8px; }

/* LEGAL */
.legal-content h2 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 24px 0 8px; }
.legal-content p, .legal-content li { font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.legal-content ul { padding-left: 20px; }

/* MOBILE max-width: 1024px */
@media (max-width: 1024px) {
    #mobile-toggle { display: flex; }
    #site-header { position: relative; }
    .header-inner { height: 100px; }
    #site-logo img { height: 90px !important; margin-bottom: -35px !important; }
    #main-nav { display: none; position: absolute; top: 100px; left: 0; right: 0; background: var(--navy); z-index: 9999; max-height: 80vh; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
    #main-nav.open { display: block; }
    #main-nav ul { flex-direction: column; gap: 0; }
    #main-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,0.08); }
    #main-nav > ul > li > a { padding: 14px 20px; font-size: 16px; color: rgba(255,255,255,0.9); background: none; }
    #main-nav > ul > li > a:hover { background: rgba(255,255,255,0.08); }
    #main-nav .nav-cta a { background: var(--teal) !important; color: var(--white) !important; }
    #main-nav .dropdown { display: none; position: static; background: rgba(0,0,0,0.25); box-shadow: none; min-width: auto; }
    #main-nav .has-dropdown.submenu-open .dropdown { display: block; }
    #main-nav .dropdown li { border-bottom: 1px solid rgba(255,255,255,0.05); }
    #main-nav .dropdown a { color: rgba(255,255,255,0.65); border-left: 3px solid var(--teal); padding: 10px 20px 10px 28px; font-size: 13px; text-transform: none; letter-spacing: 0; }
    #main-nav .nav-facebook a { color: rgba(255,255,255,0.5) !important; font-size: 13px !important; text-transform: none !important; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .hours-grid { grid-template-columns: 1fr; }
    .kontakt-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .download-grid { grid-template-columns: 1fr; }
    .page-wrap { padding: 24px 16px 40px; }
}

@media (max-width: 600px) {
    .header-inner { height: 70px; }
    #site-logo img { height: 65px !important; margin-bottom: -25px !important; }
    #main-nav { top: 70px; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .team-footer-grid img { width: 80px; height: 80px; }
    .hero-title h1 { font-size: 18px; }
}
