@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --tennis-clay: #d35400; /* Sandplatz-Orange */
    --dark-bg: #1e272e;
    --light-bg: #f5f6fa;
    --text-dark: #2f3640;
    --text-light: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-family: 'Poppins', sans-serif; scroll-behavior: smooth; color: var(--text-dark); background: var(--light-bg); }
body { line-height: 1.6; padding-top: 90px; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; width: 100%; background: var(--dark-bg); padding: 15px 0; z-index: 1000; border-bottom: 3px solid var(--tennis-clay); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { color: var(--text-light); font-size: 20px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.logo span { color: var(--tennis-clay); }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin-left: 20px; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 600; font-size: 15px; transition: color 0.3s; }
.nav-links a:hover { color: var(--tennis-clay); }

/* HERO */
.hero { height: 40vh; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover; display: flex; justify-content: center; align-items: center; text-align: center; color: var(--text-light); }
.hero-content h1 { font-size: 38px; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 1px; }
.hero-content p { font-size: 18px; color: #dcdde1; }

/* SECTIONS & CONTENT */
.section { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.card { background: white; padding: 35px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 30px; }
h2 { font-size: 26px; margin-bottom: 20px; color: var(--dark-bg); border-left: 5px solid var(--tennis-clay); padding-left: 15px; text-transform: uppercase; }
h3 { font-size: 20px; margin: 20px 0 10px 0; color: var(--tennis-clay); }
p { margin-bottom: 15px; text-align: justify; }
ul { margin-bottom: 20px; padding-left: 20px; }
li { margin-bottom: 8px; }

/* TERMINLISTE & FORMEDITORS */
.timeline { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.timeline-item { background: var(--light-bg); padding: 15px 20px; border-radius: 6px; border-left: 4px solid var(--tennis-clay); display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.timeline-date { font-weight: 700; color: var(--tennis-clay); min-width: 110px; }
.timeline-content { flex-grow: 1; }
.timeline-org { font-size: 13px; color: #7f8c8d; font-style: italic; text-align: right; min-width: 140px; }

/* MODERNE FORMULAREINGABEN */
.form-section { border-top: 1px solid #ddd; padding-top: 20px; margin-top: 25px; }
.form-section h3 { margin-bottom: 15px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-bottom: 15px; }
.form-group { display: flex; flex-direction: column; }
.form-group label { font-size: 14px; font-weight: 600; margin-bottom: 5px; color: var(--dark-bg); }
.form-group input { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: inherit; font-size: 15px; }
.form-group input:focus { border-color: var(--tennis-clay); outline: none; box-shadow: 0 0 5px rgba(211, 84, 0, 0.2); }


/* HIGHLIGHT BOX */
.highlight-box { background: #fff8f5; border-left: 4px solid var(--tennis-clay); padding: 20px; margin: 20px 0; border-radius: 0 8px 8px 0; }

/* VORSTAND GRID */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 20px; }
.member-card { background: var(--dark-bg); color: white; padding: 25px; border-radius: 8px; text-align: center; border-top: 4px solid var(--tennis-clay); }
.member-card h4 { font-size: 20px; color: var(--text-light); margin-bottom: 5px; }
.member-card .role { font-weight: 600; color: var(--tennis-clay); margin-bottom: 10px; text-transform: uppercase; font-size: 14px; }
.member-card p { text-align: center; font-size: 14px; margin-bottom: 5px; color: #dcdde1; }

/* FOOTER */
.footer { background: var(--dark-bg); color: var(--text-light); text-align: center; padding: 25px; margin-top: 40px; font-size: 14px; }
.footer a { color: var(--tennis-clay); text-decoration: none; margin: 0 10px; }

/* ZUSÄTZLICHE LAYOUTS FÜR VORSTAND, SPONSOREN & SATZUNG */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 30px 0; text-align: center; }
.sponsor-card { background: var(--light-bg); padding: 20px; border-radius: 8px; font-weight: 600; display: flex; align-items: center; justify-content: center; min-height: 100px; border: 1px solid #ddd; }

.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.price-table th, .price-table td { padding: 12px 15px; border-bottom: 1px solid #ddd; text-align: left; }
.price-table th { background: var(--dark-bg); color: white; }
.price-table tr:hover { background: #fff8f5; }

.stat-box { background: var(--dark-bg); color: white; padding: 20px; border-radius: 8px; text-align: center; margin-bottom: 20px; }
.stat-number { font-size: 32px; font-weight: 700; color: var(--tennis-clay); }

.satzung-ordnung { max-height: 500px; overflow-y: scroll; border: 1px solid #ddd; padding: 20px; background: #fafafa; border-radius: 8px; margin-top: 20px; }
.satzung-section { margin-bottom: 25px; }
.satzung-section h4 { color: var(--dark-bg); margin-bottom: 8px; border-bottom: 2px solid var(--tennis-clay); display: inline-block; }

.alert-notice { background: #fff3cd; border-left: 4px solid #ffc107; padding: 15px; margin: 20px 0; border-radius: 4px; font-size: 14px; }
