body {
	margin: 0;
	padding: 0;
	color: #660000;
	background-color: #fff;
	font-family: Arial, Helvetica, sans-serif;
}
nav {
    width: 650px;
    max-width: calc(100% - 24px);
    margin: 20px auto 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: inline-block;
}
nav li {
	display: inline;
	margin: 0 15px;
}
nav a {
	color: #660000;
	text-decoration: none;
    font-size: 1.05em;
	transition: color 0.2s;
}
nav a.active {
  font-weight: bold;
  color: #660000;
  text-decoration: underline;
}
nav a.active:visited {
  font-weight: bold;
  color: #660000;
  text-decoration: underline;
}
nav a:visited {
	color: #999999;
}
nav a:hover, nav a:active {
	color: #666666;
}
.container {
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}
hr {
	width: 650px;
	border: 0;
	border-top: 3px solid #660000;
	margin: 30px auto;
}
.dog-img, .pedigree-img {
	max-width: 100%;
	height: auto;
	margin: 20px 0;
}
.desc {
	margin: 30px 0;
	font-size: 1.1em;
	line-height: 1.5;
}
.external-link {
	display: inline-block;
	margin: 20px 0;
	color: #660000;
	text-decoration: underline;
	font-weight: bold;
}
.info {
    text-align: center;
}
.img-row {
    text-align: center;
}
.klein-png {
    --img-width: 400px;
    max-width: var(--img-width);
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Formular Styling */
form {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

fieldset {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 25px;
    background-color: #fafafa;
}

legend {
    font-weight: bold;
    color: #660000;
    font-size: 1.2em;
    padding: 0 10px;
}

label {
    display: block;
    width: 100%;
    clear: both;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    display: block;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #660000;
}

select {
    background-color: white;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #660000;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

button[type="submit"] {
    display: block;
    width: 100%;
    background-color: #660000;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #880000;
}

button[type="submit"]:active {
    background-color: #440000;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin-top: 4px;
    flex-shrink: 0;
}

.checkbox-label a {
    color: #660000;
    text-decoration: underline;
}

/* Intro Text */
.intro-text {
    background-color: #f9f9f9;
    border-left: 4px solid #660000;
    padding: 20px 25px;
    margin: 30px auto;
    max-width: 600px;
    line-height: 1.6;
    text-align: left;
}

.intro-text p {
    margin: 0 0 15px 0;
    color: #333;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* Wurfinfo Grid Layout */
.wurfinfo-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px auto;
    max-width: 600px;
}

.wurfinfo-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.wurfinfo-card:hover {
    transform: translateY(-5px);
}

.wurfinfo-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.wurfinfo-card:hover .wurfinfo-img {
    box-shadow: 0 4px 16px rgba(102,0,0,0.2);
}

.wurfinfo-title {
    margin-top: 18px;
}

.wurfinfo-title a {
    font-weight: bold;
    font-size: 1.2em;
    color: #660000;
    text-decoration: none;
    transition: color 0.2s;
}

.wurfinfo-title a:hover {
    color: #880000;
    text-decoration: underline;
}

/* Mobile Optimierung - Desktop-Ansicht beibehalten */
@media screen and (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%;
    }
    
    .container {
        max-width: 600px;
        padding: 0 10px;
    }
    
    nav a {
        font-size: 0.9em;
        margin: 0 10px;
    }
    
    hr {
        width: 90%;
    }
    
    .intro-text {
        padding: 15px 20px;
        margin: 20px auto;
    }
    
    form {
        max-width: 600px;
    }
    
    /* Sicherstellen dass Labels und Inputs untereinander sind */
    label {
        display: block !important;
        width: 100% !important;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        font-size: 16px;
    }
    
    button[type="submit"] {
        display: block !important;
        width: 100% !important;
    }
    
    .wurfinfo-grid {
        max-width: 500px;
        margin: 40px auto;
    }
    
    .wurfinfo-img {
        height: 350px;
    }
}